Skip to content

fix(mcp): restore compatibility with latest sdk and zod#37

Open
hamb3r wants to merge 1 commit intotufantunc:mainfrom
hamb3r:fix/mcp-sdk-zod-compat
Open

fix(mcp): restore compatibility with latest sdk and zod#37
hamb3r wants to merge 1 commit intotufantunc:mainfrom
hamb3r:fix/mcp-sdk-zod-compat

Conversation

@hamb3r
Copy link
Copy Markdown

@hamb3r hamb3r commented Mar 6, 2026

Summary

  • update dependency ranges and lockfile to current MCP SDK, Zod, TypeScript, and Vitest releases
  • migrate tool registration to the current MCP SDK API so install and build keep working after the SDK upgrade
  • keep runtime schema compatibility by using the zod/v3 layer in app code and the regression test

Validation

  • npm run build
  • npx vitest --run test/zod.compat.test.ts
  • full npm test still requires a live SSH integration server

Update the server to the current MCP SDK tool API and keep schema compatibility via the zod v3 layer so dependency upgrades do not break install and build.
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.

1 participant