MCP agent runtime
The agent runtime at /agent/mcp serves each agent key's toolset as callable MCP tools (see Agent access to issue a key). It speaks a pinned set of MCP protocol versions, over Streamable HTTP only — the deprecated HTTP+SSE transport is never served there.
Protocol versions
| Version | Status | initialize offering it settles on |
|---|---|---|
2026-07-28 | Served | 2025-11-25 |
2025-11-25 | Served | 2025-11-25 |
2025-06-18 | Served | 2025-06-18 |
2025-03-26 | Legacy default — assumed when a request has no MCP-Protocol-Version header | 2025-03-26 |
2024-11-05 | Not served — the HTTP+SSE era; refused | 2025-11-25 |
2026-07-28 has no initialize handshake, so an initialize that offers it is answered with 2025-11-25 — the version a 2026-07-28 client falls back to. Requests that carry MCP-Protocol-Version: 2026-07-28 are accepted and recorded at that version.
Unsupported versions are refused
A request whose MCP-Protocol-Version header names any other version — or two different versions — is refused with HTTP 400 before it reaches a tool, and is never served at another version. The body lists the versions to retry with:
{
"jsonrpc": "2.0",
"id": null,
"error": {
"code": -32022,
"message": "Unsupported MCP-Protocol-Version '1999-01-01'; supported: 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26",
"data": {
"supported": [
"2026-07-28",
"2025-11-25",
"2025-06-18",
"2025-03-26"
],
"requested": "1999-01-01"
}
}
}
Conformance
Apiome runs its own mcp-protocol conformance profile against the agent runtime in CI, once per version above, and fails the build on any error finding — see MCP conformance rules for the rules and the specification revisions they cite.
The full matrix and the SDK decision behind it are in PROTOCOL_VERSIONS.md.
Telemetry
Every tools/call can be exported as an OpenTelemetry trace (apiome.agent.invocation with vault.resolve and upstream.request children) and two metrics over OTLP. An inbound W3C traceparent (HTTP header, or traceparent / tracestate in the request's _meta) parents the span. It is off until an operator sets an OTLP endpoint — see Agent telemetry.
This page is generated from the agent runtime's protocol-version table; regenerate it with cd apiome-mcp && uv run python scripts/generate_mcp_reference_docs.py.