
neon-solutions/add-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
neon-solutions/add-mcp — это кандидат на сервер MCP, импортированный из https://github.com/neon-solutions/add-mcp.
Обзор
neon-solutions/add-mcp — это кандидат на сервер MCP, импортированный из https://github.com/neon-solutions/add-mcp.
Обзор (машинный перевод)
Добавьте MCP-серверы к вашим любимым программным агентам одной командой.
Поддерживает Claude Code, Codex, Cursor, OpenCode, VS Code, Grok Build и ещё 16 других.
Документы и реестр: add-mcp.com
Установить MCP-сервер
Установите MCP-сервер по удалённому URL или имени пакета:
Пример установки удалённого MCP-сервера Context7:
Пример установки удалённого MCP-сервера Context7 через программный API — отлично подходит для интеграции add-mcp в ваш собственный инструмент CLI:
Вы можете добавлять переменные и аргументы env (stdio) и заголовки (remote) в конфигурацию сервера с помощью опций --env, --args и --header. С помощью заполняющих ${VAR} интерактивные запросы для каждой переменной (пропускайте пропущенные опциональные ключи, чтобы пустые строки не записывались в конфигурацию).
Найти серверы MCP
Найдите и установите MCP-серверы из реестра add-mcp:
Первый запуск find/search автоматически сохраняет реестр add-mcp в ~/.config/add-mcp/config.json (или $XDG_CONFIG_HOME/add-mcp/config.json). Вы можете отредактировать этот файл, чтобы заменить стандартный реестр, добавить официальный реестр Anthropic или указать на любой сервер, совместимый с реестром.
Поддерживаемые агенты
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
add-mcp
Add MCP servers to your favorite coding agents with a single command.
Supports Claude Code, Codex, Cursor, OpenCode, VS Code, Grok Build and 19 more.
Docs and registry: add-mcp.com
Install an MCP Server
Install an MCP server by remote URL or package name:
npx add-mcp url | package name [options]
Example installing the Context7 remote MCP server:
npx add-mcp https://mcp.context7.com/mcp
Example installing the Context7 remote MCP server via the programmatic API — great for integrating add-mcp in your own CLI tool:
import { upsertServer } from "add-mcp";
const result = upsertServer(
"cursor",
"context7",
{ type: "http", url: "https://mcp.context7.com/mcp" },
{ local: true },
);
console.log(result);
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 MCP Servers
Find and install MCP servers from the add-mcp registry:
npx add-mcp find vercel
The first find/search run automatically saves the add-mcp registry to ~/.config/add-mcp/config.json (or $XDG_CONFIG_HOME/add-mcp/config.json). You can edit that file to replace the default registry, add the official Anthropic registry, or point at any registry-compatible server.
Supported Agents
MCP servers can be installed to any of these agents:
| 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 |
Установка
npx add-mcp url | package name [options]