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 cursor

Without --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 $HOME so every teammate's file matches, with the repo in COORDIGENT_REPO.
  • Cursor reads the coordination rules from the MCP server instructions. Coordigent does not write .cursor/rules/coordigent.mdc. coord update removes 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; preToolUse on Write|Delete warns before editing a held file; postToolUse delivers waiting messages; stop marks the turn idle at once.

--repo-files also writes Claude Code's repo files.

Only for Cursor

coord install cursor --user

coord 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 update

Gets the current coord and coord-mcp, refreshes capture hooks and restarts the daemon. Restart Cursor to load the new coord-mcp.

Check it

coord doctor

coord 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. preToolUse on Write|Delete warns 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.inbox reads 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. postToolUse delivers messages and conflict warnings to a running agent, no restart. They also arrive as a ⚠ COORD: banner on the next coordigent.* result; coordigent.message.inbox reads 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.json turns these and the other notifications off.

Remove

  • This machine: coord uninstall (--dry-run to preview). Keeps your hand edits.
  • One repo: coord unenroll there.

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.