
Mcp Orchestrator
io.github.rupinder2由 GitHub 帳號 rupinder2 發布v0.1.2更新於 Oct 25, 2026
Aggregates tools from multiple MCP servers with unified BM25/regex search and deferred loading.
概覽
一個本機中樞,連接多個 MCP 伺服器、索引其工具,讓助理透過單一入口搜尋並呼叫這些工具。
- 可以做什麼
- 以 BM25 相關性排序或正規表達式在所有已註冊的下游伺服器中搜尋已索引的工具,並支援延遲載入以控制上下文用量。探索並索引某個已註冊下游伺服器的工具。依命名空間名稱呼叫下游工具,可選擇性覆寫已設定的驗證標頭。透過 JSON 設定檔註冊下游伺服器,支援 stdio 或 HTTP 傳輸,以及記憶體或 Redis 工具定義快取。
- 適用情境
- 當你連接許多 MCP 伺服器、希望只有一個入口且工具清單保持精簡,並依需求搜尋出任務所需的工具時適用。也適合用一份設定檔把呼叫路由到多個下游伺服器。
- 執行需求
- 需在本機安裝 Python 套件(pip install mcp-orchestrator),以 stdio 或 HTTP 程序執行。需要 server_config.json 列出下游伺服器,路徑由 SERVER_CONFIG_PATH 指定。當 STORAGE_BACKEND=redis 時需透過 REDIS_URL 提供 Redis;HTTP 傳輸需 ORCHESTRATOR_PORT。需能存取各下游伺服器。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Orchestrator,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
MCP Orchestrator
[PyPI Version] [Python Version] [License: MIT] [Tests] [Contributions Welcome]
A central hub that connects to multiple downstream MCP servers, aggregates their tools, and provides unified access with powerful tool search capabilities.
Built around deferred tool loading — search across all your servers without blowing Claude's context window.
Features
- Config-based Server Registration: Add downstream MCP servers via JSON config file
- Tool Namespacing: Automatic
server_name__tool_nameformat - Tool Search: Unified BM25/regex search with deferred loading support
- Flexible Authentication: Static saved headers or token forwarding
- Multiple Transports: stdio or HTTP
- Tool Definition Caching: Cached definitions, raw result passthrough
- Storage Backends: In-memory (development) or Redis (production)
Quick Start
Installation
Running the MCP Server
HTTP Transport:
This starts the server on http://localhost:8080/mcp with CORS enabled.
Configuring Servers
Add downstream MCP servers in server_config.json:
Searching for Tools
The orchestrator provides unified tool search (BM25 by default, regex optional):
Architecture
Configuration
Environment Variables
Claude Desktop Integration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
MCP Tools
tool_search
Search for tools using BM25 relevance ranking or regex pattern matching.
discover_tools
Discover tools from a registered downstream server.
call_remote_tool
Call a tool directly on a downstream MCP server.
Tool Search Results
The search tools return results in the format expected by Claude's tool search system:
Testing
Run the test suite:
Run with coverage:
Project Structure
License
MIT License
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
來源:README.md,提交 b44912b
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分