MCP Hub
Back to servers

mcp-supervisor

MCP server that dynamically starts and manages other MCP servers

npm201/wk
Updated
Mar 4, 2026

Quick Install

npx -y mcp-supervisor

MCP server that dynamically starts and manages other MCP servers


MCP Supervisor

WhyInstallConfigureSkillsToolsAbout MCP ↗

CI latest release license

Why

MCP client configs are static. If a child MCP server needs dynamic arguments (e.g. a CDP endpoint that changes every launch), you have to edit the config and restart your client every time.

mcp-supervisor solves this. Configure it once as your MCP server. It starts child MCP servers on demand with whatever arguments you need, and proxies their tools through a single fixed connection.

Also, statically configured MCP servers load all their tools into context at startup — even when you don't need them. With mcp-supervisor, child MCPs are started only when needed and stopped when done, keeping your context window clean.

Install

Coding agent (Claude Code, Codex, OpenCode, etc.)

Paste this into your agent:

Install mcp-supervisor using https://github.com/miyamiyaz/mcp-supervisor and register it with claude mcp add supervisor -- supervisor-mcp

mise (recommended)

mise use -g "github:miyamiyaz/mcp-supervisor[exe=supervisor-mcp]"

GitHub Releases

Download a binary from GitHub Releases and place it somewhere in your PATH.

go install

go install github.com/miyamiyaz/mcp-supervisor/cmd/supervisor-mcp@latest

Configure

Claude Code

claude mcp add supervisor -- supervisor-mcp

Or add to .mcp.json in your project root:

{
  "mcpServers": {
    "supervisor": {
      "type": "stdio",
      "command": "supervisor-mcp"
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "supervisor": {
      "command": "supervisor-mcp"
    }
  }
}

Skills

mcp-supervisor is designed to be used with Claude Code skills. A skill teaches Claude how to launch and use specific MCP servers through the supervisor.

Give Claude the MCP's GitHub URL and ask it to create a skill:

Create a skill for mcp-supervisor using https://github.com/microsoft/playwright-mcp — put it in .claude/skills/browse-cdp/SKILL.md

Claude will read the repo, understand the MCP's tools and arguments, and generate the skill file for you.

See examples/skills/ for ready-made examples.

Tools

ToolDescription
start_mcpStart a child MCP server and proxy its tools
stop_mcpStop a child MCP server and remove its tools
list_mcpsList all running child MCP servers

When a child MCP is started with name: "pw", all its tools become available with a pw. prefix (e.g. pw.browser_click, pw.browser_navigate).

start_mcp

ParameterTypeRequiredDescription
namestringyesUnique name (used as tool prefix)
commandstringyesCommand to run
argsstring[]noCommand arguments
envobjectnoExtra env vars (merged with parent)

stop_mcp

ParameterTypeRequiredDescription
namestringyesName of the MCP to stop

list_mcps

No parameters.

Security

This server can start arbitrary processes. Run only locally on trusted machines. Do not expose to networks.

License

MIT

Reviews

No reviews yet

Sign in to write a review