MCP config generator

Updated

Enter an MCP server once, as a remote URL or a local command, and get the documented way to add it to each client: the command where the client has one, the config file with its project and user paths, and the JSON, TOML or YAML to put in it. Each block has a copy button and a link to the vendor page it follows. The example is the Docs MD server; replace it with your own. Everything runs in your browser.

The name each client lists the server under.

How the client reaches the server

The Streamable HTTP endpoint, usually ending in /mcp.

HTTP headers (optional)

Values stay in this tab. A copied link keeps the names only.

Written only for clients that document a per-server timeout setting.

Clients (5 of 21 selected)

Setup for each selected client

Claude Code

Source: Claude Code: Connect to tools via MCP. Checked .

Command (this project, only you)

claude mcp add --transport http docs-md https://docs-md.com/mcp

Command (all your projects)

claude mcp add --transport http docs-md --scope user https://docs-md.com/mcp

Project file, shared with the team

.mcp.json (project)

{
  "mcpServers": {
    "docs-md": {
      "type": "http",
      "url": "https://docs-md.com/mcp"
    }
  }
}

The same command with --scope project writes this entry for you.

Tool-call timeout:
No short limit on the whole call (MCP_TOOL_TIMEOUT defaults to 100000000 ms, about 28 hours). For an HTTP server each request must return its first response byte within 60 seconds unless a longer tool timeout applies, and an idle window of five minutes applies after that. To change it: Per-server "timeout" in milliseconds, or MCP_TOOL_TIMEOUT for all servers.
Check the connection:
Run claude mcp list: each server shows Connected, Needs authentication or Failed to connect. Inside a session, /mcp shows the tool count.
Before you paste: 4 notes on Claude Code
  • Scopes: local is the default (this project, only you, stored in ~/.claude.json); project writes .mcp.json for everyone on the project; user covers all your projects.
  • A JSON entry with a "url" and no "type" is a configuration error: Claude Code reads an entry without "type" as a stdio server.
  • Put --env before another option such as --transport: directly before the server name, the name is read as one more KEY=value pair.
  • Servers from .mcp.json need your approval in an interactive session before they connect.

Codex

Covers Codex CLI, Codex IDE extension, ChatGPT desktop app.

Source: Codex: Model Context Protocol. Checked .

Command

codex mcp add docs-md --url https://docs-md.com/mcp

Config file

~/.codex/config.toml (all your projects), or .codex/config.toml (project)

[mcp_servers.docs-md]
url = "https://docs-md.com/mcp"
Tool-call timeout:
60 seconds to run a tool (tool_timeout_sec), 10 seconds for the server to start (startup_timeout_sec). To change it: tool_timeout_sec in the server table, in seconds.
Check the connection:
Run codex mcp list to see configured servers, or type /mcp in the Codex TUI to see the active ones.
Before you paste: 4 notes on Codex
  • The ChatGPT desktop app, Codex CLI and the IDE extension share this configuration.
  • A project .codex/config.toml is read in trusted projects only.
  • codex mcp add has no header flag. Headers go in config.toml: http_headers for fixed values, env_http_headers to read a value from an environment variable, bearer_token_env_var for a bearer token.
  • IDE extension: gear menu > MCP servers > Add server, choose STDIO or Streamable HTTP, save, then Restart extension.

Cursor

Covers Cursor editor and Cursor CLI.

Source: Cursor: Model Context Protocol (MCP), Cursor: MCP install links. Checked .

Config file

.cursor/mcp.json (project), or ~/.cursor/mcp.json (all your projects)

{
  "mcpServers": {
    "docs-md": {
      "url": "https://docs-md.com/mcp"
    }
  }
}

Install link

cursor://anysphere.cursor-deeplink/mcp/install?name=docs-md&config=eyJ1cmwiOiJodHRwczovL2RvY3MtbWQuY29tL21jcCJ9

Open this link (Cursor)

Tool-call timeout:
Not documented.
Check the connection:
Enable or disable the server from Customize in the sidebar. Connection errors appear under "MCP Logs" in the Output panel.
Before you paste: 4 notes on Cursor
  • .cursor/mcp.json applies to one project; ~/.cursor/mcp.json applies to every project you open in the editor or the CLI.
  • Hosted Cloud Agents do not read ~/.cursor/mcp.json.
  • Values can use ${env:NAME} in command, args, env, url and headers.
  • Cursor asks for approval before using an MCP tool by default.

