MCP server errors and fixes
Fixes for the most common MCP server errors in Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and ChatGPT. Each page explains why the error happens and the fix most likely to work first.
The error means your AI app could not find the npx command.
Python MCP servers usually start with uvx, which comes with the uv package manager.
Claude Desktop only reads claude_desktop_config.json when it starts, and it skips the whole file if the JSON is invalid.
A red dot in Cursor's MCP settings means the server process failed to start or crashed.
Claude Code marks a server as failed when its start command exits or does not answer in time.
ChatGPT only connects to remote MCP servers over a public HTTPS URL.
Most MCP servers that connect to a service need an API key or token, passed as an environment variable in the config.
One stray character makes the whole MCP config unreadable, so every server in it disappears.