We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Inspector initialize with Streamable HTTP Transport uses old protocol version.
initialize
{ jsonrpc: "2.0", id: 0, method: "initialize", params: { protocolVersion: "2024-11-05", capabilities: { sampling: [Object ...], roots: [Object ...], }, clientInfo: { name: "mcp-inspector", version: "0.11.0", }, }, }
For comparison here is an example client initialize using sdk.
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"; const transport = new StreamableHTTPClientTransport(new URL("http://127.0.0.1:3000/mcp")); const client = new Client( { name: "example-client", version: "1.0.0", } ); await client.connect(transport);
{ method: "initialize", params: { protocolVersion: "2025-03-26", capabilities: {}, clientInfo: { name: "example-client", version: "1.0.0", }, }, jsonrpc: "2.0", id: 0, }
The text was updated successfully, but these errors were encountered:
This happens because of outdated sdk package.
"dependencies": { "@modelcontextprotocol/sdk": "=1.10.2" }
On 1.11.0 works as expected.
1.11.0
Sorry, something went wrong.
@cliffhall @olaservo Raised PR
This was fixed in the latest protocol release, and we will be updating that in the inspector this week.
Successfully merging a pull request may close this issue.
Inspector
initialize
with Streamable HTTP Transport uses old protocol version.For comparison here is an example client
initialize
using sdk.The text was updated successfully, but these errors were encountered: