Protocol conformance
The 17 protocol checks Shipyard runs against a remote MCP server, what each one tests, and the spec section it comes from.
Scan runs 17 protocol checks against the live server, in addition to the rules on tool metadata. Each result has the id conformance.<name> and links to the part of the MCP specification it comes from. These checks cover the 2025-06-18 and 2025-11-25 era. For servers on 2026-07-28 see protocol versions.
Safe by design: the checks send protocol messages only. They call a real tool only if you mark it safe. Two calls cannot invoke any tool: an unknown tool name and a call with no parameters. If the server needs credentials, the checks that need them report skip and say so. Pass a header in the CLI to run them.
We wrote our own checks because the reference conformance package does not accept request headers and its tool scenarios call fixture tools that real servers do not have.
| Id | What it tests | Severity if wrong | Spec |
|---|---|---|---|
initialize | Result has protocolVersion, capabilities, serverInfo.name and version, and echoes the request id | major (blocker if the call fails) | Lifecycle |
notification-accepted | A notification gets HTTP 202 with no body | minor | Streamable HTTP |
version-negotiation | A request for version 1999-01-01 is answered with a supported version or rejected, not echoed back | major | Version negotiation |
ping | ping returns an empty result with the right id | major | Ping |
unknown-method | An unknown method returns -32601 | major | JSON-RPC |
tools-list | tools/list pages terminate, names are unique, every inputSchema has type object, and the tools capability is declared | major | Tools |
tools-list-pagination | An invalid cursor returns -32602 | minor (warning) | Pagination |
unknown-tool | Calling a tool that does not exist returns -32602 | minor (warning) | Tools |
invalid-params | tools/call with no name returns -32602 | minor | JSON-RPC |
tools-call-safe | A tool you marked safe returns a result with a content array | major | Tools |
cancellation | Cancelling an unknown request is ignored and the server stays healthy | minor | Cancellation |
batch-rejected | A JSON-RPC batch array is rejected (batching was removed in 2025-06-18) | minor (warning) | Streamable HTTP |
parse-error | Malformed JSON is rejected with HTTP 4xx | minor (warning) | JSON-RPC |
protocol-version-header | An invalid MCP-Protocol-Version header returns HTTP 400 | minor (warning) | Streamable HTTP |
session-required | If a session id was issued, a request without it returns 400 | minor (warning) | Session management |
session-unknown | An unknown session id returns 404 | minor (warning) | Session management |
get-stream | A GET with Accept: text/event-stream returns an SSE stream or 405 | minor | Streamable HTTP |
Session checks run only when your server issues a session id. Stateless servers skip them. Pagination, unknown-tool and invalid-params skip when the server has no tools capability. Results that are all skip stay out of the report.
Each failing check carries a one-line fix, for example "Return HTTP 202 with an empty body for JSON-RPC notifications." See the scan report explained for the finding fields.