Add MCP
MCP server by neon-solutions Verified · npm:add-mcp
Add MCP servers to your favorite coding agents with a single command. The add-mcp CLI and API write server configs for Claude Code, Codex, Cursor, VS Code and many other agents. It is for developers who manage MCP servers across several coding agents.
Install Add MCP
Built from the published package, never by AI.
claude mcp add add-mcp -- npx -y add-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"add-mcp": {
"args": [
"-y",
"add-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"add-mcp": {
"args": [
"-y",
"add-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"add-mcp": {
"args": [
"-y",
"add-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add add-mcp -- npx -y add-mcp{
"mcpServers": {
"add-mcp": {
"args": [
"-y",
"add-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add add-mcp npx -y add-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the add-mcp block.
About
add-mcp is a command-line tool and programmatic API that installs MCP servers into coding agents. You give it a remote URL or a package name, and it writes the server into the config file of each agent you choose. It supports Claude Code, Codex, Cursor, OpenCode, VS Code, Grok Build and many other agents listed in its docs. Options such as --env, --args and --header let you add variables, arguments and headers to a server config. The find command searches the add-mcp registry for servers to install.
Installs can be project scoped, stored with the repository and shared with a team, or global with the -g flag, which makes them available across all projects. The CLI detects agents based on your environment and selects those with project config by default. Developers building their own CLI tools can call the upsertServer function from the add-mcp package. It suits developers who want one command to set up MCP servers across several coding agents.
Written from the project's README and checked against it.
Try asking
- Install the Context7 MCP server https://mcp.context7.com/mcp into Cursor
- Find a Vercel MCP server in the add-mcp registry
- Add the Context7 MCP server globally for Claude Code
Good to know
- Kimi Code only loads a project-level config after the folder is trusted in the CLI.
- GitHub Copilot CLI writes replace the file with strict JSON, so comments are dropped.
- The Junie JetBrains IDE plugin does not support tokens in MCP configs.
- Junie requires server names to match ^[a-zA-Z0-9_-]+$.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Install an MCP server into several coding agents
- Share project MCP configs with a team
- Add MCP setup to a custom CLI tool
Alternatives to Add MCP
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Add MCP: common questions
Which coding agents does add-mcp support?
The source lists agents such as Claude Code, Codex, Cursor, OpenCode, VS Code, Grok Build, Zed and Windsurf, with a table of about two dozen supported agents and their config paths.
Can I install a server only for one project?
Yes. Project scope is the default and writes to project files such as .cursor/mcp.json, while the -g flag installs globally.
Can I use add-mcp from my own code?
Yes. The source shows an upsertServer function exported by the add-mcp package that takes an agent, a server name, a config and options.
How do I install Add MCP?
In Claude Code run claude mcp add add-mcp -- npx -y add-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Add MCP the official server?
Add MCP is published by npm:add-mcp from its verified domain in the official MCP Registry.
Is Add MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Add MCP safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Add MCP?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Add MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
