Serverdex error reference · read 21 November 2026

Failed to reconnect to an MCP server (Claude Code): what it means and how to fix it

Failed to reconnect to <server>

Claude Code had a working session with the server, lost it, and its automatic reconnection did not succeed. The server stopped answering or its OAuth session expired.

Shown by: Claude Code

Causes, most likely first — and the fix for each

  1. 1A hosted server's OAuth token expired and the refresh failed.

    Fix: Run `/mcp` in Claude Code and re-authenticate the server; if it keeps happening the server's refresh endpoint is the problem — report it to the server's maintainer.

  2. 2The remote endpoint went down or was redeployed.

    Fix: Check it with the Serverdex live check; restart the session once it answers.

  3. 3A local stdio server crashed mid-session.

    Fix: Run it in a terminal to catch the crash; fix the cause; `/mcp` → reconnect.

Still failing?

Work through the twelve general causes in order in MCP server not working: the causes, in order, check the exact config file path and shape for your client in the client setup guides, or generate a known-good config with the config generator.

Sources (read 21 November 2026)

Other MCP errors: MCP error -32000: Connection closed · MCP error -32001: Request timed out · MCP error -32601: Method not found · MCP error -32602: Invalid params · MCP error -32603: Internal error · MCP error -32600: Invalid request · HTTP 406 Not Acceptable from an MCP server · spawn npx ENOENT · spawn uvx ENOENT (and uv, docker) · Server transport closed unexpectedly · Client closed (Cursor) · No tools, prompts, or resources (Cursor) · Unexpected token … is not valid JSON · SSE error: Invalid content type, expected text/event-stream · Could not attach to MCP server (Claude Desktop) · MCP server needs authentication (401 Unauthorized) · MCP OAuth loop (infinite sign-in tabs) · Tools limited to 40 total (Cursor) · executable file not found in $PATH (Antigravity) · MODULE_NOT_FOUND / No module named mcp.server.fastmcp.