-
Couldn't load subscription status.
- Fork 2.3k
fix: update MCP SDK to v1.20.0 for 2025-06-18 protocol support #8684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…ol support Updates the MCP SDK from version 1.12.0 to 1.20.0 to add support for protocol version 2025-06-18. This resolves the "Server protocol version is not supported" error when connecting to MCP servers using the newer protocol. Fixes #8683
… v1.20.0 The SDK v1.20.0 has a different response type structure. Added type casting to maintain backward compatibility with the existing McpToolCallResponse type.
Code Review Summary✅ Review Complete - No Issues Found I've thoroughly reviewed this pull request and found no issues that require changes. Changes Reviewed
Validation
The changes are minimal, focused, and achieve the stated goal of adding support for MCP servers using protocol version 2025-06-18. Recommendation: ✅ Approve |
|
Maybe this is the MCP server issue, investigating |
|
It appears that the issue is due to the mcp server only supporting non-streaming responses. So this PR should be good
|



Summary
This PR updates the
@modelcontextprotocol/sdkdependency from version 1.12.0 to 1.20.0 to add support for MCP servers using protocol version "2025-06-18".Problem
As reported in #8683, Roo was unable to connect to MCP servers implementing the 2025-06-18 protocol version, showing the error:
This was because the SDK version 1.12.0 only supported protocol versions up to 2025-03-26. Support for 2025-06-18 was added in SDK version 1.13.0.
Solution
@modelcontextprotocol/sdkfrom 1.12.0 to 1.20.0 insrc/package.jsonMcpHub.tsto maintain backward compatibility with the existingMcpToolCallResponsetype structureChanges
CallToolResultSchemacompatibilityTesting
McpHub.spec.ts,useMcpToolTool.spec.ts)Impact
This is a non-breaking change that extends MCP server compatibility to include servers using the 2025-06-18 protocol version.
Fixes #8683
Important
Update MCP SDK to v1.20.0 for 2025-06-18 protocol support and add type casting for backward compatibility.
@modelcontextprotocol/sdkfrom 1.12.0 to 1.20.0 inpackage.jsonfor 2025-06-18 protocol support.CallToolResultSchemainMcpHub.tsto maintain backward compatibility withMcpToolCallResponse.McpHub.spec.ts,useMcpToolTool.spec.ts).This description was created by
for 0b9fc4c. You can customize this summary. It will automatically update as commits are pushed.