Skip to main content
Glama

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.

Related MCP server: amp-mcp-server

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 not stopped (somebody stopped it), and unhealthy (alive, not listening) is not either. external means 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.exe plus --resume) is unproven.

  • orchestrator.log does 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.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.

  • A MCP server built for developers enabling Git based project management with project and personal…

  • MCP server for managing Prisma Postgres.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrconter1/mcp-orchestrator'

If you have feedback or need assistance with the MCP directory API, please join our Discord server