icm icon indicating copy to clipboard operation
icm copied to clipboard

MCP spec conformance: 1 requirement(s) violated (via @hasmcp/mcp-spec-test) — spec 2025-11-25

Open hasmcp-dev opened this issue 3 months ago • 1 comments

Running the @hasmcp/mcp-spec-test MCP conformance suite against icm serve (testing spec revision 2025-11-25, the older of the two revisions this server advertises) found 1 requirement violation: when a client's handshake offers protocol version 2025-11-25 — a version this server itself claims to support — the server responds with 2024-11-05 instead, outside its own advertised supported window. Everything else in this revision's test set passes, including the official-SDK handshake and tools/list. This is filed separately from the 2026-07-28 conformance report (which has additional, unrelated failures around a missing server/discover method) since the two revisions' results differ materially.

Conformance report

MCP 2025-11-25 conformance report

Verdict: not conformant — 1 requirement violated.

Target sh -c 'curl -fsSL https://raw.githubusercontent.com/rtk-ai/icm/main/install.sh | sh \> /dev/null 2\>&1 && /root/.local/bin/icm serve'
Transport stdio
Revision tested 2025-11-25
Revisions supported 2026-07-28, 2025-11-25
Passed 6
Failed 1
Not verified 13
Cases applied 20
Duration 43075ms
Generated 2026-08-24T09:37:15.228Z
Tool @hasmcp/mcp-spec-test 0.1.1

Failed (1)

the server deviates from the spec here

Official SDK interop

  • the handshake settles on a revision inside the supported window a client offering 2025-11-25 was answered with 2024-11-05, outside the supported window (2026-07-28, 2025-11-25)

Not verified (13)

skipped; a skip is not a pass

Capability methods

  • tools/list returns schema-conformant tools cannot determine what the target supports — initialize returned no result (status 0)
  • tools/call on an unknown tool is an error, not a crash cannot determine what the target supports — initialize returned no result (status 0)
  • tools/call returns a schema-conformant CallToolResult cannot determine what the target supports — initialize returned no result (status 0)
  • prompts/list returns schema-conformant prompts cannot determine what the target supports — initialize returned no result (status 0)
  • prompts/get returns messages with a role and content cannot determine what the target supports — initialize returned no result (status 0)
  • resources/list returns schema-conformant resources cannot determine what the target supports — initialize returned no result (status 0)
  • resources/templates/list returns schema-conformant templates cannot determine what the target supports — initialize returned no result (status 0)
  • resources/read returns contents for every sampled resource cannot determine what the target supports — initialize returned no result (status 0)
  • resources/read on an unknown uri is an error cannot determine what the target supports — initialize returned no result (status 0)
  • following nextCursor terminates and does not repeat a page cannot determine what the target supports — initialize returned no result (status 0)
  • an invalid pagination cursor is rejected (SHOULD) cannot determine what the target supports — initialize returned no result (status 0)

Version negotiation

  • initialize returns the schema-required fields no session — initialize returned no result (status 0)
  • the handshake settles on the revision under test no session — initialize returned no result (status 0)

Passed (6)

checked and conformant

server/discover

  • the suite is reading a schema that matches the features it selected

Version negotiation

  • a request with no version at all is served on the default
  • an unsupported version offered at the handshake is refused or downgraded, not echoed

Official SDK interop

  • the official SDK does not yet implement the newest revision
  • a stock official-SDK client completes the handshake
  • a stock official-SDK client can list tools

How to reproduce

With Docker:

docker pull hasmcp/mcp-spec-test:latest
docker run --rm hasmcp/mcp-spec-test -c "sh -c 'curl -fsSL https://raw.githubusercontent.com/rtk-ai/icm/main/install.sh | sh > /dev/null 2>&1 && /root/.local/bin/icm serve'" --spec-version 2025-11-25

(on arm64/Apple Silicon add --platform linux/amd64 to both commands)

Without Docker (npx):

npx @hasmcp/mcp-spec-test@latest -c "sh -c 'curl -fsSL https://raw.githubusercontent.com/rtk-ai/icm/main/install.sh | sh > /dev/null 2>&1 && /root/.local/bin/icm serve'" --spec-version 2025-11-25

This issue was filed by an automated MCP spec-conformance sweep. If this doesn't apply (e.g. an environment/test-container artifact rather than a real bug), feel free to close it — no offense taken.

hasmcp-dev avatar Aug 24 '26 09:08 hasmcp-dev

Fixed in #453 (merged to develop) — verified against the real @hasmcp/mcp-spec-test tool: this revision's single failure (initialize answering with a hardcoded 2024-11-05 outside the advertised window) is gone, and the suite reports fully conformant on everything it can check for 2025-11-25.

pszymkowiak avatar Sep 08 '26 13:09 pszymkowiak