Performance · 2026
Production performance

Benchmarking MCP Servers at Scale

A useful benchmark measures protocol overhead, gateway and authorization cost, catalog behavior, backend execution, long-running Tasks, failure recovery, and business-facing SLOs.

Benchmark the whole path

Separate MCP overhead from downstream tool time

A slow database call should not be blamed on the MCP protocol, and a fast mock tool should not make an inefficient gateway look healthy. Measure each layer independently and together.

Client
→
Gateway + auth
→
MCP server
→
Tool backend
Metric portfolio

Latency alone is not a scalability test

Latency

p50/p95/p99 for server/discover, catalog calls, tool calls, policy checks, and task polling.

Throughput

Requests/sec and successful tasks/sec at increasing concurrency, with backpressure behavior.

Reliability

Error rate, timeout rate, retry success, task completion, cancellation success, recovery after dependency failure.

Efficiency

CPU, memory, network, connection use, cache hit rate, catalog payload size, cost per successful operation.

Test matrix

Exercise the 2026 protocol features explicitly

ScenarioWhat to varyWhat to measure
DiscoveryCold vs warm server/discover, version negotiationLatency, compatibility failures, response size
Catalog10 / 100 / 1,000 tools, cache hit vs missList latency, bytes, client/model context impact
Header routingGateway policies by method/tool nameAdded latency, throughput, policy accuracy
AuthorizationToken validation, step-up, denied callsAuth overhead, failure behavior, cache safety
Tool executionFast local vs slow network vs failureServer overhead vs backend time, timeout behavior
TasksLong-running operations, polling, cancel/updateDurability, task lookup latency, authorization isolation
MRTRMissing input / approval round tripsResume reliability and end-to-end task duration
Benchmark discipline

Make results comparable and operationally useful

Use fixed workloads

Version the tool catalog, payloads, backend latency distribution, auth mode, and concurrency profile.

Warm and cold tests

Report cache warm-up, connection establishment, discovery, and steady-state separately.

Test failure

Inject backend timeouts, rate limits, invalid schemas, revoked credentials, and instance loss.

Compare architectures

Gateway vs direct, one large server vs domain servers, sync tool vs Task, regional placement.

Use SLOs

Define acceptable latency/error for business capabilities rather than chasing arbitrary maximum throughput.

Evaluate correctness

A fast server returning incomplete catalogs, wrong auth decisions, or corrupted results has failed the benchmark.

Benchmarking becomes a KNOBS problem

Treat server implementation, caching strategy, gateway policy, task mode, and deployment topology as experiment knobs. Measure them against reliability, security, cost, and user-facing task success: not synthetic throughput alone.