Cursor
Coordigent registers itself in ~/.cursor/mcp.json and adds hooks that report edits and deliver messages, in every repo. The repo files add a rule Cursor applies to every agent.
Set it up
Install Coordigent once per machine. It wires Cursor at user level. Install Cursor later and it is wired on its own. Repos join your project on their own.
The install finds Cursor when ~/.cursor exists, cursor or cursor-agent is on your PATH, or agent on your PATH belongs to a Cursor CLI install.
Restart Cursor if it was open, so it loads the server.
For a team that commits Cursor's files, run this inside the repo:
coord connect --repo-files --clients cursorWithout --clients, --repo-files writes them if the repo has a .cursor/ directory, or if you say yes to its one question about the other agent apps here.
What gets written
On this machine
One entry in ~/.cursor/mcp.json, named coordigent:
{
"mcpServers": {
"coordigent": {
"type": "stdio",
"command": "/Users/you/.tower/bin/coord-mcp",
"args": [],
"env": {}
}
}
}The path is absolute because desktop apps start MCP servers with a short PATH. Other servers stay. An existing coordigent entry is kept unless its binary no longer exists. An old tower entry that runs tower-mcp is deleted. No token is stored: coord-mcp reads your login from ~/.tower/config.json.
~/.cursor/hooks.json gets the same hooks as the repo file below (yours are kept).
In the repo, with --repo-files
.cursor/mcp.json: the same server, found through$HOMEso every teammate's file matches, with the repo inCOORDIGENT_REPO.- Cursor reads the coordination rules from the MCP server instructions. Coordigent does not write
.cursor/rules/coordigent.mdc.coord updateremoves an old copy when the manifest shows it is unchanged. .cursor/hooks.json(yours are kept): agent start and end (sessionStart/sessionEnd), prompts, file reads and edits, shell commands;preToolUseonWrite|Deletewarns before editing a held file;postToolUsedelivers waiting messages;stopmarks the turn idle at once.
--repo-files also writes Claude Code's repo files.
Only for Cursor
coord install cursor --usercoord install cursor writes the repo MCP entry without the rest of coord connect, and prints a cursor:// link that lets Cursor add the server itself. --user writes ~/.cursor/mcp.json instead. The coordination rules are the MCP server's instructions.
Update
coord updateGets the current coord and coord-mcp, refreshes capture hooks and restarts the daemon. Restart Cursor to load the new coord-mcp.
Check it
coord doctorcoord doctor shows cursor with a ✓ and its config file, and a Hooks: line with the installed events, or none. A ✗ line names its fix.
In Cursor, check Customize > MCP lists coordigent, then ask the agent to call coordigent.status. Cursor asks you to approve a server from a repo's .cursor/mcp.json the first time it sees it.
What works and what degrades
Cursor supports MCP resources, prompts, elicitation and roots. Sampling, resource subscriptions and server notifications stay off. Coordigent does not need them.
- Files in use and conflicts. Hooks record each edit, so others see what a Cursor agent holds.
preToolUseonWrite|Deletewarns before editing a held file. The edit is never blocked, unless the agent is a headless run Coordigent started, which waits until the file is free. - One agent per chat. Cursor shares one Coordigent connection across a window's chats. - Tool calls and edits show as one agent when the window has one chat, Cursor starts the connection in that workspace, and no other window has the folder open. - Otherwise (two chats in a window, two windows on a folder, or a connection started in your home folder) each chat's edits show as their own agent and the tool calls as another. Coordigent doesn't guess which chat made them. - A chat that reads messages with
coordigent.message.inboxreads them for the whole window; the other chat won't see them again. Messages sent to a chat itself arrive through its own hook. - Messages.
postToolUsedelivers messages and conflict warnings to a running agent, no restart. They also arrive as a⚠ COORD:banner on the nextcoordigent.*result;coordigent.message.inboxreads the rest. - Idle chats. An idle chat runs no hooks, so it hears nothing until someone types. After two minutes of waiting messages, the daemon shows a desktop notification: "Cursor 3f2a · widgets: 2 Coordigent messages waiting. Type anything in that chat to deliver them." At most one per chat every 10 minutes, none for the chat's own messages.
{"desktopNotifications": false}in~/.tower/preferences.jsonturns these and the other notifications off.
Remove
- This machine:
coord uninstall(--dry-runto preview). Keeps your hand edits. - One repo:
coord unenrollthere.
By hand, delete the coordigent entry from ~/.cursor/mcp.json and the repo's .cursor/mcp.json, and the Coordigent hooks from both hooks.json files. An old .cursor/rules/coordigent.mdc can be deleted the same way. coord update removes one that is still unchanged.
Next
- MCP tools: every
coordigent.*tool. - Conflicts: what a Cursor agent is warned about.
- The Coordigent extension shows your agents and files in use inside Cursor. Search for Coordigent in Cursor's Extensions view; it comes from Open VSX.