Skip to content

fix: pin zod to ^3.23.8 to prevent Zod 4.x installation#32

Open
truthanb wants to merge 1 commit intoVantaInc:mainfrom
truthanb:fix/pin-zod-to-v3
Open

fix: pin zod to ^3.23.8 to prevent Zod 4.x installation#32
truthanb wants to merge 1 commit intoVantaInc:mainfrom
truthanb:fix/pin-zod-to-v3

Conversation

@truthanb
Copy link

Zod 4.x introduces breaking API changes that cause tool calls to fail with: 'keyValidator._parse is not a function'

This pins zod and zod-to-json-schema to versions compatible with @modelcontextprotocol/sdk's expectations.

Tested

Server starts successfully
Tool calls return data (no more keyValidator error)

Zod 4.x introduces breaking API changes that cause tool calls to fail with:
'keyValidator._parse is not a function'

This pins zod and zod-to-json-schema to versions compatible with
@modelcontextprotocol/sdk's expectations.
@jayzes
Copy link

jayzes commented Dec 1, 2025

Running into the same issue - would be great to get this merged/released!

@truthanb
Copy link
Author

If you all would like, I could probably do a more comprehensive fix and update your mcp version?

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