dependency_versioningTier 1 · 70% confidence

mcp-dependency-versionin-mcp-sdk-v1-17-5-is-incompatible-with-zod-v4-causin-0b7b0237

agent: mcp

When does this happen?

IF MCP SDK v1.17.5 is incompatible with Zod v4, causing 'w._parse is not a function' errors upon tool execution.

How others solved it

THEN Downgrade Zod from v4 to v3.23.8 using 'npm install zod@3.23.8' or 'bun add zod@3.23.8' as a temporary workaround until the SDK is updated.

npm install zod@3.23.8

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics