Provides a proxy layer to search, describe, and execute tools across multiple MCP servers within a sandboxed environment.
別名 stackunseen/codemcp, codemcp-cli
- スター
- 0
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 0.5.0
- 最終コミット
- 2026年11月3日
- ライセンス
- Apache-2.0
codemcp MCPとは
codemcpはMCPサーバーです。 Provides a proxy layer to search, describe, and execute tools across multiple MCP servers within a sandboxed environment.
プロジェクトのREADMEから生成された概要
codemcp MCP server について
Managing and accessing tools from various MCP servers through a single interface is what codemcp enables for developers. It acts as a proxy layer that allows an AI client to search, describe, and execute tools across multiple different servers within a sandboxed environment. By pointing your client to the command npx codemcp-cli serve, you can aggregate your existing tools into one unified connection.
Users can configure the proxy using a codemcp.config.json file, which can be populated automatically by running the import command with the write flag. The system provides visibility into the environment through commands like tools to list every tool and its pin status, or stubs to view the specific TypeScript definitions the model receives. This setup supports both standard stdio transport and programmatic integration via the Proxy class for custom TypeScript implementations.
できること
- 1Aggregate multiple MCP serversYou can combine tools from several different MCP clients into a single unified proxy connection.
- 2Inspect model tool definitionsDevelopers can view the exact TypeScript code that an AI model will see when interacting with tools.
- 3Programmatic proxy implementationYou can integrate the proxy functionality directly into your own TypeScript applications using the Proxy class.
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
codemcp MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude Codeにcodemcp MCPをインストール
$ claude mcp add codemcp -- npx -y codemcp-cliCursorにcodemcp MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"codemcp": {
"command": "npx",
"args": [
"-y",
"codemcp-cli"
]
}
}
}VS Codeにcodemcp MCPをインストール
.vscode/mcp.json
{
"servers": {
"codemcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"codemcp-cli"
]
}
}
}VS Code CLIにcodemcp MCPをインストール
$ code --add-mcp '{"name":"codemcp","type":"stdio","command":"npx","args":["-y","codemcp-cli"]}'Claude Desktopにcodemcp MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"codemcp": {
"command": "npx",
"args": [
"-y",
"codemcp-cli"
]
}
}
}Codexにcodemcp MCPをインストール
$ codex mcp add codemcp -- npx -y codemcp-cliCodex config.tomlにcodemcp MCPをインストール
~/.codex/config.toml
[mcp_servers.codemcp] command = "npx" args = ["-y", "codemcp-cli"]
Gemini CLIにcodemcp MCPをインストール
$ gemini mcp add -s user codemcp npx -- -y codemcp-cliGemini settings.jsonにcodemcp MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"codemcp": {
"command": "npx",
"args": [
"-y",
"codemcp-cli"
]
}
}
}自動チェック
実行日 2026年11月15日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能stackunseen/codemcp is public and reachablegithub.com/stackunseen/codemcp ↗合格
- パッケージがこのリポジトリをソースとして指定codemcp-cli names stackunseen/codemcp as sourcenpmjs.com/package/codemcp-cli ↗合格
- ビルドの来歴 (Sigstore 証明)Sigstore attestation for codemcp-clinpmjs.com/package/codemcp-cli/v/0.5.0#provenance ↗合格
- オープンソースライセンス (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-03github.com/stackunseen/codemcp ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していないNo popular package one edit away from codemcp-cli合格
- パッケージおよびその依存関係に重大な勧告なし58 resolved dependencies checked; no critical advisoryosv.dev ↗合格
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るcodemcp
The codemcp command and the MCP server behind it.
codemcp import --write # discover servers from your MCP clients into codemcp.config.json
codemcp tools # connect and list every tool with its pin status
codemcp stubs --detail full # print the TypeScript the model will see
codemcp serve # run the proxy over stdio
Point your MCP client at npx codemcp-cli serve. It advertises three tools, search, describe and execute, plus any passthrough patterns from the config.
Programmatic use:
import { Proxy } from "codemcp-cli";
const proxy = new Proxy({ config: { servers: { shop: { command: "node", args: ["catalog-server.mjs"] } } } });
await proxy.start();
await proxy.server.connect(transport);
codemcp MCPのよくある質問
codemcp MCPをClaude Codeに追加するには
ターミナルでclaude mcp add codemcp -- npx -y codemcp-cliを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
codemcp MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
How can I discover my existing MCP servers?
You can use the import command to discover servers from your MCP clients and save them to a configuration file.
What tools does the codemcp proxy advertise?
The proxy advertises search, describe, and execute tools, along with any passthrough patterns defined in your configuration.
How can I see the TypeScript definitions the AI model will receive?
You can use the stubs command with the full detail flag to print the TypeScript code that the model will see.