Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkgs/mcpx/docs/spec/conformance-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Generated by `internal/conformance` (`MCPX_UPDATE_MATRIX=1 go test ./internal/conformance -run TestMatrix`); do not edit.

Generated from inputs `6b1cdc606dd5e28c` (sha256 of docs/spec/requirements.md, internal/conformance/overrides/*.json, internal/conformance/coverage*.go, internal/conformance/authsplit.json). `TestMatrix` regenerates this file and fails when it differs, so it describes the tree it is committed in.
Generated from inputs `368d9987e00f8ca4` (sha256 of docs/spec/requirements.md, internal/conformance/overrides/*.json, internal/conformance/coverage*.go, internal/conformance/authsplit.json). `TestMatrix` regenerates this file and fails when it differs, so it describes the tree it is committed in.

Every normative requirement of every revision (catalogue: `docs/spec/requirements.md`), for mcpx as a server and as a client. A requirement is *tested* when a named test verifies it in that revision, *n/a* when it does not bind mcpx in that role, and a *gap* when it binds mcpx and mcpx does not meet it yet, with the issue that tracks it. Run exactly the covering tests with `go run ./internal/conformance/cmd/covering`.

Expand Down
4 changes: 2 additions & 2 deletions pkgs/mcpx/docs/spec/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ Most 2025-11-25 growth is the tasks page (57 rows) and the elicitation rewrite;
| errors-reserved-subrange-only-spec-codes | 2026-07-28 | both | MUST NOT / MUST | errors | "Implementations **MUST NOT** emit any code from this sub-range that is not defined by this specification and **MUST** use defined codes only with their specified meanings." | https://modelcontextprotocol.io/specification/2026-07-28/basic/index#error-codes | yes (-32022 only, and with its meaning; also emits -32022 to legacy `initialize` — see negotiation rows) | n/a | 2025-11-25 used -32042 (URL elicitation) in this sub-range; 2026 draft history renumbered -32001/-32003/-32004 → -32020/-32021/-32022 |
| errors-do-not-emit-32002-and-32042 | 2026-07-28 | both | MUST NOT | errors | "Implementations of this protocol version **MUST NOT** emit these codes:" (-32002, -32042) | https://modelcontextprotocol.io/specification/2026-07-28/basic/index#error-codes | yes (mcpx emits neither) | n/a | Both were legal (and -32002 the specified code) in earlier revisions. Conflict C11 |
| errors-client-accept-32002-from-legacy | 2026-07-28 | client | SHOULD | errors | "Clients **SHOULD** still accept `-32002` from servers implementing earlier versions." | https://modelcontextprotocol.io/specification/2026-07-28/basic/index#error-codes | n/a | yes (passes upstream errors through) | |
| errors-local-errors-not-mistaken-for-peer | 2026-07-28 | both | should (lowercase) | errors | "Implementations surfacing local errors in JSON-RPC-shaped structures should ensure they cannot be mistaken for errors received from the peer." | https://modelcontextprotocol.io/specification/2026-07-28/basic/index#error-codes | partly: proxy re-emits upstream failures as its own JSON-RPC errors / isError results; origin is text-only | n/a | Not RFC 2119 (lowercase) but matters for a proxy: mcpx is exactly the case of relaying local vs peer errors |
| errors-local-errors-not-mistaken-for-peer | 2026-07-28 | both | should (lowercase) | errors | "Implementations surfacing local errors in JSON-RPC-shaped structures should ensure they cannot be mistaken for errors received from the peer." | https://modelcontextprotocol.io/specification/2026-07-28/basic/index#error-codes | yes: locally minted JSON-RPC errors include `{"mcpx":{"origin":"local"}}` in error data; relayed peer errors pass through unchanged | n/a | Not RFC 2119 (lowercase) but matters for a proxy: mcpx is exactly the case of relaying local vs peer errors |
| errors-new-codes-outside-jsonrpc-range | 2026-07-28 | both | SHOULD | errors | "New error codes for purposes not defined by this specification **SHOULD** be allocated outside the JSON-RPC reserved range (`-32768` to `-32000`)" | https://modelcontextprotocol.io/specification/2026-07-28/basic/index#error-codes | yes (defines none) | n/a | |
| errors-method-not-found-for-unadvertised-capability | 2026-07-28 | server | (schema guidance) | errors | "a server returns this error when a client invokes a method the server does not implement — either a genuinely unknown method, or one gated behind a server capability the server did not advertise" (schema) | https://modelcontextprotocol.io/specification/2026-07-28/schema#methodnotfounderror | no: mcpx answers methods it did not advertise for that revision (accept-liberally, e.g. resources/subscribe from modern) | n/a | Directly opposes mcpx's "accept liberally" rule for gated methods; wording is descriptive, not RFC keyword |
| errors-method-not-found-for-unadvertised-capability | 2026-07-28 | server | (schema guidance) | errors | "a server returns this error when a client invokes a method the server does not implement — either a genuinely unknown method, or one gated behind a server capability the server did not advertise" (schema) | https://modelcontextprotocol.io/specification/2026-07-28/schema#methodnotfounderror | yes: the capability gate rejects methods whose capabilities were not advertised where that revision defines the capability; revisions predating skills extension advertisement retain legacy acceptance (C24) | n/a | The gate is revision-aware; wording is descriptive, not an RFC keyword |
| messages-notification-no-response | 2025-03-26..2026-07-28 | both | MUST NOT | messages | "The receiver **MUST NOT** send a response." | https://modelcontextprotocol.io/specification/2026-07-28/basic/index#notifications | yes (handle returns nil for notifications; HTTP 202) | yes | Implicit from JSON-RPC in 2024-11-05 |
| messages-notification-no-id | 2024-11-05..2026-07-28 | both | MUST NOT | messages | "Notifications **MUST NOT** include an ID." | https://modelcontextprotocol.io/specification/2026-07-28/basic/index#notifications | yes | yes | |
| messages-batch-may-send-must-receive | 2025-03-26 | both | MAY / MUST | messages | "MCP implementations **MAY** support sending JSON-RPC batches, but **MUST** support receiving JSON-RPC batches." | https://modelcontextprotocol.io/specification/2025-03-26/basic/index#batching | no: stdio server unmarshals each line into one request object; an array gets -32700 | yes on HTTP responses (mcpclient/http.go accepts a batch array); stdio not checked | Removed in 2025-06-18 (changelog "Remove support for JSON-RPC batching"). Conflict C1 |
Expand Down
4 changes: 2 additions & 2 deletions pkgs/mcpx/internal/conformance/requirements.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@
},
"notes": {
"client": "n/a",
"server": "partly: proxy re-emits upstream failures as its own JSON-RPC errors / isError results; origin is text-only"
"server": "yes: locally minted JSON-RPC errors include `{\"mcpx\":{\"origin\":\"local\"}}` in error data; relayed peer errors pass through unchanged"
}
},
{
Expand Down Expand Up @@ -591,7 +591,7 @@
},
"notes": {
"client": "n/a",
"server": "no: mcpx answers methods it did not advertise for that revision (accept-liberally, e.g. resources/subscribe from modern)"
"server": "yes: the capability gate rejects methods whose capabilities were not advertised where that revision defines the capability; revisions predating skills extension advertisement retain legacy acceptance (C24)"
}
},
{
Expand Down