[BUG] MCP Connectors failing on Claude Desktop

Status Fixed / completed
Reported on v2.1.70
Maintainer reply None cached
Activity 3 comments · opened May 9, 2026 · closed May 9, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Environment:

OS: Windows 11
Claude Desktop (latest version)
Node.js: v24.15.0

Description:
MCP connectors Vibe Prospecting and Apify were working correctly for several weeks and stopped connecting as of May 8, 2026. On every restart, the following errors appear:

"Could not connect to MCP server Vibe Prospecting"
"MCP Vibe Prospecting: UtilityProcess spawn timeout"
"Could not attach to MCP server Apify"

Steps to reproduce:

Open Claude Desktop on Windows 11
Connectors are added and visible in Settings
Errors appear immediately on startup
Fully quit and restart. Errors persist every time.

What I've checked:

Connectors are properly installed in Claude Desktop
Node.js v24.15.0 is installed and working
No changes were made to my setup. It worked fine for weeks before breaking on May 8.

Expected behavior: Connectors connect successfully on startup as they did before.
Actual behavior: Both connectors fail on every restart with the errors listed above.

What Should Happen?

Connectors connect successfully on startup as they did before.

Error Messages/Logs

Steps to Reproduce

Open Claude Desktop App,

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.70 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] · 5 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/35399
  2. https://github.com/anthropics/claude-code/issues/57559
  3. https://github.com/anthropics/claude-code/issues/50559

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

Halvanhelv · 5 months ago

Closed but possibly useful for others hitting this. Disclaimer up front: what follows is my best-effort hypothesis based on log files, observable Claude Desktop behavior, public MSIX/npm documentation, and related closed issues. I don't have access to Claude Desktop's source, so the root cause is inferred, not confirmed.

TL;DR (hypothesis): For MCP servers spawned via npx -y <pkg>, the MSIX-packaged Claude Desktop on Windows appears to rewrite %APPDATA% for child processes from C:\Users\<u>\AppData\Roaming\ to C:\Users\<u>\AppData\Local\AnthropicClaude\app-<version>\ (this is documented MSIX container behavior for packaged apps that don't opt out via the package manifest). npm's _npx cache lives under %APPDATA%\npm-cache\_npx, so on every Claude restart npx doesn't see its previously-cached extracted package and re-downloads from the registry. Cold start ends up at ~85s on a healthy machine; the ~60s initialize timeout fires; the server is killed ~25s before it would have been ready. Repeats every restart, never converges.

Log signature (%APPDATA%\Claude\logs\mcp-server-<name>.log, timestamps abbreviated):

T+0.0s    Server started and connected successfully    ← this is cmd.exe, not the MCP server
T+0.7s    Message from client: {"method":"initialize"...}
T+60.0s   notifications/cancelled "MCP error -32001: Request timed out"
T+70.8s   <server name> running on stdio               ← server ready, ~10s too late
T+85s     Server transport closed

If you see running on stdio appearing in the log after the timeout fires, you're likely hitting this. The server isn't broken — it just can't beat the clock.

Workaround that worked for me: skip npx at runtime. Install the package globally once and write a direct node <bin path> to claude_desktop_config.json:

{
  "command": "C:\\Program Files\\nodejs\\node.exe",
  "args": ["C:\\Users\\<u>\\AppData\\Roaming\\npm\\node_modules\\@modelcontextprotocol\\server-github\\dist\\index.js"]
}

(after a one-time npm install -g @modelcontextprotocol/server-github)

Spawn cost drops from ~85s cold to ~300ms — and stays that fast on every restart, because no npx registry lookup happens. Reproduces across @modelcontextprotocol/server-github, @notionhq/notion-mcp-server, @roychri/mcp-server-asana@beta, figma-developer-mcp, mcp-remote — not specific to any one server.

On macOS the same npx -y works in ~3–8s. No MSIX, no %APPDATA% rewrite, native execve() (no cmd.exe wrapper), no Defender real-time scanning, faster small-file ops on APFS — fits under the 60s budget. The Windows-specific failure is what makes this look like an MCP-layer bug when it's likely a packaging/env one.

Suggestions for upstream (again, educated guesses based on the above):

  1. Look at the MSIX %APPDATA% rewrite. Whatever it's meant to serve, it appears to silently break every Node tool that caches under %APPDATA% (npm, yarn, pnpm, vite, …). Worth confirming and either documenting or addressing.
  2. Update sample MCP configs in the docs to use globally-installed packages with direct node paths on Windows.
  3. The initialize timeout in Claude Desktop appears unconfigurable at runtime. MCP_TIMEOUT env only affects the claude mcp list CLI health check (per #57559), not the desktop spawn.

Caveat: I can't verify the MSIX env rewrite hypothesis from inside Claude Desktop. Confirmation would require either reproducing in a clean MSIX environment with subprocess env logging, or someone on the Anthropic team checking the actual sandboxing setup. The behavior I'm describing is consistent with everything I've observed, but I could be wrong about the mechanism.

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.