mcp-add
A CLI tool to easily add Model Context Protocol (MCP) servers to various AI coding clients.
Features
- Interactive, semi-interactive, and non-interactive modes
- Support for local (stdio) and remote (SSE/HTTP) MCP servers
Усильте агента
Собственная команда издателя. Не эндпоинт PlugMCP.
Host a copy with our keys and logs.
npx -y [email protected]У Claude Code нет ссылки для установки локальной команды. Скопируйте команду ниже и выполните её в терминале.
claude mcp add mcp-add -- npx -y mcp-add@0.2.4Выполните в терминале.
{ "mcpServers": { "mcp-add": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
Удалённый URL или команда на вашем компьютере? Чем различаются два способа установки
Запустить на PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
ЗапускОт издателя
A CLI tool to easily add Model Context Protocol (MCP) servers to various AI coding clients.
CLI tool to add MCP servers to various AI coding clients
# Using npm
npm install -g mcp-add
# Using pnpm
pnpm add -g mcp-add
# Using yarn
yarn global add mcp-add
Or run directly with npx:
npx mcp-add
Simply run mcp-add without arguments to enter interactive mode:
mcp-add
You'll be prompted for:
stdio, http, or sse)stdio) or URL (for remote)Provide some arguments via command line and let the tool prompt for the rest:
# Provide name and type, prompt for the rest
mcp-add --name my-server --type stdio
# Provide everything except clients selection
mcp-add \
--name filesystem \
--type stdio \
--command "npx -y @modelcontextprotocol/server-filesystem /tmp" \
--scope global
# Provide name and let the tool ask for everything else
mcp-add -n my-server
This is useful when you want to quickly specify known values but interactively choose from options like client selection.
Adding a -c or -u will automatically infer the type.
Provide all required arguments via command line flags for fully automated usage:
# Local server example
mcp-add \
--name my-server \
--type stdio \
--command "npx -y @modelcontextprotocol/server-filesystem /tmp" \
--scope global \
--clients "claude,cursor,vscode"
# Remote server example
mcp-add \
--name my-remote-server \
--type http \
--url "https://mcp.example.com/mcp" \
--client-id "your-static-client-id" \
--client-secret "your-static-client-secret" \
--headers "Authorization=Bearer token123" \
--scope project \
--clients "claude code,cursor"
Required flags for non-interactive mode:
--name, --type, --scope, --clients--command (for stdio servers) or --url (for remote servers)--client-id and --client-secret are currently applied only to remote claude code and cursor configurations.
mcp-add \
--name filesystem \
--type stdio \
--command "npx -y @modelcontextprotocol/server-filesystem /home/user/documents" \
--scope global \
--clients claude
mcp-add \
--name github \
--type stdio \
--command "npx -y @modelcontextprotocol/server-github" \
--env "GITHUB_TOKEN=ghp_xxxxxxxxxxxx" \
--scope global \
--clients "claude,claude code,cursor"
mcp-add \
--name my-api \
--type http \
--url "https://api.example.com/mcp" \
--client-id "cdf3737dff9d485485968e50b63fd8b4" \
--client-secret "super-secret-value" \
--headers "Authorization=Bearer secret,X-Custom-Header=value" \
--scope project \
--clients "claude code,cursor"
mcp-add \
--name memory \
--type stdio \
--command "npx -y @modelcontextprotocol/server-memory" \
--scope global \
--clients "claude,claude code,cursor,windsurf,vscode,opencode"
# Clone the repository
git clone https://github.com/paoloricciuti/mcp-add.git
cd mcp-add
# Install dependencies
pnpm install
# Run locally
pnpm start
# Type check
pnpm run check
# Lint
pnpm run lint
# Format
pnpm run format
MIT
CLI tool to add MCP servers to various AI coding clients
{ "mcpServers": { "mcp-add": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}Инструменты
Списка инструментов пока нет. У удалённых серверов он появляется после первой проверки состояния.
FAQ
Скопируйте на этой странице конфигурацию stdio для Cursor, Claude Desktop, Claude Code или VS Code. Она использует установку издателя, а не прокси PlugMCP.
В этой записи не указано обязательных переменных окружения.
MCP Add работает локально через stdio.
Последняя проверка: 2026-11-14. CLI tool to add MCP servers to various AI coding clients