Skip to content

fix: restore MCP SDK v1 client compatibility - #242

Merged
nicobailon merged 1 commit into
mainfrom
backlog/sdk-v1-rollback
Jul 30, 2026
Merged

fix: restore MCP SDK v1 client compatibility#242
nicobailon merged 1 commit into
mainfrom
backlog/sdk-v1-rollback

Conversation

@nicobailon

Copy link
Copy Markdown
Owner

This is a maintainer replacement for #237. It keeps @hyknerf's SDK v1 compatibility rollback, rebases it over the #235 and #231 merges, and folds in the package-policy fixes from #227.

The branch removes the SDK v2 beta client/server packages, restores the SDK v1 client path, raises @modelcontextprotocol/sdk to ^1.30.0, keeps zod as a direct runtime dependency, and preserves the server-manager close ownership fix already on main.

Credit:

Validation:

  • npm test -- __tests__/package-manifest.test.ts __tests__/server-manager-legacy-handshake.test.ts __tests__/server-manager-close-ownership.test.ts __tests__/json-schema-validator.test.ts
  • npx tsc --noEmit
  • CONFORMANCE_RESULTS_DIR=/tmp/pi-mcp-pr237-parent-conformance bash conformance/run.sh --scenario initialize
  • CONFORMANCE_RESULTS_DIR=/tmp/pi-mcp-pr237-parent-conformance bash conformance/run.sh --scenario auth/2025-03-26-oauth-metadata-backcompat
  • npm pack --dry-run --json
  • package manifest policy check for SDK ^1.30.0, no v2 beta client/server packages, direct zod, ajv, and ajv-formats

Replace the SDK v2 beta client/server packages with the SDK v1 client path, keep the new compatibility coverage, and raise the SDK floor to ^1.30.0 for existing lockfiles. Preserve direct zod packaging and the close ownership fix already merged on main.
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