MCP Server Config Generator
Hand-editing claude_desktop_config.json is error-prone. Pick Model Context Protocol servers from presets, tweak the command, arguments, and environment variables, and get validated mcpServers JSON — ready for Claude Desktop, Cursor, Windsurf, or Claude Code.
1. Choose servers
3. Get your JSON
{ "mcpServers": {} }
Where does this config go?
- Claude Desktop: paste the
mcpServersobject intoclaude_desktop_config.json(Settings → Developer → Edit Config), then restart the app. - Cursor / Windsurf: add servers in the MCP settings panel — the same JSON shape applies.
- Claude Code: use
claude mcp addin the terminal, or drop the JSON into your project's.mcp.json.
Security note: never paste real API keys into a website you don't trust — and don't commit keys to git. This page runs fully offline in your browser and sends nothing anywhere, but treat generated files with secrets carefully.
FAQ
Where does the config file live?
Claude Desktop reads ~/Library/Application Support/Claude/claude_desktop_config.json on Mac (or %APPDATA%\Claude on Windows). Cursor and Claude Code use their own MCP settings files.
Do I need to restart the app?
Yes — most MCP clients only load server configs at startup, so restart the app after saving changes.
How do I add API keys?
Put secrets in the server's env object rather than in the command line, and never commit the config file to a public repo.