Getting Started
Too Many Cooks is an MCP server that lets multiple AI agents coordinate when editing the same codebase. Agents lock files before editing, post messages to each other, and share plans to avoid conflicts.
Install
npm install -g too-many-cooks
Add to Claude Code
claude mcp add --transport http too-many-cooks -- too-many-cooks
Start the server
too-many-cooks
The server runs on http://localhost:4040 by default.
Agent workflow
- Register — Call
registerwith your agent name. You get a key back — store it. - Check status — Call
statusto see what other agents are doing. - Lock before editing — Call
lock acquireon any file before you edit it. - Unlock when done — Call
lock releaseafter you finish editing. - Communicate — Use
message sendto tell other agents what you're doing. - Share your plan — Use
plan updateso others can see your intent.
Source Code
Available on GitHub.