Agent Supervisor MCP
Runs parallel Codex CLI or Claude Code workers from any MCP client, each in its own git
Agent Supervisor MCP is an open-source MCP server for agent tooling. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Web, macOS
- Runs
- Locally
- What it can do
- Can change data (3 tools)
- Version
- 2.0.3
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add agent-supervisor-mcp -- npx -y agent-supervisor-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"agent-supervisor-mcp": {
"command": "npx",
"args": [
"-y",
"agent-supervisor-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"agent-supervisor-mcp": {
"command": "npx",
"args": [
"-y",
"agent-supervisor-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"agent-supervisor-mcp": {
"command": "npx",
"args": [
"-y",
"agent-supervisor-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"agent-supervisor-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent-supervisor-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add agent-supervisor-mcp -- npx -y agent-supervisor-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.agent-supervisor-mcp]
command = "npx"
args = ["-y", "agent-supervisor-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"agent-supervisor-mcp": {
"command": "npx",
"args": [
"-y",
"agent-supervisor-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "agent-supervisor-mcp": { "command": "npx", "args": [ "-y", "agent-supervisor-mcp" ] } } }Or run: gemini mcp add -s user agent-supervisor-mcp npx -- -y agent-supervisor-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "agent-supervisor-mcp": { "command": "npx", "args": [ "-y", "agent-supervisor-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "agent-supervisor-mcp": { "command": "npx", "args": [ "-y", "agent-supervisor-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "agent-supervisor-mcp": { "command": "npx", "args": [ "-y", "agent-supervisor-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "agent-supervisor-mcp": { "command": "npx", "args": [ "-y", "agent-supervisor-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "agent-supervisor-mcp": { "command": "npx", "args": [ "-y", "agent-supervisor-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "agent-supervisor-mcp": { "command": "npx", "args": [ "-y", "agent-supervisor-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "agent-supervisor-mcp": { "command": "npx", "args": [ "-y", "agent-supervisor-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
CODEX_BINPath to the codex CLI when it is not on PATHSUPERVISOR_HOMEState directory, default ~/.agent-supervisor
About Agent Supervisor MCP
Agent Supervisor MCP lets a lead session hand out coding jobs to several background workers at once. Each worker gets its own git worktree, so parallel edits do not overwrite each other, and ownership of file paths is checked before a job starts. Dispatch state, events and results are written to disk in SQLite and JSONL rather than kept in the lead model's context window.
The lead agent can check a worker's report and the diff it produced, ask it follow-up questions in a read-only side session, and land accepted changes onto the main branch. Acceptance commands are run by the supervisor itself after a worker exits, so a worker's claim of success is not enough to merge.
A companion web board, served locally, groups workers by session and shows status, running commands, changed files and event streams. It suits developers who already use Codex CLI or Claude Code and want to split a repository task across several agents while keeping the work reviewable.
Tools this server provides (14)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 14 tools change data; 7 names don't say.
From the server's own tool labels and tool names; not verified by us.
- preflight_worker
- Runs a short probe or the acceptance command in the target worker environment before dispatch.
- create_workerName suggests: changes
- Dispatches one worker with a session, owned paths and goal.
- resume_worker
- Continues a worker in the same session, optionally rebased onto the main branch.
- cancel_workerName suggests: changes
- Stops a running worker.
- poll_workers
- Lists worker status, returning only changes since a cursor.
- wait_workers
- Waits up to 60 seconds for worker results.
- get_workerName suggests: reads
- Reads a worker's summary, report, status, events and goal.
- get_worker_diffName suggests: reads
- Returns the changes a worker made, paged by file and hunk.
- ask_worker
- Asks a worker a read-only side question without affecting its thread.
- land_worker
- Commits and cherry-picks a worker's changes into the integration branch after acceptance passes.
- verify_pushName suggests: changes
- Checks that a landed commit exists on the remote.
- cleanup
- Inspects or removes a worker's worktree.
- find_worksName suggests: reads
- Finds dispatched work by session or keyword.
- describe_sessionName suggests: reads
- Sets the title, goal, default acceptance and approval state for a session.
What it does
- Isolated git worktrees
- Each worker runs in its own worktree, and declared owned paths are checked for overlap before dispatch.
- Acceptance checks
- The supervisor runs the acceptance commands given at dispatch and blocks merging when they fail.
- Resumable sessions
- Worker threads are stored with their IDs so an interrupted run can be picked up again.
- Compact status reporting
- Worker events go to log files and the lead agent reads only short summaries.
- Clear failure states
- Failed, timed-out and lost runs are kept distinct, with a source and error code for failures.
- Local monitoring board
- A local web page shows workers grouped by session, with diffs, commands, events and side questions.
- Automatic worktree cleanup
- Merged or unchanged worktrees are removed during polling, and unmerged ones are kept for seven days.
Good for
- Splitting a multi-module test-writing task across parallel Codex or Claude Code workers
- Running several refactors in one repository without file conflicts between agents
- Reviewing each worker's diff before landing its commit on the main branch
- Resuming a worker session after the lead chat was restarted
- Using a non-Claude model for workers while keeping the lead session on Claude
Pricing
Open source
Prices change. Check agent-supervisor.zriyo.com before you buy.
Agent Supervisor MCP FAQ
What are the prerequisites?
Node.js 22.13.0 or newer and the codex CLI on the PATH. Claude Code is also needed if it is used as the worker runner.
Can workers use Claude Code instead of Codex?
Yes. Setting the runner to claude runs Claude Code in headless mode. It has no system-level sandbox, so it can only run in a git worktree or read-only mode, and side questions are not supported for it.
What is the difference between failed, timed_out and lost?
Failed covers non-zero exits, turn failures and spawn errors, with a source and error code. Timed_out means the time budget ran out and the run was stopped without automatic retry. Lost means the process was killed externally or disappeared, and the run can be resumed.
Does the lead agent's context fill up with worker output?
Worker events are written to JSONL files and the lead reads compressed summaries, with all workers together kept under 7000 bytes. Long jobs use a cursor-based poll that returns only changes.
Is Agent Supervisor MCP free?
Yes. Agent Supervisor MCP is open source, so you can use and self-host it for free.
How do I add Agent Supervisor MCP to Claude Code?
Run this command in your terminal: claude mcp add agent-supervisor-mcp -- npx -y agent-supervisor-mcp
What are the best alternatives to Agent Supervisor MCP?
The closest alternatives to Agent Supervisor MCP are Subagent MCP, Agent Comm, LLM Provider MCP, Brigade Skills and AgentOrb.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.