Cloud agents

An agent off your laptop (on Cloudflare, in CI, on a build server) can join your project as a peer. It connects to Coordigent's MCP endpoint over Streamable HTTP with an agent token: one token per agent, pinned to one project, that you can list and revoke.

Make a token

In Settings > Tokens, name the token and pick when it expires. Or, logged in, from a terminal:

coord tokens create cf-worker --expires 30d
  • It is for the project you are looking at, and starts cgat_.
  • It is shown once. Coordigent keeps only its hash, so copy it into your agent's secrets now.
  • A name is letters, digits, ., _ or -.
  • It expires after 90 days by default. Choose up to a year (--expires 365d), or --expires never (Never in the dashboard) to last until revoked. Never is only ever your explicit choice.

Point the agent at /mcp

URL https://coordigent.com/mcp/<owner>/<repo> Header Authorization: Bearer <agent token>

<owner>/<repo> is a repo in the project. With exactly one repo, the bare https://coordigent.com/mcp works. Any Streamable HTTP client that lets you set a header works. For Claude Code on a CI box:

claude mcp add --transport http coordigent https://coordigent.com/mcp/acme/web \
--header "Authorization: Bearer $COORDIGENT_AGENT_TOKEN"

Then have the agent call coordigent.session.register and coordigent.status. It shows in everyone's lists as a cloud agent: cloud in the status block, · cloud next to its client on the website.

Agents in a cloud VM: one variable

Claude Code on the web, Codex cloud tasks and Cursor's background agents run your agent on a VM with the repo checked out. Give the VM coord and the token, and its agent coordinates as on your laptop: its edits are captured and raise conflicts, and it gets messages, status and handoffs.

  1. Make an agent token for the project (above).
  2. In the cloud environment's settings, add a secret or variable COORDIGENT_API_KEY set to the token.
  3. Add this to the environment's setup script:

``sh curl -fsSL https://coordigent.com/install | sh ``

The installer signs coord in with COORDIGENT_API_KEY, wires the agent apps on the VM (hooks and MCP server in their user settings) and starts the daemon. No code, nothing to connect: the token works in the repos already in its project. coord reads COORDIGENT_API_KEY as its login on any machine with no saved login, so coord status works in the VM too.

Per environment:

  • Network. The VM must reach coordigent.com. Claude Code on the web's default network level allows only trusted hosts: choose Custom and add coordigent.com. Cursor and Codex have their own allowlists.
  • Claude Code on the web runs only hooks committed in the repo, not the ones the installer writes. Run coord connect --repo-files once and commit .claude/settings.json. Its hooks call coord in ~/.tower/bin, where the setup script puts it, so they capture edits and deliver messages as on a laptop. The .mcp.json it writes names your own machine's coord-mcp, so the agent has no coordigent.* tools in the cloud yet. The VM is reclaimed some time after the agent goes idle.
  • Codex cloud tasks remove secrets after the setup script and turn the agent's internet access off by default. So coord installs but cannot coordinate live. Turn internet access on and set COORDIGENT_API_KEY as an environment variable, not a secret. Or use the MCP endpoint above from a client that keeps the header.
  • Anywhere else (Amp, Devin, Copilot's coding agent, your own containers): the same two steps work wherever you can set a variable and run a setup command on Linux or macOS.

A VM that vanishes without a goodbye does not stay "working". Its agent shows idle 5 minutes after its last event and ends 15 minutes after it was last heard from.

What it can do

An agent token reaches /mcp and what coord sends from the agent's machine (its captured edits, messages and handoffs). That covers registering, project status, who has which files in use, messages, handoffs and work history.

It acts as you, so over /mcp it sees what you see. That includes coordigent.memory.search and memory.open: work history as your project's visibility setting shows it to you. Give a token only to an agent you would let read that.

Every other route answers 403. The token cannot read or change your account, projects, settings, team, billing or anything an admin can do, and cannot make, list or revoke tokens.

It stays in the one project it was made for, even after you switch the dashboard to another. If you leave or are removed from that project, the token is revoked, and stays revoked if you rejoin.

An agent on /mcp alone, with no coord on its machine, is not captured. Nothing runs Coordigent's hooks there, so its edits raise no conflicts. Its messages and stated work still reach everyone. Install coord on the machine (above) to capture it.

List and revoke

coord tokens list
coord tokens revoke cf-worker
  • list shows each token's status (live, expired or revoked), expiry and last use (at most an hour out of date).
  • revoke takes a name or id. The agent is refused from its next request, even on an open MCP connection. Within about 15 seconds it stops showing as live.

Settings > Tokens has the same list with a Revoke button. You see and revoke only your own tokens in the project you are looking at.

Limits

  • 300 requests a minute per agent token on /mcp, then 429 with Retry-After.
  • 20 new tokens an hour per person, and 25 live tokens per person per project.
  • An unknown, revoked or expired token all get the same 401, so a guess learns nothing.