CLI and IDE

Manage ads with Codex

Codex uses AdAgnt from the CLI and from the IDE extension; both read the same config. You approve changes at app.adagnt.com. Add it once, then connect any of the eight ad platforms below.

  1. 1
    Add AdAgnt to Codex

    Run this in a terminal. The Codex CLI and the IDE extension share ~/.codex/config.toml, so it works in both.

    codex mcp add adagnt --url https://mcp.adagnt.com/mcp

    Codex MCP docs ↗

  2. 2
    Sign in to AdAgnt

    Codex opens AdAgnt's sign-in straight away. Later, codex mcp login adagnt signs in again.

    No AdAgnt account yet? This creates one on the Free plan. No card, no password.

Codex with each ad platform