MCP config generator

Enter an MCP server — npm, PyPI, Docker or a remote URL — and get the exact config to paste into Claude Desktop, Cursor, VS Code or Cline, plus one-click install. Everything is built in your browser.

One per line. KEY leaves a placeholder; KEY=value keeps the value.

Paste into claude_desktop_config.json

{
  "mcpServers": {
    "my-server": {
      "command": "npx",
      "args": [
        "-y",
        "@your-org/your-mcp"
      ]
    }
  }
}

Or add it from the VS Code command line

code --add-mcp '{"name":"my-server","type":"stdio","command":"npx","args":["-y","@your-org/your-mcp"]}'

Nothing is sent anywhere — the config is built in your browser. Restart your client after editing its config file.

How it works

Every MCP client reads a small JSON config that tells it how to start a server — a command to run (npx, uvx, docker) or a remote URL. The shape is nearly the same everywhere, with one wrinkle: Claude Desktop, Cursor and Cline use a mcpServers map, while VS Code uses a servers map with an explicit type. This tool writes both for you.

Looking for a specific server? Every listing on the Serverdex directory already shows its ready-to-paste config and one-click install, drawn from the official MCP registry.

Built an MCP server? List it on Serverdex so developers find it — free.