VS Code with GitHub Copilot

Source: VS Code: MCP configuration reference, VS Code: Add and manage MCP servers. Checked .

Config file

.mcp.json (project), or ~/.copilot/mcp-config.json (all your projects)

{
  "mcpServers": {
    "docs-md": {
      "type": "http",
      "url": "https://docs-md.com/mcp",
      "tools": ["*"]
    }
  }
}

Deprecated format

.vscode/mcp.json (project)

{
  "servers": {
    "docs-md": {
      "type": "http",
      "url": "https://docs-md.com/mcp"
    }
  }
}

Only for a setup that still uses the Local harness, which VS Code says it will remove in February 2027.

Install link

vscode:mcp/install?%7B%22name%22%3A%22docs-md%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdocs-md.com%2Fmcp%22%7D

Open this link (VS Code with GitHub Copilot)

It opens the server details editor for review. The docs do not say which file it writes to.

Tool-call timeout:
Not documented on the VS Code pages, which point to the Copilot CLI guidance for runtime options.
Check the connection:
Run Chat: Open Customizations and select MCP Servers to see and manage servers. MCP: List Servers opens the server controls.
Before you paste: 5 notes on VS Code with GitHub Copilot
  • The current files are .mcp.json at the workspace root and ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json when COPILOT_HOME is set), both with a top-level "mcpServers" key.
  • .vscode/mcp.json and the profile mcp.json use the older "servers" key. The reference dated 11/18/2026 calls that the deprecated Local harness format and says the Local harness will be removed in February 2027.
  • Guided setup offers the workspace-root .mcp.json only when the experimental setting chat.mcp.workspaceRootConfig.enabled is on. A file that already exists is read either way.
  • Server names: the docs say to avoid whitespace and special characters and to use camelCase for multi-word names.
  • MCP: Open User Configuration opens the editor-managed profile mcp.json, not the Copilot user file.

Gemini CLI

Source: Gemini CLI: MCP servers. Checked .

Command (this project)

gemini mcp add --transport http docs-md https://docs-md.com/mcp

Command (all your projects)

gemini mcp add --transport http --scope user docs-md https://docs-md.com/mcp

Settings file

.gemini/settings.json (project), or ~/.gemini/settings.json (all your projects)

{
  "mcpServers": {
    "docs-md": {
      "httpUrl": "https://docs-md.com/mcp"
    }
  }
}
Tool-call timeout:
600 seconds (600,000 ms) per request. To change it: "timeout" in the server entry, in milliseconds.
Check the connection:
Run gemini mcp list: each server shows Connected or Disconnected. In a session, /mcp shows the status and the tools.
Before you paste: 4 notes on Gemini CLI
  • In settings.json, "httpUrl" means Streamable HTTP and "url" means the older SSE transport.
  • gemini mcp add writes to the project file .gemini/settings.json by default; --scope user writes to ~/.gemini/settings.json.
  • settings.json holds other settings too: merge "mcpServers" into the file you have.
  • The README now positions Gemini CLI for Gemini Code Assist Standard and Enterprise licences. Free and Google AI Pro / Ultra access moved to Antigravity CLI on June 18, 2026, and Antigravity does not accept "httpUrl".

What is an MCP config, and where does each client keep it?

An MCP config is the entry that tells a client which MCP server to connect to: a name, and either a URL or a command that starts the server. Each client stores that entry in its own place and its own shape. Most use a JSON file with a top-level mcpServers key. Zed uses context_servers in its settings file, OpenCode nests servers under mcp.servers, Codex uses a TOML table named [mcp_servers.name], and Continue and Goose use YAML. Claude on the web, Claude Desktop and ChatGPT have no file for a remote server: you add it in the app.

Most clients read two files. The one inside the project can be committed, so everyone who opens the repository gets the server. The one in your home directory follows you across projects. 7 of the 21 clients also have a command that writes the entry for you.

