View markdown

Codex

Connect Adsyncs to OpenAI Codex (CLI / desktop).

Install

codex mcp add adsyncs --url https://mcp.adsyncs.net/mcp
codex mcp login adsyncs

The login command opens a browser for OAuth. Then restart your Codex session and run /mcp to confirm adsyncs is connected.

Connect your ad accounts

  1. Open app.adsyncs.net, sign in.
  2. Connections → start the OAuth flow for each platform you want Codex to see.
  3. Pick which ad accounts to expose.

Manual install

Codex reads MCP server configuration from ~/.codex/config.toml. Add:

[mcp_servers.adsyncs]
url = "https://mcp.adsyncs.net/mcp"

Then run:

codex mcp login adsyncs

Restart Codex after login.

Troubleshooting

Tools not visible

Confirm the [mcp_servers.adsyncs] block is present in ~/.codex/config.toml, then run codex mcp login adsyncs. Restart Codex after editing the file.

  • auth_required: finish the missing provider connection in our dashboard.
  • OAuth redirect error: update Adsyncs to a version that accepts loopback callbacks from native MCP clients, then retry codex mcp login adsyncs.

Uninstall

codex mcp remove adsyncs