MCP dropped the handshake. I migrated a 27-tool server — here's what broke.
Before the change, the official TypeScript MCP client gave up on my server after 557 ms. I had pinned it to the new protocol, 2026-07-28, and my server answered the first request of that protocol with -32601 Method not found.
After the change, the same client connects in 1.7 seconds over stdio and in 32 ms over HTTP. Old clients see exactly what they saw before, down to the byte: the tool list is still 33,263 bytes. With a coding agent doing most of the typing, the pull request was open after 38 minutes and CI was green after 43.
What broke wasn't the server. It was the tests around it, one JavaScript default parameter, and the way I checked my own work.

Why I didn't just take SDK v2
The previous post covers what the new spec changes. The short version: no handshake, no sessions, and old and new can't talk unless the server speaks both.
My server runs on the v1 TypeScript SDK. v1 can't speak 2026-07-28. v2 can, so the obvious move was to upgrade. Two things in the v2 migration guide stopped me.
First, v2 doesn't speak the new protocol by itself. In the guide's own words: "Nothing in v2 puts a 2026-07-28 byte on the wire by default." You also have to rebuild the server as a factory around serveStdio or createMcpHandler.
Second, v2 changes behaviour for old clients too. Malformed frames go unanswered, error messages lose their MCP error <code>: prefix, and the announced capabilities change. For a server that real people use every day, that's a migration for everyone, not just for the new clients.
My main file has 5,925 lines and 10 request handlers. So I went the other way: stay on v1 and add one thin layer that speaks the new era and leaves the old one alone. It came out at 517 lines.
The rule that decides everything
A dual-era server has to sort every message into "old" or "new". The spec makes it simple: an initialize request means old, a request that carries the protocol version in _meta means new. Over HTTP, new clients send the version in a header.

Here is the trap I almost walked into. Old clients send that header too. Since the 2025-06-18 revision, every HTTP request after the handshake carries MCP-Protocol-Version. If you route on "the header is present", you send every old client down the new path. You have to compare the value:
const FIRST_MODERN = "2026-07-28"; // versions are dates, so string comparison works
// HTTP: the header alone proves nothing, old clients send it too
function isModernHttp(method: string, versionHeader?: string): boolean {
const v = versionHeader?.trim();
return method === "POST" && !!v && v >= FIRST_MODERN;
}
// stdio: initialize always means the old era
function isModernMessage(msg: { method?: string; params?: { _meta?: Record<string, unknown> } }): boolean {
const v = msg.params?._meta?.["io.modelcontextprotocol/protocolVersion"];
return msg.method !== "initialize" && typeof v === "string" && v >= FIRST_MODERN;
}Everything that fails this check goes to the old SDK untouched. That's why the old tool list didn't change by a single byte. The new one grew by 290 bytes (+0.9 %), for resultType, ttlMs, cacheScope and the server info.
What broke
- The old server was too polite. Before the change, a request claiming protocol version
2099-01-01got a normal answer. Now it gets-32022 Unsupported protocol version, with the list of versions the server does support, as the spec requires. - A test that counted lines. One test checked that a helper appears exactly twice in the main file. The new path is the third place. The test was right to fail; it now expects three, with the reason written next to it.
- A JavaScript default parameter. A test sent a notification and expected
202 Accepted. It got404. The test helper hadid = 1as a default, and passingundefinedon purpose doesn't skip a default, it triggers it. The notification went out as a request with id 1, for a method nobody knew. - Six calls to the internet. The test environment blocks outgoing connections and counted six attempts. A tool call without a key starts the sign-in flow, which goes online. The tests now use a call that answers offline.
- My own counter-check. To prove the new tests can fail, I ran them against a copy of the old code. The copy sat inside the package, so the test runner collected every test twice, and one unrelated test went red. Nothing was wrong with the code. The copy was in the wrong place.

The counter-check itself worked once the copy moved out: against the old code, 14 of the 19 new process tests went red. The 5 that stayed green test the old path, and they have to pass in both versions.
What this doesn't prove
- I measured one modern client, the official TypeScript SDK 2.4.0. I haven't measured Claude, Cursor or VS Code speaking the new protocol to this server, because I couldn't find out which of them already do. For anyone who adds a server as a Claude connector, Jaen Carrodine pointed out under the last post that the client is Anthropic's MCP proxy, and that claude.ai caches each connector's initialize response. So for them the date that counts is when that proxy starts sending
server/discover, and I can't see that from the server side. - The server answers the new protocol, but it doesn't use the new features yet: no
outputSchema, no multi round-trip requests. Tool annotations came a day later, in 0.11.2. - Auth isn't done. Our authorization server already supports the
issparameter, but it only offers Dynamic Client Registration, which the new spec deprecates in favour of Client ID Metadata Documents.
The new version is on npm as @cachly-dev/[email protected], and you can see both eras with the one-liner from the last post: server/discover now gets an answer instead of -32601.
If you run an MCP server: did you move to v2, add a layer, or are you waiting for the clients to move first?
Using Jira or Confluence with Claude Code, Cursor or JetBrains in the EU? I'll set up your team memory in 15 minutes, with your real Git and Jira history. Free for the first 5 teams. Write to [email protected] or reply here: cachly.dev
cachly.dev
For solo developers, teams and whole companies
Explain it once. Every AI knows it.
Shared team memory between your code, your tickets and your AI. Hosted in the EU, in every tool. cachly keeps the fixes, the decisions and the traps, so the next session starts with them. Claude Code, Cursor, Copilot, Windsurf, Codex, Gemini CLI and JetBrains all read it. Free for one project, no card needed.
Servers in the EU · one command, restart your editor, done · 1 project free
Four ways to install
- Claude Code
/plugin marketplace add cachly-dev/cachly-mcp /plugin install cachly-brain@cachlyThen turn on auto-update once:
/plugin→ Marketplaces → cachly → Enable auto-update- Any MCP editor
npx @cachly-dev/mcp-server@latest autopilot- JetBrains
- JetBrains Marketplace: cachly-brain