Where each MCP client keeps its server list, checked 2026-11-24
ClientCommandProject fileUser file
Claude Codeclaude mcp add.mcp.json~/.claude.json, written by the command (local and user scope)
Claude (web and desktop)none documentedAdded in the app, by URL
ChatGPTnone documentedAdded in the app, by URL
Codexcodex mcp add.codex/config.toml~/.codex/config.toml
Cursornone documented.cursor/mcp.json~/.cursor/mcp.json
VS Code with GitHub Copilotnone documented.mcp.json~/.copilot/mcp-config.json
GitHub Copilot CLIcopilot mcp add.mcp.json.github/mcp.json~/.copilot/mcp-config.json
GitHub Copilot cloud agentformerly Copilot coding agentnone documentedRepository Settings > Copilot > MCP servers, then Save MCP configuration
Gemini CLIgemini mcp add.gemini/settings.json~/.gemini/settings.json
Google Antigravitynone documented.agents/mcp_config.json~/.gemini/config/mcp_config.json
Devin Desktopformerly Windsurfdevin mcp add.devin/mcp_config.json.devin/mcp_config.local.json~/.config/devin/mcp_config.json
Zednone documentedZed settings.json
Clinecline mcp addnone documented~/.cline/data/settings/cline_mcp_settings.json
Continuenone documented.continue/mcpServers/docs-md.yamlnone documented
OpenCodeopencode mcp addopencode.json~/.config/opencode/opencode.json
Goosenone documentednone documented~/.config/goose/config.yaml
JetBrains AI Assistantnone documentedSettings | Tools | AI Assistant | Model Context Protocol (MCP) > Add, then OK and Apply
JetBrains Junienone documented.junie/mcp/mcp.json~/.junie/mcp/mcp.json
Kiroformerly Amazon Q Developer CLI (now Kiro CLI)none documented.kiro/settings/mcp.json~/.kiro/settings/mcp.json
LM Studionone documentedProgram tab in the right sidebar > Install > Edit mcp.json
Warpnone documented.warp/.mcp.json~/.warp/.mcp.json

Each client name links to the vendor page the row was read from on 2026-11-24. For the background on the protocol itself, see what MCP is and the list of MCP servers; for one server at work inside an editor, see sharing markdown from Cursor and Claude with MCP.

Should I enter a remote URL or a local command?

Enter the URL when the server is hosted somewhere. Nothing is installed on your machine, and every client on this page documents a native way to reach a Streamable HTTP endpoint. Enter a command when the server is a program on your own machine: the client starts it, talks to it over standard input and output (stdio), and stops it when the session ends. Headers belong to the first kind and environment variables to the second.

The same URL is not written the same way everywhere. Four clients read the obvious spelling differently:

  • Cline needs "type": "streamableHttp". Without a type it uses the older SSE transport (Cline docs).
  • Gemini CLI reads httpUrl as Streamable HTTP and url as SSE (Gemini CLI docs).
  • Antigravity wants serverUrl and does not support httpUrl (Antigravity docs).
  • Claude Code treats a JSON entry that has a url but no type as a configuration error, because an entry without a type is read as a local command (Claude Code docs).

Claude on the web, Claude Desktop and ChatGPT take a URL only. For Claude the connection comes from Anthropic's servers, not from your machine (Claude docs), so the URL has to be reachable from the internet. For a local command, most command-line clients put -- between their own options and the command that starts the server; the generator places it where each vendor documents it.

Why does a long MCP tool call get cut off?

Because the client runs a timer on every tool call. When the timer ends the client drops the call and the agent sees an error, even if the server would have answered a moment later. A tool that waits on purpose, for another agent's reply or for a job to finish, meets this first. The shortest documented default is 30 seconds, several clients use 60, and 9 of the 21 vendors publish no number.

