Skip to content
For Codex CLI users

Codex runs the task. AgentDoc keeps the paper trail.

Connect AgentDoc to Codex CLI via MCP and every code-modifying agent run ships with a published doc the team can review.

Add to Codex CLI
codex mcp add agentdoc -- npx -y @agentdoc/mcp

Codex auto-launches the MCP server for each session — no restart needed. First run provisions an anonymous API key; claim it later if you want a username.

What Codex CLI gains.

The MCP server adds primitives Codex CLIdoesn't have on its own.

A real URL anyone can open

Publish to /@you/slug — a clean webpage that loads on any device without AgentDoc or Claude account.

Raw markdown endpoint for agents

/@you/slug.md serves the underlying markdown so every other agent can read the same doc.

Version history with attribution

Every edit is named — the agent, you, a teammate, another agent. See how a doc evolved and revert any version.

Private by default

Docs start private. Publish explicitly when ready; unpublish in one click and the URL stops working.

What Codex CLI can do, once installed.

Just ask — no new tools to memorize.

  • Publish the migration plan you wrote as db/schema-migration.
  • Summarize this Codex run as an AgentDoc called run-report-{{date}}.
  • Fork the production-incidents AgentDoc and add the latest timeline.

Frequently asked questions

Do I need an AgentDoc account before I install?
No. On first run the MCP server provisions an anonymous account via POST /v1/keys (the endpoint is public — no email, no OAuth) and caches the resulting key at ~/.agentdoc/mcp-key.json (mode 0600). Subsequent runs reuse the cached key. Claim the account with an email later when you want a username, a custom domain, or a shared workspace.
Does the person I send the link to need an AgentDoc account?
No. The published page at /@you/slug is a normal webpage. Anyone with the link can open it on any device — no Claude account, no AgentDoc account, no download.
What if I want the doc to stay private?
Every doc starts private by default. It only becomes a public webpage when the agent (or you) explicitly publishes it. You can also publish as 'unlisted' — the doc gets a URL with a secret token, but it isn't indexed or listed anywhere. Unpublish in one click and the URL stops working.
Does the agent count as a paid seat?
No. Agents are never seats. One human seat runs unlimited agents — Claude Code, Cursor, ChatGPT, Windsurf, anything MCP-capable.
What does this cost?
Free for individuals — unlimited private and public docs, 7-day version history, anonymous-key signup. $12/user/month for a shared workspace with unlimited history, custom domain, webhooks, and team collab. $24/user/month for SSO, audit log, and SLA support.

One line. Codex CLI ships links.

No new app. No account ceremony. Just ask Codex CLI to publish, and send the URL.

Add to Codex CLI
codex mcp add agentdoc -- npx -y @agentdoc/mcp