A Rust-based MCP server that prevents collisions between concurrent AI coding agents using file reservations, threaded messaging, and Git-backed storage.
Adapted from @DanKornasRunning multiple coding agents without them colliding is its own engineering problem. MCP Agent Mail (Rust) is a mail-like coordination layer, exposed as an MCP server, for AI coding agents working across a project. It helps agents stay in sync by giving them persistent identities, threaded messages, and advisory file reservations before they edit the same files. Key features: • File reservations – agents can claim exclusive or shared leases on file globs; a pre-commit guard checks conflicting reservations • Threaded messaging – inboxes, outboxes, acknowledgments, priorities, and CC/BCC keep coordination structured • Git-backed archive – messages, reservations, and agent profiles are stored as per-project Git artifacts for review • MCP + robot CLI – agents can use MCP tools/resources or non-interactive CLI commands for automation • Operator views – an interactive TUI and web UI provide human oversight of messages, reservations, search, and health It’s open-source (MIT License with OpenAI/Anthropic Rider). Link in the reply 👇