The Codex CLI, the IDE extension and the desktop app share one configuration,
~/.codex/config.toml, so setting AdLoop up once covers all three (checked 2026-10-10). Codex in ChatGPT on the web doesn’t read that file; it uses plugins instead, see ChatGPT.Sign in with AdLoop (OAuth)
API key
Keep the key in an environment variable rather than in the config file:~/.codex/config.toml, which you can also edit by hand:
Authorization: Bearer …. A key can be restricted to read-only, single clients or chosen toolsets.
IDE extension
In the Codex panel: gear menu → MCP servers → Add server, choose Streamable HTTP, enterhttps://mcp.getadloop.com/mcp, save and restart the extension. Click Authenticate next to AdLoop to sign in. A server you added with the CLI shows up here too.
Verify
/mcp in a Codex session. Then ask: “Run the AdLoop health check.”
Notes
- AdLoop answers some reports in more than ten seconds. If Codex gives up on long calls, raise
tool_timeout_secunder[mcp_servers.adloop](default 60). - Every write goes through the preview and confirm flow, so an agent running unattended can’t apply a change without you.