Documented limit on one MCP tool call per client, checked 2026-11-24
ClientDocumented limit on one tool callSetting that changes it
GitHub Copilot CLI30 s30 seconds (30000 ms) for tool discovery and tool calls. A call that keeps sending progress notifications is cancelled at ten times the timeout.source for GitHub Copilot CLI--timeout <ms> on copilot mcp add, or "timeout" in the server entry, in milliseconds
Claude Code60 s to the first response byte (HTTP servers)No short limit on the whole call (MCP_TOOL_TIMEOUT defaults to 100000000 ms, about 28 hours). For an HTTP server each request must return its first response byte within 60 seconds unless a longer tool timeout applies, and an idle window of five minutes applies after that.source for Claude CodePer-server "timeout" in milliseconds, or MCP_TOOL_TIMEOUT for all servers
Codex60 s60 seconds to run a tool (tool_timeout_sec), 10 seconds for the server to start (startup_timeout_sec).source for Codextool_timeout_sec in the server table, in seconds
Zed60 s60 seconds for MCP requests, tool calls included (context_server_timeout). Timeouts are capped at 600 seconds.source for Zed"timeout" in the server entry, in seconds, or context_server_timeout for all servers
Cline60 s (from the source code)60 seconds by default, settable from 1 to 3600 seconds. The number is in the repository source; the docs only say "Set request timeouts".source for Clinenone documented
JetBrains Junie60 s60 seconds for every request to the server: the startup handshake, listing tools and each tool call.source for JetBrains Junie"timeout" in the server entry, in milliseconds, from 1000 to 3600000
Kiro120 s (Kiro CLI)Kiro CLI: 120 seconds per call (requestTimeout, 120000 ms). The connection handshake gets 60 seconds (timeout, 60000 ms).source for KirorequestTimeout in the agent configuration, in milliseconds
Google Antigravity180 s180 seconds per tool call, and 300 seconds to connect and list tools.source for Google Antigravity"timeoutSeconds" in the server entry replaces both limits; a negative value turns both off
Claude (web and desktop)240 s240 seconds per tool call on claude.ai and Claude Desktop.source for Claude (web and desktop)none documented
Goose300 s in every exampleSet per extension in seconds. Every documented example uses 300; no default is stated.source for Goose"timeout" in the extension entry, in seconds
Gemini CLI600 s600 seconds (600,000 ms) per request.source for Gemini CLI"timeout" in the server entry, in milliseconds
OpenCode12 h12 hours for tool calls (execution). Startup and listing tools each get 30 seconds.source for OpenCodePer-server "timeout" overrides
ChatGPTNot documentedvendor page checked for ChatGPTnone documented
CursorNot documentedvendor page checked for Cursornone documented
VS Code with GitHub CopilotNot documentedNot documented on the VS Code pages, which point to the Copilot CLI guidance for runtime options.vendor page checked for VS Code with GitHub Copilotnone documented
GitHub Copilot cloud agentNot documentedvendor page checked for GitHub Copilot cloud agentnone documented
Devin DesktopNot documentedvendor page checked for Devin Desktopnone documented
ContinueNot documentedNot documented for tool calls. Only connectionTimeout, for the first connection, is described.vendor page checked for Continuenone documented
JetBrains AI AssistantNot documentedvendor page checked for JetBrains AI Assistantnone documented
LM StudioNot documentedvendor page checked for LM Studionone documented
WarpNot documentedvendor page checked for Warpnone documented

If you control the client, raise the limit where a setting exists: fill in the timeout field above and the generator writes it in that client's unit. If you write the server or the agent's instructions, do not depend on one long call. Have the tool wait a short, fixed time and return, and let the agent call again. Waiting in turns of 25 seconds stays under the shortest documented default, the 30 seconds of GitHub Copilot CLI. Why an MCP tool call times out goes through each client and the settings in detail.

How do I check that the MCP server is connected?

