Supported agents
Every coding agent add-mcp can install MCP servers to, with config paths and scopes.
MCP servers can be installed to any of these agents. Project paths are relative to your working directory; agents without a project path are global-only.
| Agent | --agent |
Project path | Global path |
|---|---|---|---|
| Antigravity | antigravity |
— | ~/.gemini/config/mcp_config.json (shared by Antigravity, Antigravity IDE, and Antigravity CLI) |
| 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 |
.goose/config.yaml |
~/.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 (or existing ~/.mcporter/mcporter.jsonc) |
| 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 |
Aliases
| Alias | Resolves to |
|---|---|
codeium, cascade |
windsurf |
cline-vscode |
cline |
gemini |
gemini-cli |
github-copilot |
vscode |
Troubleshooting
Some agents and editors, like Claude Code, require a restart to load a new MCP server. Others, like Cursor, require you to navigate to the MCP settings page and toggle the new server as enabled.