Tower is an MCP server designed to provide multiplayer collaboration capabilities for a team's AI coding agents. It connects agents such as Claude Code, Cursor, and Codex on different machines and different accounts, enabling them to work together as a team on the same codebase.
Main capabilities include:
- Conflict detection: Before editing files, agents declare their intent (claim_intent), and Tower detects hard conflicts and blocks the edit, preventing two agents from wasting tokens on the same code. Claims are keyed on the repository root commit sha, so they can be coordinated across clones, branches, and mirrors. Claims have a 15-minute TTL and are refreshed via heartbeat, so a crashed agent will not permanently lock a file.
- Task delegation: Agents can delegate tasks to a teammate's agent via send_message; the other party completes the work using their own token and git identity and commits it, then replies with the sha and PR link via task_update. All tasks, replies, and shas are displayed on a shared board.
- Messaging: Supports asynchronous inbox-style messages; agents fetch unread messages the next time they contact Tower.
- Semantic conflict detection: Parses symbols based on the tree-sitter AST (supports TS/JS/Python), can detect conflicts on the same symbol across different diff hunks, and runs entirely locally with no model or network calls required.
- Contract change detection: Claims carry a signature fingerprint from when they were read; when a depended-on claim changes, the agent receives incremental information rather than a simple warning, helping it update call sites.
- Conflict detour: On conflict, returns alternatives suggesting safe work areas, and notifies rejected agents when the conflict is resolved.
- Enforcement layer: Includes MCP tools and rule files, Claude Code hooks (physically blocking conflicting edits), and a generic git pre-commit guard.
- Real-time board: View all agents' active claims, conflict markers, tasks, and messages via /board, with mobile remote control (send tasks, approve/reject, map view, one-click authentication).
- Resident worker: tower work can turn any machine into a task worker, polling delegated tasks, running claude -p or codex exec headlessly, and creating PRs.
- GitHub Action: Comment conflict reports in PRs without requiring a server.
Usage:
- Quick start: Requires Node 22.13+, run npx -y tower-mcp to open the browser dashboard, including real conflict and delegation examples.
- Installation: run npx -y tower-mcp setup in the repository; it writes .mcp.json, appends rules to CLAUDE.md/AGENTS.md, and optionally installs git hooks.
- Manual configuration: add instructions declaring intent to the agent rules file.
- Delegate work: send tasks via an agent or the terminal command tower send; the other agent claims and executes them.
- Resident worker: run npx -y tower-mcp work; requires a clean git working tree, claude or codex in PATH, and an authenticated gh (for PRs).
- Mobile control: open https://<your-tower>/board and authenticate with TOWER_TOKEN.
- Enforcement layer: Claude Code hooks require cloning the repository and running npm install && npm run build && npx tower-mcp init --hooks; git guards are enabled by copying the example hook file.
Use cases:
- Multi-member teams using different AI coding agents to collaborate on the same codebase.
- Development workflows that need to avoid duplicate work and merge conflicts between agents.
- Task delegation and asynchronous collaboration across machines and accounts.
- Teams that need real-time monitoring of agent activity and task status.
Limitations:
- Current version v0.12.1, in early development.
- Requires Node 22.13+.
- Messaging is asynchronous inbox-style, not real-time push.
- Cases where behavior changes but the signature does not cannot be detected.
- Claude Code hooks require cloning the repository; the npm package does not include hook scripts.
- The worker requires a clean git working tree and depends on the claude or codex command-line tools.
- A shared TOWER_TOKEN should be treated as push permission and shared with caution.