bonusFeatures.sessionRecovery support in MCP clients

Which MCP clients support bonusFeatures.sessionRecovery, and how each claim is known. It is not a protocol feature with its own lifecycle, so the registry tracks it on its own terms.

Support

Client Kind Status Known from Revisions Notes
Codex CLI host ● full read 2025-06-18 A request that gets a 404 on a session re-initializes and is sent once more, tool calls included. In alpha releases a 404 on a reply to a server request also marks the session expired; in-flight calls then fail and the next operation re-initializes. A session left behind by a failed recovery handshake is closed with DELETE (alpha only). It applies to the handshake era only.
opencode host ● full read 2025-11-25 A 404, or a 400 with body "Bad Request: Server not initialized", on a connection that holds an Mcp-Session-Id is mapped to SessionExpiredError, unless the 404 body is a JSON-RPC method-not-found error, which some servers send for a method they do not implement. opencode then reconnects and runs the request once more. This is opencode's own code; the SDK patch no longer contains it. Tool calls, prompt gets, resource reads and resource listing recover this way. At 7cde8329 the recovery was a patch to SDK 1.29.0, recorded here as patchedSdkSessionRecovery. It applies to the handshake era only: a 2026-07-28 connection carries no session id.
Hermes Agent host ● full read 2025-11-25 Expired HTTP sessions are detected and the transport reconnected. The call is retried once only for tools annotated readOnlyHint: true; any other tool gets the transport healed and an outcome_uncertain error instead of a replay. A connect-failure cooldown keeps a dead server from being retried in a tight loop, and a parked server first probes after 300 seconds, doubling after each failed revival up to 3600. A stdio server marked single_instance that fails its initial connect attempts parks with no timed probe until an explicit reconnect.
pi * host ● full read 2025-11-25 A 404 on a request that carried a session id raises McpSessionExpiredError. The connection opens a new session and retries the request once, tool calls included, on the reasoning that the server did not run it. Listing and reading resources are also retried once after a 408, 429 or 5xx; tool calls are not.
Strands Agents framework ◇ opt-in read 2026-07-28 auto_reconnect, off by default and not in a release tag yet: it landed after python/v1.65.0. A tool call that finds the session dropped or terminated stops the client, starts it again with up to four attempts inside one startup_timeout, and re-sends the call once. The docstring warns that a call that already reached the server may run twice. TypeScript has connect(true) and no automatic retry.
deepagents * framework ◐ partial read 2025-11-25 A FastMCP middleware on each mounted proxy catches a closed connection during tools/call, tears the session down so the next call reconnects, and returns an isError result saying the operation may have completed and was not retried. The failed call is never replayed. A failed token refresh is returned as an error result carrying the login command.
Google ADK (Python) framework · untested read 2025-11-25 The recovery path keys on the session-terminated error that the SDK raises for a dropped Mcp-Session-Id. Whether anything triggers it on a connection with no session id was not checked.

Not recorded for goose, Cline, fast-agent, OpenClaw, Kilo Code, Mastra, fx (native engine), libfx (fx JavaScript adapter), eve, crewAI, Microsoft Agent Framework, Google Antigravity, Claude Code, Claude.ai, ChatGPT, Codex Desktop, Hugging Face Chat UI, Cursor, Visual Studio Code, n8n, Langflow, mcp-use, Zed, TypeScript SDK Client, Warp, Reachy Mini conversation app. A missing record is not the same as unsupported.

Rows describe each client on 2026-07-28. A row marked * is for the newest revision the client speaks, because it cannot negotiate 2026-07-28: 2025-11-25 for 2 clients.

Tiers are not ranked. read is a source read at a pinned commit, verified is a probe run, observed is telemetry, and declared is what the client or a curated list says. "Through" names the parent capability whose evidence a row rests on when it has none of its own.

By protocol revision

On 2025-11-25 these clients record a different row. The other clients' rows above hold on 2025-11-25 as well.

Client On 2026-07-28 On 2025-11-25 Notes on 2025-11-25
fast-agent not recorded ● full A -32600 "Session terminated" on a handshake-era connection is turned into a typed error and, with reconnect_on_disconnect left on, the operation is replayed against a fresh connection. The check explicitly excludes modern connections, which carry no session to lose.
fx (native engine) not recorded ● full A 404 for the current session starts a new session with initialize. A 404 without a session id is a plain failure.
Google ADK (Python) · untested ● full When a server reports that it no longer holds the session, ADK drops the pooled session, opens a new one and retries the tool call once. It recognises the SDK's code 32600 on 1.x and INVALID_REQUEST with the message Session terminated on 2.x. A transport failure in the middle of a tool call is not retried. tools/list and session setup are retried once on any error.
Microsoft Agent Framework not recorded ● full A ClosedResourceError, or an MCPError whose message contains 'session terminated', counts as connection loss. For a framework-owned connection the tool reconnects, reloads tools and prompts if needed, and retries the tools/call once. mcp 2.3.0 produces that message from an HTTP 404 on a request that carried a session id. A caller-owned Client or ClientSession is not recreated and the call fails. prompts/get retries only on ClosedResourceError. .NET: C# SDK 2.2.0 marks the transport closed on the same 404 and does not re-initialize. dotnet/src has no recovery code, and the clients the framework builds live for one invocation or one response.
Hugging Face Chat UI not recorded ● full An HTTP 404 on a call is treated as an expired session: the pooled client is evicted, a new one runs initialize, and the call is sent again, up to twice.

Hermes Agent has one set of rows for every revision it speaks, not yet split by revision.

The matrix on 2025-11-25 shows every capability on that revision.

Evidence

Codex CLI:

opencode:

Hermes Agent:

pi:

Strands Agents:

deepagents:

Google ADK (Python):

fast-agent on 2025-11-25:

fx (native engine) on 2025-11-25:

Microsoft Agent Framework on 2025-11-25:

Hugging Face Chat UI on 2025-11-25:

Research notes

Kinds

Data

This page as JSON: /data/capabilities/bonusFeatures-sessionRecovery.json. All capabilities: /data/capabilities/index.json, and the matrix.