The 2026-07-28 revision of the Model Context Protocol changes the remote HTTP transport: the modern lifecycle no longer starts with initialize or assigns an Mcp-Session-Id session header. Clients discover capabilities through server/discover and send the protocol version with every request. A compatible server can handle requests on different instances behind an ordinary load balancer without a shared MCP session store.
This does not turn off the previous protocol or require your application logic to be stateless. As of 27 October 2026, SDKs such as TypeScript 2.4.0 can serve both protocol eras; check the specific client, SDK and proxy before removing legacy compatibility.
What changes in an HTTP request
In the 2025 lifecycle, the client begins with initialize and may continue using a session ID issued by the server. In the 2026 revision:
server/discoveradvertises versions and capabilities before tools are called.- Every request declares
MCP-Protocol-Versionand client metadata in_meta. - Streamable HTTP requires headers such as
Mcp-Method; tool calls also includeMcp-Name. A proxy that strips them can make the server reject a request even when its JSON body arrives intact. - List responses such as
tools/listcan carryttlMsandcacheScope, so a client knows how long and at what scope it can cache them. - Interactions that need user input or confirmation can use Multi Round-Trip Requests instead of holding a server-to-client request open.
Your application may still have state: store it in a database or issue an opaque identifier that the client sends back to a later tool. The change is that you should not rely on hidden transport sessions to route every call to the same process.
Upgrade while supporting older clients
The official TypeScript SDK 2.4.0 release on 23 October 2026 implements the 2026-07-28 specification and preserves compatibility with 2025 traffic. An HTTP server built with createMcpHandler serves both protocol eras. Clients can opt into automatic negotiation and fall back to the previous lifecycle when a server does not advertise the modern one.
For a new project, pin the dependencies you use and review the current SDK version guide before installing:
npm install --save-exact @modelcontextprotocol/server@2.4.0 @modelcontextprotocol/client@2.4.0 @modelcontextprotocol/node@2.1.2
Configure client negotiation like this in the v2 API:
import { Client, StreamableHTTPClientTransport } from '@modelcontextprotocol/client';
const client = new Client(
{ name: 'my-client', version: '1.0.0' },
{ versionNegotiation: { mode: 'auto' } },
);
await client.connect(
new StreamableHTTPClientTransport(new URL('https://mcp.example.com/mcp')),
);
console.log(client.getProtocolEra()); // 'modern' or 'legacy'
Do not pin the modern version blindly: auto can detect an older server and use the legacy negotiation. Test both paths against the client versions your team actually uses.
Check the proxy, load balancer and cache
Before deployment, verify that Nginx, your WAF, CDN or load balancer:
- Forwards
MCP-Protocol-Version,Mcp-MethodandMcp-Nameto the MCP process without changing their values. - Does not require session affinity for the modern lifecycle. Test multiple requests from one client against different instances.
- Preserves
POSTbehavior and Streamable HTTP responses. Do not assume that buffering must always be disabled; it depends on the specific server response and configuration. - Caches lists only while respecting
ttlMsandcacheScope; refreshes or invalidates them when tools, permissions or user data change. - Applies request limits, authentication and rate limits without logging tokens or private request bodies.
The modern specification defines headers for routing and measuring calls without inspecting JSON bodies. Use them for observability, not as a replacement for authentication or authorization.
Authentication and compatibility changes
The revision also hardens OAuth. Among other requirements, clients must validate the issuer (iss) when exchanging a code, and credentials must not be reused across different issuers. Dynamic Client Registration remains documented for compatibility, but the specification deprecates it in favor of Client ID Metadata Documents. Do not advertise CIMD support until you have tested your authorization server and client.
During migration, keep a compatibility path until you have checked:
- Older clients that send
initializeand current clients that useserver/discover. - Tool, resource, prompt and error responses, plus request size limits.
- Required headers when requests pass through your proxy and CDN.
- OAuth, token refresh, issuer, revocation and permissions.
- Cached lists after the tool catalogue changes.
- Application state across calls in a multi-step user workflow.
You do not need to claim every client migrated on the specification release date. Adopt the modern version when your SDK and tests support it; keep the older lifecycle while your consumers still need it.
Do you need a VPS?
A VPS can run your own MCP endpoint when you need control over Node.js, HTTPS proxying, authentication, limits and system dependencies. That also means you maintain the operating system, process, certificates, secrets, logs and backups. See how to host an MCP server on a VPS for installation and security checks; this page covers protocol migration and does not certify a Hostbrid production deployment.
If you only want an AI assistant to manage resources in a hosting account, that is a different use case: see connecting an AI to Hostbrid MCP. An account-management server and an MCP server you program are not interchangeable.
Official sources
- MCP specification 2026-07-28, published 28 July 2026.
- MCP 2026-07-28 specification, protocol, transport, authorization and caching.
- TypeScript SDK v2 protocol and version negotiation, checked 27 October 2026.
- Official TypeScript SDK 2.4.0 release, 23 October 2026.
Checked on 27 October 2026. Versions and behavior change; review your SDK changelog and record which client, proxy and transport you tested.