mcp-orchestrator
Manages local MCP servers on Windows: installs them, starts them hidden at logon, restarts them when they crash, and monitors them via a tray icon, with tools for lifecycle, catalogue, and session management.
README
mcp-orchestrator
Manages the local MCP servers on a Windows machine. Installs them, starts them hidden at logon, restarts them when they crash, and shows the lot in a tray icon.
One hidden process, started by a Scheduled Task, serving MCP on
http://127.0.0.1:8768/mcp.
Install
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\install\install.ps1
claude mcp add --transport http --scope user orchestrator http://127.0.0.1:8768/mcp
Registers the Scheduled Task and adds two Claude Code hooks. Undo with
.\install\uninstall.ps1.
Installable servers
mcp_install("queue")
| Server | Repository | What it does |
|---|---|---|
session |
session-control-mcp | List, open, fork, close and restart Claude Code sessions |
queue |
queue-mcp | A task queue you fill from another terminal |
mcp_install also takes any git URL, or a local path for a private repo. It
expects the ordinary Python layout: a package containing server.py, with
requirements.txt beside it.
Tools
| Tool | Purpose |
|---|---|
mcp_list / mcp_status / mcp_stats |
what is running, and how it has behaved |
mcp_start / mcp_stop / mcp_restart |
lifecycle |
mcp_catalogue / mcp_install / mcp_uninstall |
install and remove servers |
mcp_scaffold |
write a new server from a template |
mcp_add / mcp_remove |
manage a server already on disk |
mcp_autostart / mcp_enable |
start at logon, or park a server |
mcp_logs |
a hidden server's only voice |
sessions_* |
list sessions, and restart them when the server set changes |
What it does about failure
A hidden server has no window to die in, so the whole design is about not letting a dead one look like a missing tool.
- States distinguish causes.
crashed(died on its own) is notstopped(somebody stopped it), andunhealthy(alive, not listening) is not either.externalmeans the port answers but the orchestrator did not start it, and will not touch it. - A start waits for the port before reporting success. A pid proves nothing.
- Crashes are restarted on a 5, 15, 45, 120, 300 second ladder, then abandoned with a notification. Two minutes of health clears the count.
- The tray colour is the summary. Green up, amber starting or stopped, red with an exclamation for trouble.
Sessions and the restart dance
Claude Code attaches MCP servers at startup and never retries. Adding or
removing a server is invisible to running sessions until they restart, so
mcp_install, mcp_scaffold, mcp_add and mcp_uninstall ask them to.
Restarting a server needs nothing; the client reconnects per call.
The restart is decentralised. A change drops a marker, and each session's Stop hook acts on it at the end of a turn, when nothing is in flight, resuming the same transcript so history and queue survive.
Files
State lives in ~/.mcp-orchestrator, outside this repo, because the hooks must
find it without knowing where the repo was cloned: servers.json (hand
editable), running.json, sessions.json, the restart markers, and logs/.
Known gaps
- The at-logon trigger is configured but has only ever been fired manually.
- The live session restart path (
wt.exeplus--resume) is unproven. orchestrator.logdoes not rotate; per-server logs rotate at 5 MB.- Windows only, throughout.
DESIGN.md has the reasoning, including why this is a Scheduled Task and not a Windows Service, and the Windows traps that cost a debugging round each.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。