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=...を登録してください。
相關伺服器
Scout Monitoring MCP
贊助Put performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
贊助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Postman MCP Generator
Provides JavaScript tools for making API requests, generated by the Postman MCP Generator.
DeepInfra API
Provides a full suite of AI tools via DeepInfra’s OpenAI-compatible API, including image generation, text processing, embeddings, and speech recognition.
MCP Image Generator
An MCP server for generating images using Together AI or Replicate models.
Lifecycle MCP Server
An MCP server for managing the software development lifecycle, with support for an optional external SQLite database.
Atla
Enable AI agents to interact with the Atla API for state-of-the-art LLMJ evaluation.
Remote MCP Server (Authless)
An authentication-free, remote MCP server designed for deployment on Cloudflare Workers or local setup via npm.
Agent Forge
A platform for creating and managing AI agents with specific personalities and simulating their responses. Requires a DeepSeek API key.
ndlovu-code-reviewer
Manual code reviews are time-consuming and often miss the opportunity to combine static analysis with contextual, human-friendly feedback. This project was created to experiment with MCP tooling that gives AI assistants access to a purpose-built reviewer. Uses the Gemini cli application to process the reviews at this time and linting only for typescript/javascript apps at the moment. Will add API based calls to LLM's in the future and expand linting abilities. It's also cheaper than using coderabbit ;)
FluidMCP CLI
A command-line tool to run MCP servers from a single file, with support for automatic dependency resolution, environment setup, and package installation from local or S3 sources.
LLMling
An MCP server with an LLMling backend that uses YAML files to configure LLM applications.