MCP Shipyard
Docs menu
Docs

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.

IdWhat it testsSeverity if wrongSpec
initializeResult has protocolVersion, capabilities, serverInfo.name and version, and echoes the request idmajor (blocker if the call fails)Lifecycle
notification-acceptedA notification gets HTTP 202 with no bodyminorStreamable HTTP
version-negotiationA request for version 1999-01-01 is answered with a supported version or rejected, not echoed backmajorVersion negotiation
pingping returns an empty result with the right idmajorPing
unknown-methodAn unknown method returns -32601majorJSON-RPC
tools-listtools/list pages terminate, names are unique, every inputSchema has type object, and the tools capability is declaredmajorTools
tools-list-paginationAn invalid cursor returns -32602minor (warning)Pagination
unknown-toolCalling a tool that does not exist returns -32602minor (warning)Tools
invalid-paramstools/call with no name returns -32602minorJSON-RPC
tools-call-safeA tool you marked safe returns a result with a content arraymajorTools
cancellationCancelling an unknown request is ignored and the server stays healthyminorCancellation
batch-rejectedA JSON-RPC batch array is rejected (batching was removed in 2025-06-18)minor (warning)Streamable HTTP
parse-errorMalformed JSON is rejected with HTTP 4xxminor (warning)JSON-RPC
protocol-version-headerAn invalid MCP-Protocol-Version header returns HTTP 400minor (warning)Streamable HTTP
session-requiredIf a session id was issued, a request without it returns 400minor (warning)Session management
session-unknownAn unknown session id returns 404minor (warning)Session management
get-streamA GET with Accept: text/event-stream returns an SSE stream or 405minorStreamable 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.