Setup guide · OpenAI Codex CLI

X Ads Codex MCP

Add NotFair's X MCP to OpenAI's Codex CLI in under a minute. One terminal command wires up X (Twitter) ad-account access — Codex then has live data to diagnose and operate your X campaigns.

Free · No credit card · 1-minute setup

How to install

Add NotFair X to Codex in 3 steps

1

Install the Codex CLI

Open a terminal and install OpenAI Codex if you do not have it already. Follow the official install guide for your platform.

2

Add the NotFair MCP

Run this one-liner. Codex will walk you through the OAuth flow and register the NotFair MCP server automatically.

codex mcp add NotFair-XAds --url https://notfair.co/api/mcp/x_ads
3

Ask Codex about your ads

Try a prompt like:

Audit my connected X (Twitter) ad account and tell me the 3 biggest optimization opportunities.

Codex will call NotFair tools to read your account and respond with specific, data-backed insights.

Ready to wire up Codex for X?

Sign in to NotFair, link your X ad accounts, then run the one-liner in your terminal. Setup takes under a minute.

FAQ — NotFair X Ads for Codex

Everything you need to know about installing and using the NotFair X MCP inside OpenAI's Codex CLI.

What is the NotFair X Ads Codex MCP integration?

It's an MCP (Model Context Protocol) integration for OpenAI's Codex CLI. Once added, Codex can read your X (Twitter) ad accounts in real time, then diagnose issues, recommend fixes, and propose changes you approve in chat.

How is this different from the Claude setup guides?

Same backend, different client. The Codex CLI calls the NotFair X MCP server using OpenAI's MCP support. The Claude Connector and Claude Code plugin call it from Anthropic's clients. Capabilities are identical.

How long does setup take?

Under a minute. Run a single `codex mcp add NotFair-XAds --url https://notfair.co/api/mcp/x_ads` command in your terminal — Codex walks you through the OAuth flow and registers the MCP automatically.

Do I need to write any code?

No. One terminal command sets everything up. There are no JSON config edits, no environment variables, and no scripts to run.

Is the integration free?

Yes. Adding NotFair X to Codex is free with no credit card. Paid plans unlock higher usage limits and team features.

Can Codex actually change my X ad accounts?

Only with your explicit approval. Codex can propose pausing campaigns or line items, adjusting budgets, or renaming entities — but every write action is shown to you first and requires confirmation.