MCP server failed to start or connect — page 3
A configured MCP server never completed its handshake or dropped out.
241 issues · 26 open · 215 resolved (89%) · first seen Mar 5, 2025
First response · integration
What to do now
Most likely: A local integration or child process did not satisfy Claude Code’s expected contract.
- Isolate the failing MCP server, shell command or editor integration.
- Run that dependency directly and capture its exit code and stderr.
- Compare with a clean configuration before editing global settings.
These are conservative triage steps, not an official Anthropic fix. Use the issue and workaround evidence below before making a destructive configuration change.
Is this getting better or worse?
This class of problem is converging. 46 new reports in the last 90 days vs 67 in the 90 before — -31%. The open backlog peaked at 46 in 2026-08 and sits at 26 today.
Derived by counting each matching issue from its creation date until it closed. First-party
computation over the anthropics/claude-code tracker — the trend is not published
anywhere upstream.
Which builds report this
145 of these reports name the Claude Code build they were running, spanning 93 releases. Heaviest reporters:
- Claude Code v2.1.220
- Claude Code v2.1.114
- Claude Code v2.1.63
- Claude Code v2.1.216
- Claude Code v2.1.181
- Claude Code v2.1.141
- Claude Code v2.1.126
- Claude Code v2.1.123
Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.
Do these get fixed?
Median time to close is 30 days across 215 closures. Of the 215 closures with a recorded reason, 18% were closed as completed and 177 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
84 of these issues post a workaround someone says worked. The highest-engagement ones:
- Claude.ai MCP servers auto-injected into Claude Code without opt-in — causes OOM crashes on resource-constrained systems
- …r's Claude.ai account and load them into every CLI session. Workaround Manually editing to set: However, this is a cached flag and may be overwritten on next update/startup. Expected Behavior 1. This should be opt-in, no…
Found in the description of #20412 · resolved - [BUG] Slack plugin fails to authenticate - "does not support dynamic client registration"
- …blocking real workflow automation for us. Why the bot token workaround ( ) doesn't work: - Bot tokens require the bot to be invited to every channel. In an enterprise workspace with dozens of relevant channels, this is i…
Found in the thread of #18009 · resolved - [FEATURE] Claude can reconnect to a broken MCP in a manner similar to how it performs other actions
- …call pauses the conversation rather than letting the model work around it. Together with the reconnection UX proposed in this issue, the behavior tiers would be: Scenario Action ---------- -------- Server process crashe…
Found in the thread of #10071 · still open - [BUG] Claude Code SDK: SDK MCP server faills to connect due to closed stream
- I encountered the same issue today and was able to work around it with a minimal adjustment: 1. Refactored into an MCP Server using (this was straightforward since the code format is nearly identical). 2. Updated the def…
Found in the thread of #6710 · resolved - [BUG] OAuth Authentication Succeeds but MCP Reconnection Fails - Requires Restart
- …ansport - Server is properly configured for streamable-http Workaround Restart Claude Code after OAuth authentication completes. The stored tokens are preserved and work correctly after restart. Impact - Poor user experi…
Found in the description of #10250 · resolved
Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.
Matching issues 201–241
Ranked by community engagement (reactions weighted over comments).
- HTTP MCP servers with OAuth don't trigger browser auth flow
- [Bug] /new command not recognized when issued by user in conversation
- [Bug] AskUserQuestion tool auto-answers without showing interactive UI in v2.1.63
- [BUG] Agent Teams: Catastrophic agent lifecycle failures, duplicate spawning, and mailbox polling waste
- [BUG] AWS MCP proxy (mcp-proxy-for-aws) fails during initialization with -32602: Invalid request parameters
- [Bug] MCP HTTP Transport: JSON-RPC validation paradox - rejects valid jsonrpc: 2.0
- Feature Request: Include error details in mcpServerStatus() response
- [Bug] Claude Code hangs indefinitely without progress
- [Feature Request] Support mTLS Client Certificates for SSE MCP Transport
- Unhandled Promise Rejection: MCP Connection Closed Error
- [BUG] non-interactive mcp add doesn't accept arguments
- [BUG] mcp add incorrectly escapes command line arguments
- [BUG] VS Code integrated-browser MCP tools hang forever: action completes in browser but result never returns; session stuck until manual interrupt
- Claude Design MCP server: FIRST_PARTY_AUTH_REJECTED (HTTP 403) despite plugin being installed
- MCP stdio server intermittently reports CONNECTION_CLOSED on session start, then works fine seconds later
- Session hangs indefinitely mid-turn: ide MCP tool calls (auto getDiagnostics on Write) have no timeout, while connect does
- [BUG] MCP HTTP connection hangs indefinitely at 'basic HTTP connectivity' pre-check (custom CA-merge agent) — external tools connect instantly
- Windows: MCP servers spawned under Bun never complete the stdio handshake (-32000); Node works
- stdio MCP server: tools are not re-registered after an automatic respawn — one call succeeds, then "No such tool available" for the rest of the session
- [BUG] MCP streamable-HTTP: an immediate 404 "Session not found" is surfaced as -32001 Request timed out, the session is never re-initialized, and the call is silently lost
- stdio MCP servers are killed mid-session with no error output; all servers drop simultaneously
- [plugin: telegram] Concurrent sessions race on bun install, MCP server fails to start (EEXIST -> -32000 Connection closed)
- HTTP MCP transport: connectivity preflight omits configured headers, treats resulting 401 as fatal
- [BUG] Long-lived VS Code session keeps stale claude.ai connector ID and cannot recover from 404 Server not found
- [BUG] Local git credential proxy fails in Routines (scheduled trigger) — same root cause as #27344
- [BUG] stdio MCP server stuck disconnected/cycling after --resume — headless sessions have no recovery path
- [BUG] MCP HTTP transport hangs 30s and fails to connect on any dual-stack server when the host's IPv6 route is dead (no IPv4 fallback)
- Windows: stdio MCP server spawning ssh.exe never connects (same server works via macOS client, Codex CLI, and manual pipe)
- [Bug] /mcp reconnect kills already-connected stdio servers via shared batch deadline (-32000)
- [Desktop] computer-use request_access hangs forever — approval side panel never renders after 1.18286.0 auto-update
- [MCP browser-automation] Improve timeout error messages with diagnostics
- [MCP browser-automation] Increase timeout limit from 60000ms
- browser_wait_for_selector times out with MCP error -32000
- [FEATURE] Expose MCP server connection status to statusLine commands and hooks
- [BUG] VS Code terminal mode: daemon-hosted session can never hold the IDE connection (front-end keeps reclaiming it), so mcp__ide__* tools are missing
- [BUG] MCP tools/call is re-sent after '-32000 Connection closed' mid-call, so a non-idempotent tool runs twice
- [BUG] MCP session-expiry recovery retries `tools/call` only; `readMcpResource` still fails once with `Connection closed` after a Streamable HTTP server restart
- [BUG] Claude Code 2.1.252 subprocess hangs indefinitely on socket handoff — host reports misleading 60s 'authentication and network connectivity' timeout
- No supported configuration path for DNS: settings.json `env` is applied after Bun runtime init
- New Claude Code channel fails to connect: "claude-vscode" MCP tool-permission stream aborts after 60s when another channel is already active
- Claude Code panel stays blank in GitHub Codespaces — concurrent session spawns deadlock on .claude.json lock