making things. thinking out loud.

← All work

CORBA vs MCP, round two

MCP rebuilt its stateless core. I re-ran the comparison to see what moved, and why.

In round one, the HTTP-adapted CORBA path handled roughly 1.4–2.0× as many calls per second as MCP. Since then, MCP's 2026-07-28 specification has removed the handshake and protocol sessions, and SDK 2.x implements it. So I ran it again.

One correction to the obvious story first. My round-one setup already ran MCP over stateless HTTP, so this isn't "sessions versus no sessions". It's the new stateless core against the older SDK's habit of building fresh transport machinery for every request. Every path used the same backend, tool descriptions, validation and workloads. The original source archive wasn't available, so this is a reimplementation, not a byte-for-byte replay.

The run produced 480,000 timed calls. Sixteen failed, all backend timeouts in the newer SDK's legacy path under load, and they're also the only calls that returned a wrong result.

Here's the tiny 64-byte echo workload at concurrency 1. Latency is the pooled median, and calls per second is the median throughput across trials.

PathTypical response (median)Calls/sec
Direct REST baseline1.16 ms771
CORBA → REST1.77 ms521
HTTP → CORBA → REST3.35 ms266
MCP (SDK 1.26, 2025-11-25) → REST5.67 ms162
MCP (SDK 2.3, 2026-07-28) → REST3.17 ms298

The row I'd pay attention to is the new MCP row against the old one. Paired throughput went up 1.73×, with a 95% bootstrap interval from 1.52 to 1.90. These are within-run comparisons, so don't compare absolute latencies across rounds.

Here's the part I didn't expect: almost none of that gain comes from the new protocol. Run the old protocol on the new SDK and you already get 1.68×. Keep the new SDK and switch only the protocol version, and you get 1.06×, with an interval from 0.94 to 1.18 that includes no change at all. The speed-up is the SDK rewrite, meaning a new client, a new server and a new HTTP library. I can't separate how much the wire format itself costs.

Tail latency is messier. At concurrency 16, the tiny workload's p99 was 153.55 ms for modern MCP and 135.30 ms for HTTP → CORBA, and the difference between them is uncertain. Against the same SDK in legacy mode, modern MCP had lower medians but higher p99 in every workload. My client is closed-loop, though. It waits for a reply before sending more work, so that tail doesn't describe a server facing an independent stream of requests.

Startup went the other way. From a fresh process to a correct result took a median of 425.6 ms on the old SDK and about 620–630 ms on the new one, and imports dominate that time. On the wire, the modern tiny request adds 41 header bytes and 200 body bytes, and for the large workload total request size grows by 0.4%.

The limits are plain. This was loopback on a local Linux machine, in Python only, with no TLS, authentication or real network. The CORBA code is reconstructed, so it can't replicate round one exactly. SDK request logging stayed at its defaults, so differences in logging are mixed in with the execution-path changes. The full report covers the other workloads, intervals, CPU use and replication checks.

Native CORBA still handled more calls per second than modern MCP in every cell I tested. If you already run CORBA, these numbers help with a migration decision, but throughput alone doesn't settle the integration question.

Next, I want to look at what the new headers make possible. A gateway that sees per-request client identity, Mcp-Method and Mcp-Name sees every agent's tool calls in one place. Can it catch what separate safety monitors miss?