Upgrade MCP SDK to 1.29#35
Open
itz4blitz wants to merge 1 commit into
Open
Conversation
itz4blitz
marked this pull request as ready for review
July 12, 2026 15:14
itz4blitz
force-pushed
the
justin/mcp-sdk-upgrade
branch
from
July 12, 2026 15:24
e9944b4 to
df9ddda
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades
@modelcontextprotocol/sdkfrom^1.6.0to^1.29.0and hardens the MCP smoke test with wire-contract assertions so future SDK bumps are verified against the actual protocol surface.Changes
package.json/package-lock.json:@modelcontextprotocol/sdk^1.6.0→^1.29.0. No other dependency or version changes.scripts/mcp-smoke-test.mjs: new wire-contract assertions on top of the existing tool/resource/prompt checks:name: "linear"with a semver version, and declare thetools,resources, andpromptscapabilities.linear_getServerStatuscall (no Linear I/O required) must return acontentarray oftextitems withisError: false, and its JSON payload must report the advertised tool count and a semver version.linear_getServerStatuswith an unknown argument must returnisError: truewith a text content item (Unknown argument(s) for ...), not a protocol-level error.isError: truewithUnknown tool: ..., not a protocol-level error.Breaking changes handled
None required. The server compiles and runs against SDK 1.29 without source changes — the
Server,StdioServerTransport, request-schema handler registration, and client APIs used here are all compatible across 1.6 → 1.29.Verification
All checks run against SDK 1.29 on this branch:
npx jest: 25 suites, 172 tests passednpm run build(tsc): cleannpm run test:mcp-smoke: passed — 185 tools, 6 resources, 4 prompts, plus all new wire-contract assertionsnpm pack --dry-run: cleangit diff --check: cleanThe new smoke-test assertions were also validated against the old SDK (1.6) before the upgrade to confirm they encode existing behavior rather than 1.29-specific behavior.