
McpOrchestrator
io.github.Byggarepop由 GitHub 账号 Byggarepop 发布v0.7.6更新于 Oct 24, 2026
Route one agent through one MCP server to many, with progressive tool discovery to shrink context.
概览
一个 .NET 编写的 MCP 编排器,位于智能体与多个下游 MCP 服务器之间,按需加载工具清单以压缩上下文。
- 可以做什么
- 通过元工具列出下游服务器及其能力
- 按任务需要检索并加载工具定义,再把调用路由到对应服务器
- 作为纯转发层,把智能体的请求原样转给下游服务器
- 从本地目录、git 仓库或 HTTP 索引提供 Agent Skills,先只暴露名称和一行描述
- 分析现有 MCP 配置的 token 占用,并从宿主配置生成编排器配置
- 适用场景
- 当智能体连接多个 MCP 服务器、其工具清单在每一轮都占用大量上下文时适用;也适合希望只有一个入口、按需发现工具与技能而不必预先列出全部内容的场景。
- 运行要求
- 以 .NET 工具形式通过 stdio 在本机运行(NuGet 包 McpOrchestrator),使用分析命令需要 .NET SDK。初始化会读取现有的宿主配置,例如 .mcp.json、.vscode/mcp.json 或 Cursor 配置;下游 stdio 服务器由编排器依据生成的 orchestrator.config.json 启动。未声明认证、环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 McpOrchestrator,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[McpOrchestrator — one relay between your agent and every MCP server]
McpOrchestrator — a .NET-native MCP orchestrator
[NuGet] [Downloads] [License: MIT]
Every MCP server you connect costs context before the agent does anything — its tool manifests sit in the prompt on every turn. McpOrchestrator puts one server between your agent and all the others and loads downstream tool manifests on demand, so the agent's always-on context stays flat no matter how many servers you add. The agent sees three meta-tools — list_capabilities → discover_tools → route — and the orchestrator is a pure relay: it forwards exactly what the agent sends, never interpreting it. It can also serve Agent Skills with the same on-demand discipline.
See it in 70 seconds
https://github.com/user-attachments/assets/741c1afa-4bef-4870-9b84-e2c245b8117e
Measured impact
Against a real workplace MCP setup, measured with the Copilot CLI's /usage:
The savings scale with the number of servers. Measure your own setup first — one command, nothing installed, not a single file changed (needs the .NET SDK):
Quick start
From an existing MCP setup, cd to the folder holding your host config (.mcp.json, .vscode/mcp.json, or a Cursor config) and run:
It lifts your stdio servers into a generated orchestrator.config.json, backs up the host config, and rewrites it to launch only the orchestrator. The generated catalog looks like this — one entry per downstream server:
The summary line is what the agent routes on — refine any that read poorly. Restart your MCP host and you're done: the agent discovers everything on its own through list_capabilities → discover_tools → route, and every later edit to this file hot-reloads without a restart.
Add a skill
A skill is a folder with a SKILL.md — instructions the agent discovers and follows by itself when a task matches. Create one:
Point the orchestrator at the folder in orchestrator.config.json:
Save — it hot-reloads. The agent now sees the skill's name + one-line description via list_skills and loads the full instructions only when a task calls for it. Skills can also come from a shared git repo or an HTTP index, with allow/deny lists and integrity pinning — see docs/skills.md.
Note: these skills are for the agent only — the model discovers and follows them through tools. They do not become host-native skills (no
/skillslisting or slash command in Claude Code, no IDE skill picker entry).
Documentation
Everything else lives in McpOrchestrator/README.md and docs/:
- How it works & the three tools — architecture and token scaling
- Profiling token economics — the
profilecommand in depth, trace mode, CI gating - CLI reference — every command and flag: the server,
init, andprofile, plus all environment variables - Manual setup — the two config files
initgenerates, written by hand - Configuration reference — every field, placeholders, proactive capabilities, hot reload, central (team) configuration
- Moving to a central catalog with per-project values — step-by-step conversion of an existing setup, version compatibility, rollback
- Agent Skills — sources (directory/git/HTTP), governance, delivery modes, how it works
- Packaging & Native AOT — install as a .NET tool or a self-contained binary from Releases
- How it compares — vs. mcp-aggregator and gateways, and when not to use this
- Troubleshooting
License
来源:README.md,提交 3b8ca4d
工具
0版本历史
8- v0.7.6最新Oct 20, 2026
- v0.7.5Oct 13, 2026
- v0.7.3Oct 11, 2026
- v0.7.1Oct 11, 2026
- v0.7.0Oct 11, 2026
- v0.6.1Oct 10, 2026
- v0.6.0Oct 10, 2026
- v0.5.2Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分