About claude-tmux
claude-tmux is an MCP server published by git+Ilm-Alan in the Developer Tools category: mCP server that lets Claude Code spawn autonomous sub-agents in parallel tmux sessions.
The repository has 2 stars and 0 forks.
Install
npx claude-tmuxclaude mcp add claude-tmux -- npx -y claude-tmuxnpx -y claude-tmuxThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (5)
killTerminate a session.
Parameters not published.
listList active sessions.
Parameters not published.
readWait for Claude sessions to finish working and return their terminal output. Use
Parameters not published.
sendSend a message to a running session.
Parameters not published.
spawnStart a Claude Code instance in a tmux session.
Parameters not published.
Ask AI
Ask AI about claude-tmux
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
claude-tmux
MCP server for orchestrating multiple Claude Code instances via tmux.
Installation
Add to your Claude Code MCP settings:
{
"mcpServers": {
"claude-tmux": {
"command": "npx",
"args": ["-y", "claude-tmux"]
}
}
}
Requirements
- tmux must be installed
- Claude Code CLI must be installed
Tools
spawn
Launch a new Claude Code instance in a tmux session.
spawn(name, prompt, workdir)
name: Unique session name (e.g., 'refactor-auth', 'debug-api')prompt: Initial prompt to send to Claudeworkdir: Working directory for Claude to operate in
read
Wait for Claude sessions to finish working and return terminal output.
read(name: "task-name") // single session
read(names: ["a", "b", "c"]) // parallel wait on multiple sessions
For multiple sessions, use names to wait in parallel - returns all outputs when all complete.
send
Send a follow-up message to a running Claude session.
send("task-name", "do something else")
list
List all active Claude tmux sessions.
list()
kill
Terminate a Claude tmux session and clean up resources.
kill("task-name")
Usage Pattern
spawn(name, prompt, workdir) → start session
read(name) → wait for completion, get output
send(name, text) → steer with follow-up
read(name) → wait again
kill(name) → cleanup
For parallel tasks:
spawn("task-a", ...)
spawn("task-b", ...)
spawn("task-c", ...)
read(names: ["task-a", "task-b", "task-c"]) → wait for all
Idle Detection
read detects completion via:
- Done indicator - Claude's status line showing
✻ model for Xm - Stability - Output unchanged for 10 seconds (handles sub-minute tasks that don't show the indicator)
Timeout is 15 minutes.
Tips
- Verify output shows task completion before killing. Idle agents are fine to leave running.
- Attach manually:
tmux attach -t claude-<name>
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.