part…
Building governance for MCP?
The gateway applies what the guide teaches: policies on discovery, invocation and authorisation.
The gateway applies what the guide teaches: policies on discovery, invocation and authorisation.
This lesson consolidates all the differences between 2025-11-25 (and earlier) and 2026-07-28 into a single table by area, designed to become directly the specification of your gateway's translation component.
| Area | Legacy (≤ 2025-11-25) | Modern (2026-07-28) | Translation in the gateway |
|---|---|---|---|
| Start-up | initialize + notifications/initialized; version and capabilities fixed per session. |
No handshake; _meta per request; server/discover optional/mandatory on the server. |
Legacy north: maintain a session per host and fill in _meta southwards with what was negotiated. Legacy south: one initialize per server; northwards, a synthesised DiscoverResult. |
| Version | One per session; MCP-Protocol-Version after the handshake. |
In _meta and header on every request; -32022 with supported. |
Choose the version per server; translate version errors. |
| Client capabilities | In initialize. |
In the _meta of every request. |
Cache the host's (legacy) and attach them; or filter by policy. |
| Server capabilities | In InitializeResult. |
In server/discover. |
Synthesise in both directions. |
| Identity | clientInfo/serverInfo in the handshake. |
_meta.clientInfo per request; _meta.serverInfo per result. |
Rewrite with the gateway's identity or pass the original through according to policy. |
| HTTP session | Mcp-Session-Id, 400/404, DELETE. |
Non-existent. | Manage sessions on both legacy sides; ignore/405 towards modern. |
| Server requests | sampling/createMessage, elicitation/create, roots/list, ping over SSE/stdout; the client responds. |
MRTR: input_required + retry with inputResponses/requestState. |
Legacy south → modern north: convert the server request into input_required (keep the original request pending). Legacy north → modern south: convert input_required into a server→client request and retry on receiving the response. |
| Server stream | GET SSE for unrelated notifications and requests. | subscriptions/listen with filter and acknowledgement. |
Map subscriptions; fan-out. |
| Resource subscription | resources/subscribe/unsubscribe. |
resourceSubscriptions in listen. |
Direct translation. |
| Resumability | SSE id, Last-Event-ID, retry, polling. |
None; re-emit with a new id. |
Towards legacy servers, resume if they provide ids; towards modern hosts, nothing to resume. |
| Cancellation | notifications/cancelled; disconnection does not cancel. |
HTTP: close the stream; stdio: notification. | Translate close ↔ notification. |
| Logging | logging/setLevel per session; notifications over any stream. |
logLevel per request; only on the request's stream. |
Set per session on the first logLevel; filter and re-attribute. |
| Results | No resultType. |
Mandatory resultType; input_required, task. |
Add/ignore; never send input_required or task to a legacy host without translating. |
| Cache | No hints. | Mandatory ttlMs/cacheScope in listings and reads. |
Add a conservative ttlMs: 0/private towards modern; ignore towards legacy. |
| Errors | -32002 resource not found; -32042. |
-32602; -32020..-32022. |
Map codes. |
| Tasks | Experimental core: params.task, blocking tasks/result, tasks/list, related-task. |
Extension: resultType: "task", tasks/get with result, tasks/update, no listing. |
Costly emulation; consider a single era per server. |
| URL elicitation | elicitationId, notifications/elicitation/complete, -32042. |
requestState and retry. |
Correlate on your own. |
| HTTP transport | POST/GET/DELETE. | POST only; mandatory Mcp-* headers. |
Add/validate headers towards modern. |
| Batching | 2025-03-26 only. | Forbidden. | Unpack or reject. |
| Roots | Capability with listChanged and notification. |
Deprecated; roots/list only via MRTR. |
Answer from configuration. |
| Sampling | Active. | Deprecated (still available via MRTR). | Policy: do not declare by default. |
tasks/list towards a modern server → -32601 with a clear message).1. A legacy server sends elicitation/create over SSE and the host is modern. The gateway…
It is the server-request → MRTR translation, which forces the gateway to keep the request pending.
2. Which conservative cache hint does the gateway add to a listing from a legacy server towards a modern host?
Without information from the server, the safe choice is immediately stale and private.