Codex CLI
Add Autousers to OpenAI Codex CLI via OAuth or Bearer token.
Option 1 — OAuth
codex mcp add autousers --url https://mcp.autousers.ai/mcpRegister Autousers; OAuth flow triggers on first tool call
Option 2 — Bearer token (headless)
codex mcp add autousers \
--url https://mcp.autousers.ai/mcp \
--bearer-token $AUTOUSERS_API_KEYRegister with a static API key
Generate API keys at /settings/api-keys. Keys start with ak_live_.
Was this article helpful?