The investigation below traced ctx.deferred.push to two incompatible Zod copies, not an MCP SDK upgrade. Main already pins @modelcontextprotocol/sdk to 1.30.0 and uses Zod 4.4.3; the newer dependency group in #483 still needs a compatible resolution. Earlier groups #432, #434 and #437 are closed, so track the current upgrade here.
Before closing, make the application schemas and SDK JSON Schema conversion use compatible Zod copies, cover a real listTools call with the z.record schemas, and add a dependency check that catches this mismatch. Verify a clean frozen install and the MCP discovery suite. Keep unrelated Better Auth and editor migration failures on #483 separate from this issue.
The root-cause reproduction and the override tradeoff are preserved in the existing comment.
The investigation below traced
ctx.deferred.pushto two incompatible Zod copies, not an MCP SDK upgrade. Main already pins@modelcontextprotocol/sdkto 1.30.0 and uses Zod 4.4.3; the newer dependency group in #483 still needs a compatible resolution. Earlier groups #432, #434 and #437 are closed, so track the current upgrade here.Before closing, make the application schemas and SDK JSON Schema conversion use compatible Zod copies, cover a real
listToolscall with thez.recordschemas, and add a dependency check that catches this mismatch. Verify a clean frozen install and the MCP discovery suite. Keep unrelated Better Auth and editor migration failures on #483 separate from this issue.The root-cause reproduction and the override tradeoff are preserved in the existing comment.