capture_screen
Capture screen content from a tmux target
Let one agent run others in tmux panes — start them, send them work, read their screens — or fan a task out to several workers in parallel Git worktrees.
LABSCO SUMMARY
Because everything is tmux, a supervising agent can start a worker, send it instructions, interrupt it with a control character and read exactly what a human would see — which makes multi-agent work debuggable in a way message-passing frameworks usually are not. The parallel path is the strongest feature and the one with real prerequisites: each worker runs in its own Git worktree, so it only works inside a repository, and automatic merging is off by default for good reason.
A control layer over AI agents running in tmux panes. Each pane is addressed as session:window.pane, so one agent can start Claude Code or Gemini in another pane, talk to it, and see what is on its screen. Documentation is in Japanese.
Tmux, with a session created before anything starts (tmux new-session -d -s multiagent), and the agent CLIs you intend to launch installed and authenticated. It runs as npx agent-collaboration-mcp. parallel_implement must run inside a Git repository, since each worker gets its own worktree. Automatic authentication of newly started agents is optional and needs Playwright MCP available to the same client; without it, a new agent's login is done by hand.
One command — npx agent-collaboration-mcp
USE CASES
Start workers in their own panes, send each its piece, and check their status as they run.
Fan the prompt out to a set of workers, each in its own worktree, then compare and pick the best result.
Read its status, then capture its screen to see whether it is waiting for input, stuck in authentication or still executing.
Send the interrupt control character, clear the pane, and give it a corrected instruction.
Run Claude Code in one pane and Gemini in another, and pass work between them from the supervising session.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
capture_screenCapture screen content from a tmux target
get_agent_statusGet status of agents
get_parallel_statusGet status of parallel implementation sessions
parallel_implementStart parallel implementation with multiple workers
send_messageSend a message to a tmux target. Control characters supported: C-c (stop), C-l (clear), etc.
start_agentStart an agent in a specific tmux target
BEFORE YOU INSTALL
6 tools when we connected.
The documented client runs the server on your machine.
CONTEXT COST
Rated by the size of the 6 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npm install -g agent-collaboration-mcp@latest
tmux new-session -d -s multiagentnpx agent-collaboration-mcp{
"mcpServers": {
"agent-collaboration": {
"command": "npx",
"args": [
"agent-collaboration-mcp"
]
}
}
}