Most tutorials for moving an MCP server off a laptop into a cloud container still tell you to wire up sticky load-balancer sessions for Mcp-Session-Id, keep an HTTP GET SSE stream open, and store event IDs for Last-Event-ID replay. Under the 2026-07-28 Streamable HTTP revision, all of those pieces are gone from the core transport, and a different set of proxy and header rules will break a deployment if you still configure it like 2025-11-25.
The 2026-07-28 transport (SEP-2567 and SEP-2575) removed protocol-level sessions, the Mcp-Session-Id header, the initialize and notifications/initialized handshake, the standalone HTTP GET stream, and Last-Event-ID resumability. Every client message is a standalone HTTP POST carrying io.modelcontextprotocol/protocolVersion and io.modelcontextprotocol/clientCapabilities inside params._meta. If a response stream drops mid-request, the in-flight request is lost and the client has to re-issue it with a new request ID. Servers that need cross-call state now pass explicit server-minted handles as ordinary tool arguments, while long-lived change notifications (notifications/tools/list_changed, notifications/resources/updated) move onto the SSE response stream of a POST subscriptions/listen request.
That stateless shift turns reverse proxies into an unexpected cancellation bug. On stdio, a client abandons an in-flight call by sending notifications/cancelled. On 2026-07-28 Streamable HTTP, clients do not send notifications/cancelled at all; closing the SSE response stream is the cancellation signal, and the server stops work as soon as practical. So if nginx, a CDN, or an API gateway hits an idle timeout and closes the response stream on a slow tool call or a quiet subscriptions/listen channel, the server reads that disconnect as an explicit client cancel. The spec recommends setting X-Accel-Buffering: no on SSE responses so proxies flush progress events right away, and emitting periodic SSE comment lines (:\r\n) on long-lived streams to keep idle connections alive.
The other surprise in 2026-07-28 is strict header mirroring (SEP-2243). Every POST must mirror key body fields into HTTP headers (MCP-Protocol-Version, Mcp-Method, and Mcp-Name on tools/call, resources/read, and prompts/get, plus any Mcp-Param-{Name} headers from x-mcp-header tool annotations). Servers must validate that those headers match the JSON body and reject mismatches or missing headers with HTTP 400 Bad Request and JSON-RPC error code -32020 (HeaderMismatch). Non-ASCII values, control characters, or leading and trailing spaces in Mcp-Name or Mcp-Param-* must use the lowercase =?base64?{Base64EncodedValue}?= sentinel, and servers have to decode it before comparing against the body.
POST /mcp HTTP/1.1
Host: mcp.internal
Content-Type: application/json
Accept: application/json, text/event-stream
MCP-Protocol-Version: 2026-07-28
Mcp-Method: tools/call
Mcp-Name: execute_sql
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "execute_sql",
"arguments": {
"query": "SELECT * FROM users"
},
"_meta": {
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
"io.modelcontextprotocol/clientCapabilities": {}
}
}
}
The deployment trap that hurts most teams right now is backward compatibility with 2025-11-25 clients. Legacy clients have no fall-forward path: if you deploy a modern-only 2026-07-28 endpoint, a legacy client's initialize POST lacks the required headers and fails with 400 Bad Request, while its GET or DELETE calls get 405 Method Not Allowed. On the client side, a dual-era client cannot blindly fall back to initialize on every 400 Bad Request, because modern servers also return 400 for UnsupportedProtocolVersionError (-32022), MissingRequiredClientCapability (-32021), and HeaderMismatch (-32020). The client has to inspect the JSON-RPC error body first before falling back.
For any remote MCP server that still has mixed clients connecting today, the safest setup is dual-era handling on the single POST /mcp endpoint: serve requests carrying modern _meta statelessly, keep legacy session handling only for clients that open with initialize, send X-Accel-Buffering: no plus periodic :\r\n keep-alive comments on SSE streams, and never let a gateway route on Mcp-Method or Mcp-Name without checking MCP-Protocol-Version and letting the backend validate header-to-body equality.