Documentation Index
Fetch the complete documentation index at: https://mintlify.com/neon-solutions/add-mcp/llms.txt
Use this file to discover all available pages before exploring further.
add-mcp treats any AI coding assistant that speaks the Model Context Protocol as an agent. When you run the install command, add-mcp locates the correct configuration file for each agent and writes your MCP server entry in the format that agent expects — handling differences in file format (JSON, TOML, YAML), config key names, and server schema so you never have to do it manually.
Supported agents
The table below lists every agent add-mcp knows about, the value you pass to--agent (-a), whether project-level configuration is supported, and where each config file lives.
| Agent | --agent value | Project config path | Global config path |
|---|---|---|---|
| Antigravity | antigravity | — | ~/.gemini/antigravity/mcp_config.json |
| Cline VSCode Extension | cline | — | ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json |
| Cline CLI | cline-cli | — | ~/.cline/data/settings/cline_mcp_settings.json |
| Claude Code | claude-code | .mcp.json | ~/.claude.json |
| Claude Desktop | claude-desktop | — | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Codex | codex | .codex/config.toml | ~/.codex/config.toml |
| Cursor | cursor | .cursor/mcp.json | ~/.cursor/mcp.json |
| Gemini CLI | gemini-cli | .gemini/settings.json | ~/.gemini/settings.json |
| Goose | goose | — | ~/.config/goose/config.yaml |
| GitHub Copilot CLI | github-copilot-cli | .vscode/mcp.json | ~/.copilot/mcp-config.json |
| MCPorter | mcporter | config/mcporter.json | ~/.mcporter/mcporter.json |
| OpenCode | opencode | opencode.json | ~/.config/opencode/opencode.json |
| VS Code | vscode | .vscode/mcp.json | ~/Library/Application Support/Code/User/mcp.json |
| Windsurf | windsurf | — | ~/.codeium/windsurf/mcp_config.json |
| Zed | zed | .zed/settings.json | ~/Library/Application Support/Zed/settings.json |
The paths shown above use macOS conventions (
~/Library/Application Support/…). On Linux, add-mcp uses $XDG_CONFIG_HOME (defaulting to ~/.config) in place of Library/Application Support. On Windows, it uses %APPDATA% (defaulting to ~/AppData/Roaming). The path shown for Goose’s global config (~/.config/goose/config.yaml) applies on Linux and macOS; on Windows it resolves to %APPDATA%/Block/goose/config/config.yaml.Agent aliases
Several alternative names are accepted and automatically resolved to the canonical agent identifier:| Alias | Resolves to |
|---|---|
codeium | windsurf |
cascade | windsurf |
cline-vscode | cline |
gemini | gemini-cli |
github-copilot | vscode |
--agent flag is accepted.
Targeting a specific agent
Pass-a (or --agent) one or more times to install exclusively to those agents, skipping auto-detection entirely:
-a is provided, add-mcp skips the interactive agent-selection prompt and writes directly to the specified agents’ config files.
Installing to all agents
Use--all to install to every supported agent at once, regardless of what is detected in the current directory: