
ravitemer/mcp-hub
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
動的サーバー管理と監視を備えたモデルコンテキストプロトコル(MCP)サーバーの集中管理マネージャー
概要
MCPハブはMCPサーバーとクライアントの中央調整役として機能し、2つの主要なインターフェースを提供します。 1. (/api/*):統一されたREST APIとWeb UIを通じて複数のMCPサーバーを管理する 2.(/mcp):任意のMCPクライアントを接続し、単一のエンドポイントを通じてすべてのサーバー機能にアクセスする このデュアルインターフェース方式により、HubのUIを通じてサーバーを管理でき、MCPクライアント(Claude Desktop、Clineなど)は1つのエンドポイント(localhost:37373/mcp)に接続するだけですべての機能にアクセスできます。MCP 2025-03-26仕様を実装しています。 すべてのMCPクライアントを1つのエンドポイントで設定します: ハブは自動的に:- 競合を防ぐネームスペースの機能(例:
概要(AI 翻訳)
MCPハブはMCPサーバーとクライアントの中央調整役として機能し、2つの主要なインターフェースを提供します。
- 管理インターフェース(/api/*):統一されたREST APIとウェブUIを通じて複数のMCPサーバーを管理
- MCPサーバーインターフェース(/mcp):任意のMCPクライアントを接続し、単一のエンドポイントを通じてすべてのサーバー機能にアクセスする
このデュアルインターフェース方式により、サーバーはハブのUIを通じて管理でき、MCPクライアント(Claude Desktop、Clineなど)は1つのエンドポイント(localhost:37373/mcp)に接続するだけですべての機能にアクセスできます。MCP 2025-03-26仕様を実装しています。
フィーチャーサポート
| カテゴリ | 特徴 | サポート | 注釈 |
|---|---|---|---|
| 輸送 | |||
| Streamable-http | ✅ | リモートサーバーの主要トランスポートプロトコル | |
| SSE | ✅ | リモートサーバーのフォールバックトランスポート | |
| STDIO | ✅ | ローカルサーバーの運用について | |
| 認証 | |||
| OAuth 2.0 | ✅ | PKCEフロー | |
| ヘッダー | ✅ | APIキー/トークンについて | |
| 能力 | |||
| ツール | ✅ | リストツール | |
| 🔔 ツールリスト変更 | ✅ | リアルタイム更新 | |
| リソース | ✅ | 全面的な支援 | |
| 🔔 リソースリストの変更 | ✅ | リアルタイムの更新 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP Hub
MCP Hub acts as a central coordinator for MCP servers and clients, providing two key interfaces:
- Management Interface (/api/*): Manage multiple MCP servers through a unified REST API and web UI
- MCP Server Interface (/mcp): Connect ANY MCP client to access ALL server capabilities through a single endpoint
This dual-interface approach means you can manage servers through the Hub’s UI while MCP clients (Claude Desktop, Cline, etc.) only need to connect to one endpoint (localhost:37373/mcp) to access all capabilities. Implements MCP 2025-03-26 specification.
Feature Support
| Category | Feature | Support | Notes |
|---|---|---|---|
| Transport | |||
| streamable-http | ✅ | Primary transport protocol for remote servers | |
| SSE | ✅ | Fallback transport for remote servers | |
| STDIO | ✅ | For running local servers | |
| Authentication | |||
| OAuth 2.0 | ✅ | With PKCE flow | |
| Headers | ✅ | For API keys/tokens | |
| Capabilities | |||
| Tools | ✅ | List tools | |
| 🔔 Tool List Changed | ✅ | Real-time updates | |
| Resources | ✅ | Full support | |
| 🔔 Resource List Changed | ✅ | Real-time updates | |
| Resource Templates | ✅ | URI templates | |
| Prompts | ✅ | Full support | |
| 🔔 Prompts List Changed | ✅ | Real-time updates | |
| Roots | ❌ | Not supported | |
| Sampling | ❌ | Not supported | |
| Completion | ❌ | Not supported | |
| Marketplace | |||
| Server Discovery | ✅ | Browse available servers | |
| Installation | ✅ | Auto configuration | |
| Real-time | |||
| Status Updates | ✅ | Server & connection state | |
| Capability Updates | ✅ | Automatic refresh | |
| Event Streaming to clients | ✅ | SSE-based | |
| Auto Reconnection | ✅ | With backoff | |
| Development | |||
| Hot Reload | ✅ | Auto restart a MCP server on file changes with dev mode |
|
| Configuration | |||
${} Syntax |
✅ | Environment variables and command execution across all fields | |
| VS Code Compatibility | ✅ | Support for servers key, ${env:}, ${input:}, predefined variables |
|
| JSON5 Support | ✅ | Comments and trailing commas in configuration files |
Simplified Client Configuration
Configure all MCP clients with just one endpoint:
{
"mcpServers" : {
"Hub": {
"url" : "http://localhost:37373/mcp"
}
}
}
The Hub automatically:
- Namespaces capabilities to prevent conflicts (e.g.,
filesystem__searchvsdatabase__search) - Routes requests to the appropriate server
- Updates capabilities in real-time when servers are added/removed
インストール
npx -y server-perplexity-ask設定
{
"mcpServers" : {
"Hub": {
"url" : "http://localhost:37373/mcp"
}
}
}