Look at the client's own status view first, then ask the agent which tools the server offers. A server can be saved in the file and still not be connected: a project server may wait for your approval, and a remote one may wait for a sign-in. These are the documented checks:

  • Claude Code: Run claude mcp list: each server shows Connected, Needs authentication or Failed to connect. Inside a session, /mcp shows the tool count.
  • Claude (web and desktop): In a chat, select +, then Connectors, and turn the connector on. Ask which tools it offers.
  • Codex: Run codex mcp list to see configured servers, or type /mcp in the Codex TUI to see the active ones.
  • Cursor: Enable or disable the server from Customize in the sidebar. Connection errors appear under "MCP Logs" in the Output panel.
  • VS Code with GitHub Copilot: Run Chat: Open Customizations and select MCP Servers to see and manage servers. MCP: List Servers opens the server controls.
  • GitHub Copilot CLI: Run copilot mcp list to list servers from every source. In a session, /mcp show NAME shows the status of a server and its tools.
  • GitHub Copilot cloud agent: Open the session logs (View session) and expand the Start MCP Servers step: the tools of each started server are listed at the bottom.
  • Gemini CLI: Run gemini mcp list: each server shows Connected or Disconnected. In a session, /mcp shows the status and the tools.
  • Google Antigravity: In Antigravity CLI, type /mcp to open the MCP manager, which shows a live status for each server. In the app, see the MCP Servers section of the Customizations page.
  • Devin Desktop: Run devin mcp list to list configured servers, or devin mcp get <name> for one.
  • Zed: Open Settings > AI > MCP Servers: the dot next to a running server is green and its tooltip says "Server is active".
  • OpenCode: Run opencode mcp list. In a session, /mcps lets you view, connect, disconnect or authenticate servers.
  • JetBrains AI Assistant: On the same settings page, the Status column shows the connection. Click the icon in that column to list the tools.
  • JetBrains Junie: Type /mcp to list servers with a status: Starting, Active, Inactive, Disabled, Failed, Authorization required or Approval required.
  • Kiro: In the IDE, open the MCP Servers view in the Kiro panel. In Kiro CLI, /mcp reports a server that did not start.
  • Warp: Settings > Agents > MCP servers lists every server and shows which are running. View Logs opens the log of one server.

With the default example, a first test that changes nothing is to ask the agent to read a shared document through the docs-md server, since reading needs no key. Connect an agent to the Docs MD MCP server continues from there.

Questions about MCP config generator

Which MCP clients does the generator cover?

21 clients with a documented way to add a remote MCP server: Claude Code, Claude (web and desktop), ChatGPT, Codex, Cursor, VS Code with GitHub Copilot, GitHub Copilot CLI, GitHub Copilot cloud agent, Gemini CLI, Google Antigravity, Devin Desktop, Zed, Cline, Continue, OpenCode, Goose, JetBrains AI Assistant, JetBrains Junie, Kiro, LM Studio, Warp. Each one was checked against its vendor page on 2026-11-24, and every card links that page. The Roo Code extension was shut down on May 15, 2026 and its repository is archived, so it has no entry here.

Do I need mcp-remote or another bridge for a remote MCP server?

Not for the clients on this page. Each of them documents a native way to connect to a Streamable HTTP endpoint by URL. A bridge such as mcp-remote wraps a remote server in a local command (npx -y mcp-remote followed by the URL). Warp shows that form as one option in its examples, next to a plain URL entry; none of the vendor pages requires it.

Why is the same server written differently for each client?

The protocol defines how a client talks to a server, not how a client stores its list of servers, so every vendor chose a format. Most use JSON with a top-level "mcpServers" key, but the field for the address is "url" in Cursor, "httpUrl" in Gemini CLI, "serverUrl" in Antigravity and "uri" in Goose, and the type value is "http" in Claude Code, "streamableHttp" in Cline and "remote" in OpenCode. Codex uses TOML, and Continue and Goose use YAML.

Is the server URL or a header I type sent anywhere?

No. The commands and config blocks are built in your browser and the page makes no request with what you enter. The form is kept in the part of the address after the # sign, which browsers do not send to a server, so a copied link reproduces the name, the URL or command, and the selected clients. Header and variable values are never put in the link, only their names. An install link for Cursor, VS Code, Kiro or LM Studio does contain the values, because the client reads them from it.

Where does VS Code keep MCP servers now?

In .mcp.json at the workspace root or in ~/.copilot/mcp-config.json for all workspaces, both with a top-level "mcpServers" key. The older .vscode/mcp.json with a top-level "servers" key belongs to what the VS Code reference dated 11/18/2026 calls the deprecated Local harness, whose removal is announced for February 2027. The generator prints the current format first and the deprecated one below it.

What does the timeout field in the form do?

It writes a per-server limit for tool calls in the unit each client expects, and only for clients that document such a setting: milliseconds for Claude Code, GitHub Copilot CLI, Gemini CLI and Junie, seconds for Codex (tool_timeout_sec), Antigravity (timeoutSeconds), Zed and Goose. For every other client the card says the value was left out, because the vendor documents no per-server field for it.

How current are these formats?

Every command, path and field was read from the vendor documentation on 2026-11-24. The blocks were not run against each client, so treat one as the documented shape with your values filled in. Clients change their config formats often; when a card and the linked vendor page disagree, the vendor page is right.

More markdown tools