🔌 Free tool

MCP config generator & converter

Pick your servers, pick your app, copy. Or paste a config from one app and get it for another. Free, and nothing leaves your browser.

Pick your servers

More options remote or local, API key or sign-in, your own server

Add your own server

Kind
Guide

What is an MCP config?

The Model Context Protocol (MCP) is the open standard AI apps use to connect to tools: GitHub, a browser, your database, your issue tracker. Each tool runs as an MCP server. Your AI app (the client) finds its servers in a small config file: a name for each server, plus either the command that starts it on your computer (a local server) or the URL it lives at (a remote server).

The idea is the same everywhere, but every app spells the file differently: a different file name and location, a different top-level key, different names for the URL field and a different way to read secrets. That's the part this tool takes care of.

Where each app keeps its MCP config

AppFileTop-level keyRemote serverSecrets
Claude Code.mcp.json (project) · ~/.claude.json (user)mcpServers"type": "http" + url${VAR}, ${VAR:-default}
Claude Desktopclaude_desktop_config.jsonmcpServersSettings → Connectors, or mcp-remoteTyped into the file
Cursor.cursor/mcp.json · ~/.cursor/mcp.jsonmcpServersurl${env:VAR}
VS Code.vscode/mcp.jsonservers (+ inputs)"type": "http" + url${input:id} prompt, ${env:VAR}
GitHub Copilot (new)~/.copilot/mcp-config.jsonmcpServers"type": "http" + url${VAR}
Windsurf~/.codeium/windsurf/mcp_config.jsonmcpServersserverUrl${env:VAR}
Codex~/.codex/config.toml[mcp_servers.name] (TOML)urlenv_vars, bearer_token_env_var
Gemini CLI~/.gemini/settings.jsonmcpServershttpUrl (url = SSE)${VAR}
Antigravity~/.gemini/config/mcp_config.jsonmcpServersserverUrlTyped into the file
Zedsettings.jsoncontext_serversurlTyped into the file

On Windows, ~ is your user folder (%USERPROFILE%), for example C:\Users\you\.cursor\mcp.json.

Where is claude_desktop_config.json?

The easy way: in Claude Desktop open Settings → Developer → Edit Config. The file only starts local servers. To add a remote server, use Settings → Connectors → Add custom connector, or bridge it with npx -y mcp-remote <url> (the generator does this for you). Quit and reopen Claude Desktop after every change.

Local or remote server?

Remote servers run on the service's side: you paste a URL and sign in with OAuth. Nothing to install, nothing to update, and no key sitting in a file. GitHub, Linear, Notion, Sentry, Stripe, Figma, Atlassian, Vercel, Cloudflare and Supabase all have official remote servers. Local servers run on your computer through npx, uvx or docker. You need them when the tool works with your machine: files, a browser, git, a local database.

Keep API keys out of your config

Config files get committed, shared in screenshots and pasted into chats. This generator never puts a key in the file: it writes a reference like ${GITHUB_PAT} (or each app's own version of it), and shows you the one command that sets the variable on your computer. VS Code gets an inputs prompt instead, so it asks once and stores the key securely. Three apps (Claude Desktop, Antigravity and Zed) can't read variables in their config; for those you get a clear <PLACEHOLDER> to fill in, in a file that should stay on your machine.

Common MCP config mistakes (the checker finds these)

MistakeWhat happens
npx without -ynpx waits for "Ok to proceed?" and the server never starts
docker run without -iThe server can't read requests from the app
A url with no "type" in Claude CodeClaude Code treats it as a local command and fails
url instead of httpUrl in Gemini CLIGemini connects with the old SSE transport
servers vs mcpServersThe app silently finds no servers
An API key typed into the fileAnyone who sees the file can use your account
Archived packages (@modelcontextprotocol/server-github, -postgres, -brave-search, -puppeteer…)No more fixes; most have an official replacement
SSE endpoints (…/sse)SSE is deprecated in the MCP spec; Notion's SSE endpoint shuts down in February 2027

Example: the same server in three apps

GitHub's official remote server with a personal access token read from GITHUB_PAT:

Claude Code (.mcp.json)

{
  "mcpServers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/",
      "headers": { "Authorization": "Bearer ${GITHUB_PAT}" }
    }
  }
}

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "github": {
      "url": "https://api.githubcopilot.com/mcp/",
      "headers": { "Authorization": "Bearer ${env:GITHUB_PAT}" }
    }
  }
}

Codex (~/.codex/config.toml)

[mcp_servers.github]
url = "https://api.githubcopilot.com/mcp/"
bearer_token_env_var = "GITHUB_PAT"

Sources: Claude Code MCP, Claude Desktop (modelcontextprotocol.io), Cursor, VS Code, Windsurf, Codex, Gemini CLI, Antigravity, Zed, and each server's own docs (linked in the generator). Checked 26 November 2026.

Next: tell your agent how your project works

MCP servers give an agent tools. To give it your project's rules (the test command, the code style, what it must not touch), make an AGENTS.md and CLAUDE.md. For a repeatable job, write a skill.

FAQ

How do I add an MCP server to Claude Code?

Run claude mcp add in your terminal, for example claude mcp add --transport http linear https://mcp.linear.app/mcp for a remote server, or claude mcp add playwright -- npx -y @playwright/mcp@latest for a local one. Add --scope project to save it in .mcp.json so your team gets it too. This tool writes the commands for you.

Where is claude_desktop_config.json?

On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows: %APPDATA%\Claude\claude_desktop_config.json. On Linux: ~/.config/Claude/claude_desktop_config.json. The quickest way to open it is Settings → Developer → Edit Config in Claude Desktop.

Is Cursor's mcp.json the same as VS Code's?

No. Cursor uses "mcpServers" in .cursor/mcp.json and reads secrets with ${env:NAME}. VS Code's .vscode/mcp.json uses "servers", needs a "type" on every server, and can prompt for secrets with an "inputs" list. The newer Copilot format (mcp-config.json) goes back to "mcpServers". Paste one into the converter on this page to get the other.

How do I add MCP servers to Codex?

Codex reads TOML, not JSON: add a [mcp_servers.<name>] table to ~/.codex/config.toml with command and args for a local server, or url for a remote one. Keys go in env_vars or bearer_token_env_var so they are read from your environment. You can also run codex mcp add. The same config is used by the Codex CLI, the IDE extension and the app.

Why won't my MCP server start?

The usual causes: npx without -y waiting for an install prompt, a Node.js version that is too old, docker run without -i, a remote URL without "type": "http" in Claude Code, or an environment variable that isn't set in the app's environment. Restart the app after every change. Paste your config into the checker on this page to find these.

Should I use a remote or a local MCP server?

If the service has an official remote server (GitHub, Linear, Notion, Sentry, Stripe, Figma…), use it: nothing to install, it updates itself, and you sign in with OAuth instead of storing a key. Use a local server when it needs your machine: files, a browser, git, or a database on your network.

Does this tool upload my config?

No. The generator, converter and checker run entirely in your browser. Nothing you paste or type is sent anywhere.

Esc

↑↓ moveEnter open