Skip to content

Keep MCP tool discovery working across Zod dependency upgrades #436

Description

@imshashank

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: mcpThe MCP server, its tools and its OAuthdependenciesDependency updatesp2 mediumWorth doing, not urgentpoints: 3Fibonacci estimate: 3size: mediumA day or two. One surface, no new model

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions