agent-manager

Docs · MCP tools

The agent drives the manager.

Some facts only the agent has: what the session is really about, which repo it moved into, which branch the work merges into. Rather than scrape that out of the pane, the manager ships an MCP server in the same binary (agent-manager mcp, stdio) and registers it into every session it spawns or revives, so these arrive as native tools with descriptions telling the agent when to call each.

The tools

A stored ref that stops resolving surfaces as an error in review, and B opens a target picker, the repo's branches plus an auto entry, to set or clear it by hand.

Registration

Registration is per tool and automatic. The built-in claude, codex, opencode, grok and gemini tools register on their own:

A custom tool opts in with mcp = "<style>" in its config block, or out with mcp = "none". There is no prompt injection and no per-project setup. One stdio server serves whichever session called it, identified through its environment, so there is nothing per-session to launch or clean up.

The rename, review-repo and review-base CLI subcommands keep working everywhere, MCP or not, so an agent that speaks no MCP can still run one shell command.