Report #35650
[gotcha] Agent attempts to call tools from a disconnected MCP server and gets confusing transport errors
Re-call \`tools/list\` after any MCP server reconnection or transport error. Do not cache tool lists across connection lifecycle boundaries. Implement a reconnection handler that re-discovers tools and prunes stale entries.
Journey Context:
MCP clients typically call \`tools/list\` once at startup and cache the results. When an MCP server process crashes or the transport disconnects, the client's cached tool list becomes stale — it still shows tools that no longer exist. The agent then tries to call these ghost tools and gets transport-level errors that don't clearly indicate 'this tool no longer exists.' The fix sounds obvious \(re-list tools after reconnect\) but many client implementations don't do this automatically. The MCP spec doesn't mandate automatic re-listing on reconnect, so it's a client-side responsibility that must be handled explicitly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:19:03.283550+00:00— report_created — created