MCP server to let multiple Claude Code tmux sessions talk to each other (push via tmux send-keys + shared conversation log)
Strong tool naming (verb_noun pattern throughout) and comprehensive parameter descriptions. All 12 tools have clear, actionable descriptions (avg ~150 chars). Input schemas are well-defined with Zod validation. However, output schemas are not formally documented, responses are returned as text blobs without structured schema declarations. Error handling is minimal; tools do not guide recovery or categorize failures. Missing tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels. No pagination support for list_peers, history, or inbox despite potential for large result sets.
Delete the saved prompt for a role so it is no longer reinjected on /clear.
Classify what a peer's screen is doing: 'busy' (model running — don't interrupt), 'waiting_select' (a menu is open — answer with `respond`), 'waiting_text' (free-text expected — answer with `send`), 'idle', or 'unknown'. Returns the parsed menu options, a best-effort question heading, and the raw tail of the pane. Ideal inside a `/loop` so the manager session notices when a peer needs an answer.
Read back the saved persistent prompt for a role (the one auto-reinjected on /clear). Returns { found:false } if nothing has been saved for that role yet.
Read the shared cross-session conversation log (all messages between all sessions, ordered). Optionally filter to messages involving a given role.
Read messages addressed to a specific role (its mailbox). Useful as a poll/fallback if a pushed message was missed.
List all registered sessions (roles), their tmux panes and last-seen time.
Output schemas not formally documented. Tools return text-wrapped JSON without declared response structures. LLMs cannot plan downstream tool calls or extract fields reliably.
Missing tool annotations. Tools with clear risk levels (send=WRITE, delete_prompt=DESTRUCTIVE, read_peer=READ_ONLY) lack readOnlyHint, destructiveHint, or idempotentHint metadata. Agents cannot reason about side effects.
No pagination or result limits. list_peers, history, and inbox accept limit params but lack offset/cursor support and do not document max result caps. Large peer lists or conversation logs could exhaust context.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 63 | 2026-07-28+ | v2 |
List the persistent prompts saved for every role.
Capture what is currently on another session's tmux pane (its visible output and prompt). Use this to monitor a peer — e.g. the gestor watching whether 'dev' is asking the user something.
Register the current Claude Code session under a role name (e.g. 'gestor', 'dev', 'reviewer') so other sessions can send messages to it. Auto-detects the tmux pane from $TMUX_PANE. Call this once at the start of each session.
Send raw control keystrokes to a peer's pane to answer an interactive menu/permission prompt (what `send` can't do, since `send` types prose). Examples: ['1'] to pick option 1, ['Down','Down','Enter'] to navigate, ['Escape'] to cancel, ['2','Enter']. Allowed tokens: Enter, Escape, Up, Down, Left, Right, Tab, BTab, Space, BSpace, Home, End, PageUp, PageDown, C-<x>, or a single character. For free text, use `send`.
Push a message into another session's Claude Code prompt. By default it is submitted immediately as a new turn (the peer reacts right away) and tagged with the sender's role. The message is also logged to the shared conversation and the recipient's mailbox.
Store a persistent 'system prompt' / briefing for a role (e.g. 'gestor', 'dev', 'reviewer'). It is saved to disk and survives /clear and restarts. After a /clear, the SessionStart hook auto-reinjects it so the session keeps its identity without you re-typing it. Call this once (or whenever the role's instructions change) — typically the gestor sets the briefings for dev and reviewer.
Minimal error handling. Tools do not return actionable error messages or recovery guidance. A failed tmux send-keys call returns a generic error without suggesting next steps.
No confirmation step for destructive operations. delete_prompt and send (with submit=true) are irreversible but lack dry-run or confirmation patterns to prevent accidental data loss.