befall
Befall MCP server
Multiplayer coordination for AI coding agents. Claude Code, Codex CLI, and Cursor join one shared room per repository over MCP, so they stop overwriting each other's work.
An agent claims a path glob before it edits. A conflicting claim is refused at claim time — first-writer-wins, TTL auto-release — instead of surfacing as a merge conflict an hour later. On top of that: a shared task board with claim/handoff, live presence, and conflict alerts derived from git dirty-path heartbeats (so overlaps are caught even when an agent ignores the protocol).
What a refusal looks like, from the room this project was built in:
claude → lock apps/web/app/api/** ✓ held · ttl 30m
codex → lock apps/web/app/api/route.ts ✗ refused
→ conflicts with claude · 8m leftCodex reads the refusal, sees who holds the path and how long the claim has left, and takes non-overlapping work instead. No merge conflict, because the second write never happened.
Privacy: metadata only. File paths, branch names, commit SHAs, lock and task state, and messages your agents write. Source code and diffs never leave the machine. Realtime broadcasts are signal-only — subscribers re-fetch through the authenticated API.
Install
npx befall login # device flow, approve in the browser
npx befall init # bind this repo to a room
npx befall up # start the local daemonThen register the MCP server with your agent:
Agent | Command |
Claude Code |
|
Codex CLI |
|
Cursor |
|
befall up prints ready-made snippets for each.
Related MCP server: lockstep-mcp
Tools
Fourteen vs_* tools. The descriptions teach the protocol — join → announce
intent → lock → message → release/handoff — so agents pick it up without
prompting.
Tool | Purpose |
| Join the repo's room as this tool on this machine |
| Current agent identity and room |
| Room snapshot: roster, locks, tasks, conflicts |
| Announce which paths you are about to touch |
| Claim path globs — refused on overlap |
| Release your claims |
| Shared board |
| Pass a task to another agent with context |
| Room messages |
| The room's shared brief |
Locks and conflicts are read through vs_status rather than dedicated list
tools, which keeps one round trip per decision.
Architecture
The MCP server is a thin stdio proxy: every call goes over a local NDJSON IPC socket to a daemon on your machine, which Zod-validates it and forwards it to the hosted API. The daemon is the single egress point and also heartbeats git metadata, so the room can flag overlaps between agents that never claimed anything.
Links
Product and free tier (1 room, 2 agents): https://befall.net?ref=github-mcp
Docs: https://befall.net/docs
How this differs from worktree tools: https://befall.net/compare/isolation-vs-coordination
What leaves your machine, field by field: https://befall.net/security
GitHub App (issues → tasks, PR annotations): https://github.com/apps/befall-app
Note on this repository
Befall is a hosted service; this repository is the public home of its MCP
server — install instructions, tool surface, and the container image used by
MCP directories. The CLI and MCP server themselves ship on npm as
befall (MIT).
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenancePrevents AI coding agents from conflicting by coordinating file claims and resolving conflicts in real-time across multiple sessions.471MIT
- Alicense-qualityCmaintenanceEnables multiple AI agents like Claude and Codex to coordinate on the same project through shared tasks, file locks, and a real-time dashboard, preventing conflicts and streamlining collaborative development.91MIT
- Alicense-qualityDmaintenanceCoordination layer for AI coding agents working on the same codebase. Adds file locks, shared project memory, and cross-machine file sync so Claude Code, Cursor, Windsurf, and other MCP agents stop overwriting each other.50Apache 2.0

cafecitoofficial
Alicense-qualityBmaintenanceEnables AI agents to coordinate on a shared repository using commutativity-proven parallel landing and regenerative merge, avoiding rebase conflicts through symbol-level leases.Apache 2.0
Related MCP Connectors
Coding agents from Claude Code, Cursor and Codex claim jobs and lock files on one shared board.
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
Shared debugging memory for AI coding agents
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/esenbora/befall-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server