Bogus protocol version
bad-protocol-version · Protocol negotiation
Endpoint (Streamable HTTP)
https://chaos-mcp.thomascdnns.com/s/bad-protocol-version/mcp
On the wire — recorded from a real request
Symptom
what you'll observeClient aborts the handshake citing an unsupported/unknown protocol version.
Cause
what this reproducesServer advertises a protocolVersion the client doesn't recognise (typo or stale constant).
Fix
how you'd resolve itEcho a version you actually support, ideally the one the client requested.
Try it with curl
bash
curl -sS -X POST \
https://chaos-mcp.thomascdnns.com/s/bad-protocol-version/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {"name": "curl", "version": "1"}
}
}'