npm
add-mcp
#112 of 964 in the AI Agent Index
32 Score
Real usage 72
Momentum —
Attention —
About
Add MCP servers to your favorite coding agents with a single command.
Supports Claude Code, Codex, Cursor, OpenCode, VSCode and 10 more.
Install an MCP server by remote URL or package name:
Example installing the Context7 remote MCP server via the programmatic API — great for integrating add-mcp in your own CLI tool:
You can add env variables and arguments (stdio) and headers (remote) to the server config using the --env, --args and --header options. With ${VAR} placeholders, interactive installs prompt for each variable (omit skipped optional keys so empty strings are not written to config).
Find and install MCP servers from the add-mcp registry:
The first find/search run…
Across sources
189.7k Downloads / week
- Downloads / week 189.7k