Compatibility dates
- Applies to
- Gatewayruntime for API, AI, and MCP gateways
- Hosting
- Managed EdgeManaged DedicatedSelf-Hosted
The Zuplo MCP Gateway requires compatibilityDate >= 2026-03-01 in
zuplo.jsonc.
Code
The build fails if your project uses any MCP Gateway feature (the
McpProxyHandler handler or an mcp-*-inbound policy) with a compatibility
date older than 2026-03-01. Bump the date in zuplo.jsonc before adding those
features.
New Zuplo projects default to a recent compatibility date, so this only applies to existing projects being upgraded to use the MCP Gateway.
For background on Zuplo's compatibility-date system in general, see Compatibility dates.
MCP protocol 2026-07-28
Set compatibilityDate to 2026-11-06 or later to turn on support for MCP
protocol revision 2026-07-28:
Code
With this date, the MCP Gateway handles requests that name 2026-07-28 in the
MCP-Protocol-Version header as that revision requires:
- Upstream readiness checks fall back to
server/discoverwhen an upstream refusesinitialize. - The gateway answers
server/discoveritself for a caller that hasn't connected the upstream yet, and adds the configured server icons to its reply. The reply lists the protocol versions the upstream serves once the gateway has seen them, and2026-07-28plus2025-11-25and earlier until then. - A caller that hasn't connected the upstream gets an
input_requiredresult with a connect link fortools/call,prompts/get, andresources/read(or a-32021error when the client doesn't support URL elicitation), instead of the-32042error that2026-07-28clients can't act on. The list methods return an empty list, the methods2026-07-28removed return HTTP404with-32601, and other requests return-32603with the connect link indata.connectRequired. - Before the gateway answers a request itself, it refuses one that a
2026-07-28server refuses, such as a request without a requiredMCP-Protocol-Version,Mcp-Method, orMcp-Nameheader (-32020). - On
subscriptions/listen, the request timeout limits only the wait for response headers, so the stream can stay open. A client disconnect cancels the upstream request.
Requests on 2025-11-25 and earlier also get the changes in
Gateway answers follow the MCP specification,
and these project-wide changes:
- The gateway's OAuth authorization responses include the RFC 9207
issparameter, and its authorization server metadata advertisesauthorization_response_iss_parameter_supported. - The configured server icons are also added to an
initializereply that the upstream sends as an event stream. - On Managed Edge and in local development,
request.signalaborts when the client disconnects. This applies to all code in the project, not only the MCP Gateway.
On an earlier compatibility date, the MCP Gateway relays 2026-07-28 traffic
without handling it as that revision.
The same date also turns on 2026-07-28 support in the
MCP Server handler,
along with other handler changes. See
2026-11-06 for
every change it includes.
Gateway answers follow the MCP specification
From compatibility date 2026-11-06, the answers the MCP Gateway builds itself
follow the MCP specification in several error and edge cases. Most of them
affect a caller that hasn't connected the upstream yet, on MCP protocol
2025-11-25 and earlier:
| Request from a caller that hasn't connected the upstream | Before 2026-11-06 | From 2026-11-06 |
|---|---|---|
initialize on 2025-11-25 that declares capabilities.elicitation.url | -32042 URL-elicitation error | -32042 URL-elicitation error |
Any other request, such as tools/call | -32042, or -32600 when only an administrator can connect the upstream | -32603 with the connect link in data.connectRequired |
ping | -32042 | An empty result |
| Notification or JSON-RPC response | -32042 error without an id | HTTP 202 with no body |
| Empty body, or a body that isn't JSON | -32042 | HTTP 400 with -32700 |
| Message that isn't valid JSON-RPC | -32042 | HTTP 400 with -32600 |
MCP-Protocol-Version that the route doesn't serve | -32042 | HTTP 400 with -32000 |
JSON-RPC batch on 2025-06-18 or later | -32042 | HTTP 400 with -32600 |
JSON-RPC batch on 2025-03-26 or without a version header | One -32042 error | One answer for each message |
GET or DELETE | HTTP 200 with a -32042 error | HTTP 405 with Allow: POST |
A client that relied on -32042 for a tools/call reads the connect link from
data.connectRequired.authUrl instead.
On a route with the mcp-token-exchange-inbound policy, the date also changes
what the client gets when the upstream rejects the credential the gateway sent.
When the upstream still answers 401 after the gateway refreshed its
credential, or answers 403 with a WWW-Authenticate challenge, the gateway
answers each request with JSON-RPC error -32603 and the message
The upstream MCP server rejected the gateway's credential., with the
upstream's status in data.upstreamStatus. Before 2026-11-06, the client gets
the upstream's response, including its WWW-Authenticate challenge, and reads
the 401 as its own gateway token failing. A route without the policy relays
the upstream's response on every date.
On a 2026-07-28 request, the methods that 2026-07-28 removed, such as ping
and logging/setLevel, get HTTP 404 with -32601 from the gateway instead of
a connect-required answer.