返回 CodeWhale
http_protocol_version_unsupported.case.json
根目录 / crates / tui / tests / fixtures / conformance / mcp / http_protocol_version_unsupported.case.json
1 {
2 "description": "A server that answers initialize with a protocol revision the client does not implement. Pins Rust McpConnection::initialize against MCP_CLIENT_ACCEPTED_PROTOCOL_VERSIONS: the handshake ends with the supported list in the error, nothing is advertised, only initialize reaches the server, and a later call to one of the server's tools gets the same refusal (the pool reconnects lazily at call time) instead of an unknown-tool error.",
3 "server_name": "conformance",
4 "expect_boot": "error",
5 "record_requests": "summary",
6 "server": {
7 "initialize": {
8 "result": {
9 "protocolVersion": "1999-12-31",
10 "serverInfo": {
11 "name": "from-the-future",
12 "version": "9.9.9"
13 },
14 "capabilities": {
15 "tools": {}
16 }
17 }
18 }
19 },
20 "steps": [
21 {
22 "op": "catalog"
23 },
24 {
25 "op": "call",
26 "tool": "mcp_conformance_echo",
27 "input": {}
28 }
29 ]
30 }
31
31 lines JSON