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
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
Jolokia MCP Server
A JMX-HTTP bridge for interacting with Java applications using the Jolokia agent.
Azure DevOps MCP
Integrates with Azure DevOps, allowing interaction with its services. Requires a Personal Access Token (PAT) for authentication.
DocsFetcher
Fetches package documentation from various language ecosystems without requiring API keys.
Cashfree MCP Server
Integrate AI tools and agents with Cashfree's Payment Gateway, Payouts, and SecureID APIs.
MCP Playground
A playground for MCP implementations featuring multiple microservices, including news and weather examples.
Windsor
Windsor MCP enables your LLM to query, explore, and analyze your full-stack business data integrated into Windsor.ai with zero SQL writing or custom scripting.
Superpower MCP
Allows MCP execution of superpowers
Smithery Reference Servers
A collection of reference implementations for Model Context Protocol (MCP) servers in Typescript and Python, demonstrating MCP features and SDK usage.
EVE Online ESI MCP Server
An MCP server for interacting with the EVE Online ESI (EVE Swagger Interface) API.