| Observation | Boundary | Next evidence |
|---|---|---|
| No usable response | Transport outcome uncertain | Connection diagnostics and application commit evidence |
| HTTP 404 without an MCP body | Endpoint or intermediary | Destination and routing logs |
HTTP 404, -32601 | Unknown protocol method | Server-supported methods |
HTTP 400, -32020 | Missing/malformed/mismatched mirror | Exact header/body comparison |
HTTP 400, -32022 | Unsupported version | error.data.supported and client support |
-32700 | JSON parse failure | Original bytes with sensitive values removed |
-32600 | Invalid request envelope | Object shape, method, and ID |
-32602 | Invalid parameters | Method/tool contract |
result.isError: true | Tool execution failure | Tool result and application evidence |
Synthetic examples, not captured incidents:
{"jsonrpc":"2.0","id":"diagnostic-a","error":{"code":-32020,"message":"Header mismatch: Mcp-Name"}}
{"jsonrpc":"2.0","id":"diagnostic-b","result":{"resultType":"complete","isError":true,"content":[{"type":"text","text":"The requested document is unavailable."}]}}
Do not infer a committed write from a status code or infer no write from a timeout.
Sources: Envelope and errors, tool errors, checked 2026-09-09.
Lesson 1.3 · Diagnose a rejected call without guessing at the server
The sheet is the diagnosis. The course is the fix.
Lab 1 throws valid and malformed messages at a real server and checks each error code against the spec, so the table above is something you watch happen. Every lab runs on your machine with Docker Compose, and each one ships tests that break the code on purpose so you see them catch it.
Free · four printable pages
The 2026-07-28 migration cheatsheet
Every breaking change next to what replaces it, the error codes and the deprecation clock. We'll email it to you.
More free sheets#
- Your MCP server fails on one replica. Start with the request. Lesson 1.1
- One MCP request, field by field. Lesson 1.2
- Your MCP tool timed out. Did the write happen? Lesson 2.1
- The tool answered. The approval never came. Lesson 3.1
- Health check green, MCP tool still failing. Lesson 8.1
- What MCP 2026-07-28 breaks, and what's only deprecated. Lesson 9.1