Setup guide · OpenAI Codex CLI
Meta Ads Codex MCP
Add NotFair's Meta MCP to OpenAI's Codex CLI in under a minute. One terminal command wires up Facebook + Instagram ad-account access — Codex then has live data to diagnose and operate your Meta campaigns.
Free · No credit card · 1-minute setup
How to install
Add NotFair Meta to Codex in 3 steps
Install the Codex CLI
Open a terminal and install OpenAI Codex if you don't have it already. Follow the official install guide for your platform.
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-MetaAds --url https://notfair.co/api/mcp/meta_adsAsk Codex about your ads
Try a prompt like:
“Audit my connected Meta ad account (Facebook + Instagram) 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 Meta?
Sign in to NotFair, link your Meta ad accounts, then run the one-liner in your terminal. Setup takes under a minute.
FAQ — NotFair Meta Ads for Codex
Everything you need to know about installing and using the NotFair Meta MCP inside OpenAI's Codex CLI.
What is the NotFair Meta Ads Codex MCP integration?
It's an MCP (Model Context Protocol) integration for OpenAI's Codex CLI. Once added, Codex can read your Meta ad accounts — Facebook and Instagram — 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 Meta 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-MetaAds --url https://notfair.co/api/mcp/meta_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 Meta to Codex is free with no credit card. Paid plans unlock higher usage limits and team features.
Can Codex actually change my Meta ad accounts?
Only with your explicit approval. Codex can propose pausing campaigns/ad sets/ads, adjusting budgets, or renaming entities — but every write action is shown to you first and requires confirmation.
Related guides
Explore the rest of the NotFair setup options.
Meta Ads Claude Connector
If you use Claude.ai Web, Desktop, or Cowork instead of Codex, install NotFair as a custom MCP connector in under 2 minutes.
Meta Ads Claude Code Plugin
For Claude Code in your terminal — install NotFair via the toprank plugin marketplace.
Google Ads Codex MCP
Same setup pattern for Google Ads — one terminal command and Codex has live Google Ads access.