NS

neon-solutions/add-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

320 stars 46 forks 品質 93 トレンド 39Apache-2.0

neon-solutions/add-mcpは、https://github.com/neon-solutions/add-mcp.からインポートされたMCPサーバー候補です。

概要

neon-solutions/add-mcpは、https://github.com/neon-solutions/add-mcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

お気に入りのコーディングエージェントにMCPサーバーを一つのコマンドで追加できます。

Claude Code、Codex、Cursor、OpenCode、VS Code、Grok Buildなど16個をサポートしています。

書類と登録リスト:add-mcp.com

MCPサーバーをインストールする

リモートURLまたはパッケージ名でMCPサーバーをインストールする:

Context7リモートMCPサーバーのインストール例:

例として、Context7リモートMCPサーバーをプログラムAPI経由でインストールする例 — add-mcpを自分のCLIツールに統合するのに最適です:

サーバー設定には --env、--args、--header オプションを使ってenv変数や引数(stdio)、ヘッダー(リモート)を追加できます。${VAR}プレースホルダーを使うと、各変数に対してインタラクティブインストールプロンプトが表示されます(空文字列が設定に書き込まれないように、オプションキーは省略されています)。

MCPサーバーを検索

add-mcpレジストリからMCPサーバーを見つけてインストールします:

最初の[find/searchを実行すると、add-mcpレジストリは自動的に~/.config/add-mcp/config.json(または$XDG_CONFIG_HOME/add-mcp/config.json)に保存されます。そのファイルを編集してデフォルトのレジストリを置き換えたり、公式のAnthropicレジストリを追加したり、任意のレジストリ互換サーバーを指すことができます。

支援エージェント

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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
GitHub で README 全文を見る

インストール

npx add-mcp url | package name [options]
MCP 初心者?mcpskill.org のガイドから始めましょう →