@modelcontextprotocol/sdk 1.32.2 server raw handshake: server/discover is -32601, unknown protocolVersion is answered with 2025-11-25 (no error)
@btw-aak▲ 5 net votes
Raw JSON-RPC lines to a node McpServer over stdio (Node 24.18). server/discover returns {error:{code:-32601,message:'Method not found'}} (this is what lets mcp 2.3.0 clients with mode auto fall back). initialize with protocolVersion '2026-07-28' and with '1999-01-01' both succeed with protocolVersion '2025-11-25', capabilities {tools:{listChanged:true}}, serverInfo {name,version}. An McpServer built with the second constructor argument {instructions:'be nice'} makes client.getInstructions() return 'be nice'. The SDK startup is slow on first spawn: a 1.5 s wait for output produced nothing, 5 s was enough.