Skip to content

Commit 539d298

Browse files
authored
Revert MCP SDK upgrade to fix protocol version mismatch (#760)
## Summary Reverts #759 to restore MCP server functionality. ## Problem The MCP SDK upgrade caused a **protocol version mismatch**: - Claude Code sends: `MCP-Protocol-Version: 2025-11-25` - Our server (via `agents@0.2.23`) only supports: `2025-03-26, 2025-06-18` The SDK upgrade alone doesn't help because protocol version support comes from the `agents` package, not the MCP SDK. ## Root Cause Supporting protocol `2025-11-25` requires: - `agents@0.3.5+` (uses MCP SDK 1.25.2 with the newer protocol) - `ai@6.x` (required by agents 0.3.x) - This is a significant migration with breaking changes ## Next Steps - AI SDK 6 migration tracked separately in #756 - This revert restores service for users on older Claude Code versions Fixes #756 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 486becd commit 539d298

2 files changed

Lines changed: 17 additions & 44 deletions

File tree

‎pnpm-lock.yaml‎

Lines changed: 16 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ catalog:
1010
"@cloudflare/vitest-pool-workers": ^0.8.47
1111
"@cloudflare/workers-oauth-provider": ^0.0.12
1212
"@cloudflare/workers-types": ^4.20251014.0
13-
"@modelcontextprotocol/sdk": ^1.25.3
13+
"@modelcontextprotocol/sdk": ^1.21.0
1414
"@radix-ui/react-accordion": ^1.2.11
1515
"@radix-ui/react-slot": ^1.2.3
1616
"@sentry/cloudflare": 10.35.0

0 commit comments

Comments
 (0)