Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4tJPXfq5UyiLSFr49
7 lines
615 B
Plaintext
7 lines
615 B
Plaintext
# What each SDK client says when it meets a server of the other generation
|
|
2025-era client -> modern server: java.lang.RuntimeException
|
|
RuntimeException: Client failed to initialize by explicit API call
|
|
McpTransportException: Bad Request. Status code:400, response body: {"jsonrpc":"2.0","id":"<id>","error":{"code":-32020,"message":"Missing required header: Mcp-Method"}}
|
|
modern client -> 2025-era server: io.modelcontextprotocol.modern.client.transport.McpHttpStatusException
|
|
HTTP 400 from http://localhost:<port>/mcp: {"jsonRpcError":{"code":-32601,"message":"Session ID missing"}... (stack trace omitted)
|