Skip to content

Conversation

XiongLiding
Copy link
Contributor

Explicitly specify the version as zod@3

Motivation and Context

the current latest version is 4, which causes parameters in the tool to be unrecognizable.

How Has This Been Tested?

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Explicitly specify the version as zod@3; the current latest version is 4, which causes parameters in the tool to be unrecognizable.
@XiongLiding XiongLiding requested a review from a team as a code owner August 19, 2025 05:49
@XiongLiding XiongLiding requested a review from dsp-ant August 19, 2025 05:49
Copy link
Member

@jonathanhefner jonathanhefner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! 🙌 Would you mind also changing the reference on line 427:

npm install @modelcontextprotocol/sdk zod

Thank you!

Explicitly specify the version as zod@3; the current latest version is 4, which causes parameters in the tool to be unrecognizable.
@jonathanhefner jonathanhefner enabled auto-merge (squash) August 23, 2025 19:41
@jonathanhefner jonathanhefner merged commit caf3424 into modelcontextprotocol:main Aug 23, 2025
2 checks passed
@jonathanhefner
Copy link
Member

Thank you, @XiongLiding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants