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
6 changes: 4 additions & 2 deletions pkgs/mcpx/docs/protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ Two behaviours consult it today:
| progress `message` relayed to a 2024-11-05 client (whose schema has no such field) | **sent** | stripped only when 2024-11-05 is first *and* strict: `--mcp-spec 2024-11-05` |
| a request from a 2026-07-28 upstream server (that revision has none; its stdio page says the client MUST NOT answer) | **dropped** | answered when `spec.lenient` includes `2026-07-28` |

The other conflicts in [`spec/revision-conflicts.md`](spec/revision-conflicts.md)
are still decided in code, not by these settings.
Each other conflict in [`spec/revision-conflicts.md`](spec/revision-conflicts.md)
carries a disposition there — peer-settled, precedence-governed, a recorded
reading, or undisposed with its open question named. Only the
precedence-governed ones are decided by these settings.

`internal/mcpserver/revisions.go` holds the floors, ceilings and removals as
data, and `GET /v1/protocol` serves them. A matrix in a document and a matrix
Expand Down
2 changes: 1 addition & 1 deletion pkgs/mcpx/docs/spec/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ Most 2025-11-25 growth is the tasks page (57 rows) and the elicitation rewrite;
| cancellation-server-only-for-listen | 2026-07-28 | server | MUST NOT / MUST | cancellation | "Servers **MUST NOT** send `notifications/cancelled` for any other purpose." + "Server-sent cancellation notifications **MUST** reference a `subscriptions/listen` request" | https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/cancellation#behavior-requirements | yes for modern peers — `conn.go:265` only fires on legacy wire requests; a modern connection never gets a server request | n/a | legal→forbidden vs ≤2025-11-25, see C2 |
| cancellation-http-disconnect-is-cancel | 2026-07-28 | server | MUST | cancellation | "**Streamable HTTP**: Closing the SSE response stream is the cancellation signal. The server **MUST** treat a client disconnect as cancellation of that request." | https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/cancellation#transport-specific-cancellation | **no** — no path from request ctx to the upstream call (`docs/protocol.md` §6) | n/a | reverses ≤2025-11-25 transport rule — C4 |
| cancellation-http-no-messages-after-close | 2026-07-28 | server | MUST NOT / SHOULD | cancellation | "The server **SHOULD** stop work on the cancelled request as soon as practical and **MUST NOT** send any further messages for it." | https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http#cancellation | yes (stream gone, nothing written) — stop-work SHOULD: no | n/a | |
| cancellation-stdio-client-must-send | 2026-07-28 | client | MUST | cancellation | "**stdio**: There is no per-request stream to close. The client **MUST** send a `notifications/cancelled` notification referencing the request ID." | https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/cancellation#transport-specific-cancellation | n/a | yes on stdio; on HTTP it also POSTs `notifications/cancelled`, which 2026 says is "not required or expected" and whose headers "are not defined by this revision" (streamable-http note) | new |
| cancellation-stdio-client-must-send | 2026-07-28 | client | MUST | cancellation | "**stdio**: There is no per-request stream to close. The client **MUST** send a `notifications/cancelled` notification referencing the request ID." | https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/cancellation#transport-specific-cancellation | n/a | yes on stdio; on legacy-era HTTP it also POSTs `notifications/cancelled`; on a 2026-07-28 HTTP upstream it sends none — `cancelled()` returns early for an HTTP transport with a meta version set (internal/mcpclient/modern.go:582) and closing the response stream is the cancellation signal, which 2026 calls the expected behaviour for that transport | new |
| cancellation-timeouts-establish | 2026-07-28 | both | SHOULD | cancellation | "Implementations **SHOULD** establish timeouts for all sent requests" | https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/cancellation#timeouts | yes (`proto.askTimeout`) | yes (`pool.callTimeout`) | new |
| cancellation-timeout-then-cancel | 2026-07-28 | both | SHOULD | cancellation | "the sender **SHOULD** cancel the request and stop waiting for a response" | https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/cancellation#timeouts | yes (legacy only) | yes | new |
| cancellation-timeouts-per-request-configurable | 2026-07-28 | both | SHOULD | cancellation | "SDKs and other middleware **SHOULD** allow these timeouts to be configured on a per-request basis." | https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/cancellation#timeouts | no — global settings | no — per-server/global | new; mcpx is "middleware" |
Expand Down
Loading
Loading