MCP error fixes

Exact error text, the cause, and a fix you can paste. Every guide cites official docs and real GitHub issues.

Cursor

MCP server not showing in Cursor (or showing a red dot)

No tools available • Client closed • red status dot next to the server in Cursor's MCP settings

Claude Desktop

MCP server not showing in Claude Desktop

No hammer/tools icon appears, or "Could not attach to MCP server" / "MCP server failed" in Claude De

Claude DesktopCursorWindsurf

Fix "spawn npx ENOENT" when starting an MCP server

Error: spawn npx ENOENT

Claude DesktopCursorVS Code

MCP servers fail on Windows with npx (use cmd /c)

spawn npx ENOENT • 'npx' is not recognized • Connection closed (Windows only)

Claude DesktopCursorClaude CodeVS Code

MCP server can't see my API key (env vars not passed)

401 Unauthorized • "API key is required" • "Missing environment variable"

Claude DesktopCursorWindsurf

MCP config JSON syntax errors (trailing commas, comments, quotes)

Unexpected token } in JSON at position … • "Failed to parse MCP config" • servers silently missing

CursorVS CodeWindsurfCodex

Too many MCP tools: trimming tools in Cursor, VS Code, Codex and Devin Desktop

Tool limit warnings, slow or confused tool choice, or the agent ignoring tools from a server you enabled

Claude DesktopCursor

Fix "spawn uvx ENOENT" for Python MCP servers

Error: spawn uvx ENOENT

Claude DesktopClaude CodeCursor

"MCP error -32000: Connection closed": what it means and how to fix it

McpError: MCP error -32000: Connection closed

Claude DesktopClaude CodeCursor

"MCP error -32001: Request timed out"

McpError: MCP error -32001: Request timed out

Claude DesktopCursorClaude Code

"Unexpected token … is not valid JSON" from a custom MCP server

SyntaxError: Unexpected token 'S', "Server sta"... is not valid JSON

Claude DesktopCursor

MCP server crashes because the client uses an old Node version

SyntaxError: Unexpected token '?' • ReferenceError: fetch is not defined • ERR_REQUIRE_ESM

Claude Code

Claude Code: MCP server added but not available ("No MCP servers configured")

No MCP servers configured • server missing from /mcp in another folder

Claude Code

Claude Code: MCP server connects but shows no tools (or every tool call fails)

Server shows as connected in /mcp but lists no tools • every tool call from that server fails

VS Code

VS Code ignores my MCP config ("servers" vs "mcpServers")

Server does not appear in Copilot chat or in the MCP Servers list • config copied from Cursor/Claude (or from an old .

Claude DesktopCursorVS CodeClaude Code

GitHub MCP server: "Bad credentials" / 401 errors

401 Bad credentials • "GITHUB_PERSONAL_ACCESS_TOKEN not set"

Windsurf

Windsurf / Devin Desktop: MCP server not loading (mcp_config.json location)

Server missing from Customize → MCPs, or a server you removed keeps coming back, after editing mcp_config.json

Claude Code

Claude Code: MCP server "has a url but no type"

MCP server "" has a "url" but no "type"; add "type": "http" (or "

Claude Code

Claude Code: project MCP server stuck on "Pending approval"

⏸ Pending approval (run `claude` to approve) • server from .mcp.json never loads

Claude CodeCursorClaude DesktopVS CodeCodexGemini CLI

Remote MCP server says "Needs authentication" or 401 after it used to work

Needs authentication • Needs login • 401 Unauthorized • invalid_grant / invalid client after an update

Claude DesktopCursorClaude CodeCodexGemini CLI

Remote MCP server stopped working: old /sse endpoint retired

SSE error: Non-200 status code (404) • 405 Method Not Allowed • server that used an /sse URL no longer connects

Claude DesktopChatGPT

Claude or ChatGPT can't connect to my localhost MCP server

Custom connector or ChatGPT plugin fails to connect to http://localhost:… or a server on your private network, even thou

Gemini CLI

Gemini CLI: remote MCP server won't connect (httpUrl vs url)

Server shows DISCONNECTED in /mcp list • a Streamable HTTP /mcp URL fails while the same URL works in other apps

Claude Desktop

Claude Desktop on Windows: ENOENT with ${APPDATA} in the path

ENOENT … ${APPDATA} … (in Claude's mcp*.log on Windows)

Claude Code

Claude Code: MCP tool output is too large (MAX_MCP_OUTPUT_TOKENS)

Warning that an MCP tool's output exceeds 10,000 tokens • results cut off at 25,000 tokens • long results saved to a

Codex

Codex: "MCP client for `server` timed out after 10 seconds"

MCP client for `` timed out after N seconds. Add or adjust `startup_timeout_sec` in your config.toml

Weekly MCP digest
New servers, breaking changes, and fresh fixes. One email a week.