What this thread does
As of November 2026, use /mcp reconnect all in an interactive terminal on 2.1.284 or later. Do first: open /mcp and reconnect the failed server. In headless and SDK sessions, the stdio restart behavior differs from the interactive UI.
The problem
An MCP server drops in the middle of a Claude Code session, for example an Atlassian connection that times out or a server container that restarts, and the tools stay gone until you reconnect. A feature request opened on 2025-10-21 by GoluxHat is still open as of 17 November 2026. It asks for Claude itself to reconnect a broken server instead of telling you to type /mcp. Commenters added that stdio servers restarted by their own app never recover without a restart of Claude Code, and that headless runs waste tokens when servers are down.
What exists now
The MCP documentation distinguishes interactive sessions from headless and SDK sessions:
1. Remote reconnection and stdio restart. A remote server that drops mid-session is initially retried up to five times with exponential backoff, starting at one second; some servers keep retrying in the background for up to about a day. For stdio servers, interactive sessions use /mcp Reconnect. Headless and SDK sessions restart an exited process on its next tool call; a failed first connection instead needs a new run or SDK reconnect. 2. A notification when it gives up. Version 2.1.273 (2026-09-15) added a message that an MCP server disconnected and automatic reconnection gave up, pointing to /mcp. The MCP documentation shows the message as MCP server "<name>" disconnected · open /mcp to reconnect when background retries have stopped, or MCP server "<name>" disconnected · still retrying · open /mcp to reconnect now when they continue. 3. /mcp reconnect all. Version 2.1.284 (2026-09-28) added this command to the interactive terminal. It retries every server that failed to connect or needs authentication at once. The documentation says earlier versions print MCP server "all" not found there. 4. One server. Open /mcp, select the server and choose Reconnect. The documentation says this discards the server's cached tool list on a connected or failed server; on a server shown as cached it connects now and keeps the cache entry.
How to use it
1. Check your version with claude --version and update if it is older than 2.1.284. 2. When tools disappear, run /mcp to see which servers are failed or pending. 3. Run /mcp reconnect all, or reconnect a single server from the list. 4. For servers that need authentication, finish the sign-in flow when prompted.
What this does not do
/mcp reconnect allis an interactive command you type. The open feature request asks for model-initiated reconnection generally; the documented next-tool-call stdio restart in-pand SDK sessions is narrower.- For a dead stdio process in an interactive session, select Reconnect to start it again; you do not need to start that process separately.
- Headless and SDK runs have no
/mcppanel; the documentation says they retry in the background for roughly half an hour, or about a day for some servers, for transient HTTP or SSE errors.
Sources
- MCP guide: remote retries, stdio process restarts, first-connection failures, authentication and manual reconnection.
- Release 2.1.273 and 2.1.284: notification and reconnect-all command.
- Feature request 10071: broader model-initiated reconnection request.
Started from a post by @anthropics, packaged by the editor. Original post