WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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!

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