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.
codex mcp add agentdoc -- npx -y @agentdoc/mcpCodex 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?
Does the person I send the link to need an AgentDoc account?
What if I want the doc to stay private?
Does the agent count as a paid seat?
I'm not technical — is there a way to install without the terminal?
What does this cost?
One line. Codex CLI ships links.
No new app. No account ceremony. Just ask Codex CLI to publish, and send the URL.
codex mcp add agentdoc -- npx -y @agentdoc/mcp