MCP Gateway
Integrates multiple MCP servers into a single interface with a management Web UI and real-time status updates.
MCP Gateway
ローカル専用の MCP ゲートウェイです。ブラウザ UI からサーバー登録・プロファイル管理・起動/停止ができ、/mcp WebSocket を通じて MCP クライアントから 1 本で接続できます(serverId または profile 指定)。
セットアップ / 実行
pnpm install
pnpm --filter mcp-gateway-ui run build
pnpm start # http://127.0.0.1:8787
# オプション: --port=8787 --host=127.0.0.1 --data-dir=/path/to/data を cli.js に渡せます
MCP クライアントからの接続
-
サーバーIDで指定
ws://127.0.0.1:8787/mcp?serverId=<サーバーID>
例:claude mcp add mcp-github --url ws://127.0.0.1:8787/mcp?serverId=github-mcp -
プロファイル名で指定(そのプロファイルの先頭サーバーに接続)
ws://127.0.0.1:8787/mcp?profile=<プロファイル名>
例:claude mcp add mcp-dev --url ws://127.0.0.1:8787/mcp?profile=dev
サンプル登録(任意)
初期状態は空です。サンプルが欲しい場合はコマンドで投入してください。
pnpm init:samples # github-mcp (port 9000), fs-mcp (port 9001), default/dev プロファイルを追加
pnpm init:samples -- --force # 既存を上書きしたい場合
機能
- MCP サーバー登録/編集/削除(command/args/env, autoStart)
- プロファイル作成/削除/切替(複数同時有効可)。有効プロファイルの autoStart サーバーを自動起動
- 手動 Start/Stop、ログは
~/.mcp-gateway/logs/<id>.log - 状態保存:
~/.mcp-gateway/state.json - MCP プロキシ:
/mcpで serverId / profile を切替可能
API エンドポイント
GET /api/healthGET /api/stateGET /api/serversPOST /api/serversPUT /api/servers/:idDELETE /api/servers/:idPOST /api/servers/:id/startPOST /api/servers/:id/stopGET /api/profilesPOST /api/profilesPUT /api/profiles/:nameDELETE /api/profiles/:namePOST /api/profiles/:name/activatePOST /api/profiles/active(names: string[])POST /api/reloadGET /api/statusGET /api/logs/:id?lines=200
テスト
pnpm test
ディレクトリ
src/: サーバー本体、CLI、ストレージ、プロセスマネージャ、WebSocket プロキシui/: Vite + React + shadcn UI
注意
- 初回のみ
pnpm installが必要です。以降はオフラインでも動作します。 - Claude などからは
/mcp?serverId=...または/mcp?profile=...を登録してください。
Servidores relacionados
Scout Monitoring MCP
patrocinadorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
patrocinadorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
PromptEasy.EU
The first EU-sovereign, version-controlled prompt library that natively exposes your team’s templates as a managed MCP Server for agentic discovery.
Credos
Share your team's Coding Best Practices with Cursor, VS Code, Claude code, Windsurf, JetBrains IDEs and other coding tools supporting remote MCP connection.
Optuna MCP Server
Automate optimization and analysis using Optuna.
Model Context Protocol servers
A collection of reference implementations for the Model Context Protocol (MCP), demonstrating secure and controlled access to tools and data sources for Large Language Models (LLMs).
Cargo MCP
Interact with Rust projects using Cargo commands like build, test, and run.
Dan MCP
An example MCP server deployed on Cloudflare Workers without authentication.
MCPizer
Enables AI assistants to call any REST API or gRPC service by automatically converting their schemas into MCP tools.
Raysurfer Code Caching
MCP server for LLM output caching and reuse. Caches and retrieves code from prior AI agent executions, delivering cached outputs up to 30x faster.
EVE Online ESI MCP Server
An MCP server for interacting with the EVE Online ESI (EVE Swagger Interface) API.
AbletonMCP
Control Ableton Live with AI prompts for music production, track creation, and session manipulation.