Skip to Content
ConceptsTokens

Tokens

A token says who is calling and which contour it belongs to. There are two kinds.

KindWho holds itOpensDoes not open
Owner tokenthe owner of the machinesthe owner’s page, the HTTP APIthe MCP server
Agent tokenone agent (Claude Code, Codex, your program)the MCP server, within that agent’s grant; the HTTP routes for calling tools from the next server releasethe owner’s page

Agent tokens

  • The owner creates one per agent on the Agents tab of their page. It is shown once.
  • Every call made with it is recorded under that agent’s name, and the owner can revoke it there at any time; a revoked token gets unauthorized.
  • What it may do is the agent’s grant, never more than each machine’s ceiling allows.
  • A client that signs in through the browser receives an agent token the same way, after the owner approves it once.

Keeping a token safe

  • Read it from the environment ($CMDOP_TOKEN). Never print it, log it, commit it, or put it in a URL: send it only as Authorization: Bearer.
  • One token per agent: when one leaks, revoke it without touching the others.