MCP Config Generator

Free

Paste a server URL or package name — get a ready-to-paste config for Claude Desktop, Cursor, and Zed. No sign-up.

Loading...

How to add an MCP server to Claude Desktop

Claude Desktop reads MCP server configuration from ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, or %APPDATA%\Claude\claude_desktop_config.json on Windows.

Generate your config above, open the file, and merge the mcpServers object into the existing JSON. Restart Claude Desktop for the changes to take effect.

How to add an MCP server to Cursor

Cursor uses the same mcpServers format as Claude Desktop. Config lives at .cursor/mcp.json inside your project (project-scoped) or ~/.cursor/mcp.json globally.

Generate your config above, copy it, and paste it into the appropriate file. Cursor picks up changes automatically.

Remote vs STDIO MCP servers

Remote (HTTP / SSE)

The server runs somewhere on the internet. Your client connects to it over HTTPS. Config just needs the URL — no local installation required.

STDIO (npm / PyPI)

The server runs locally as a child process. Your client spawns it via npx or uvx and communicates over stdin/stdout.

Frequently asked questions

Do I need to install anything for remote MCP servers?
No. Remote HTTP/SSE servers run on their own infrastructure. Your config just tells Claude Desktop or Cursor where to connect.
What is npx -y doing in the STDIO config?
npx -y downloads and runs the npm package on demand, automatically confirming any prompts. The server process is managed by your MCP client.
What is uvx?
uvx is a tool from the uv Python package manager that runs a PyPI package as a one-off command — the Python equivalent of npx. Install uv from astral.sh/uv.
My server needs an API key — where does it go?
Add it as an environment variable in the generator above. For STDIO servers it goes in the "env" field; for remote servers it goes in "headers" (as a Bearer token or custom header).