Add Sprites to Codex
Available on Anywhere Codex CLI runs — a ChatGPT plan that includes Codex, or an API key. You need a Sprites account with Competitor research already connected — the connector acts on that connection, so Codex never handles a Competitor research credential.
Add the server
One command writes the entry into ~/.codex/config.toml for you.
Terminalcodex mcp add sprites --url https://mcp.sprites.ai/mcpOr write the config by hand
The same entry in ~/.codex/config.toml, or in .codex/config.toml inside a trusted project when you want the connector scoped to one repo.
~/.codex/config.toml[mcp_servers.sprites] url = "https://mcp.sprites.ai/mcp" auth = "oauth"Sign in
Codex opens a browser for the Sprites consent screen and stores the token locally. Sprites supports dynamic client registration and client ID metadata documents, so there is nothing to pre-register.
Terminalcodex mcp login spritesApprove changes by name
Codex renders results as text, so a pending change comes back written out rather than as a card you can click. Nothing is applied until you approve it, and the approval waits for you in Sprites — open it there and the same run continues.
Pending changeChangeDaily budget $40 → $65Gategate_7f2c…
What permissions this needs
Connecting Competitor Research to Codex yourself means a public ad libraries and search data integration, and these are the permissions and gates it runs into. Through Sprites you sign in with OAuth instead, with no developer token or app review of your own.
No account to authorize
The ad libraries, rival SEO data and AI answers it reads are public, so there is no platform permission to grant.
Meta Ad Library API
The do-it-yourself route many community servers wrap. It returns non-political ads only where they were delivered in the EU and UK.
Your own accounts, optional
Google Ads, Meta or Search Console, connected only to set your numbers beside the competitor read.
What Sprites asks for when you connect
Nothing beyond your Sprites sign-in. Connecting your own Google Ads, Meta or Search Console is optional and uses those channels’ own connections.
What you skip
You request no Ad Library API access and keep no tokens or exports for the libraries. Codex signs in to Sprites with OAuth and never holds a Competitor research credential.
Run the first prompt
Ask Codex this. It routes to a Sprites door, which reads your Competitor research account and answers — no account to name, no confirmation to give first.
- With Sprites, show me every ad Gymshark is running on Meta right now and which have run longest.
- Ask Sprites what Google search ads HubSpot is running for CRM terms.
- Use Sprites to compare our organic keywords with notion.so and list the gaps worth writing for.
- Have Sprites check who ChatGPT recommends for "best project management tool for agencies" and which pages it cites.
- Use Sprites to send me a Monday digest of new ads from our five main competitors.
Run `codex mcp list` and confirm sprites shows as connected.
What Codex can do with Competitor research
The same doors, whichever client you are in. Marketing work that belongs in a commit: Codex can read the landing page it is about to ship and brief Sprites on the campaign pointing at it, in one session.
See every ad a rival is running on Meta
Any advertiser’s live Facebook and Instagram ads from the Meta Ad Library: the copy, the creative, the start date and how long each has run. A brand’s regional pages are read in any country.
Read their Google ads as well
Search, image and video ads from Google’s Ads Transparency Center, for the competitor you name.
Check TikTok where TikTok publishes it
Ads from TikTok’s Commercial Content Library in the EU and EEA, Switzerland, the UK and Turkey, the regions TikTok publishes it for.
Find the keyword gaps
A rival domain’s ranking keywords, estimated organic traffic and backlinks, and the terms it ranks for that you do not.
See who the answer engines recommend
Which brands and pages ChatGPT, Perplexity, Gemini, Copilot and Google’s AI results cite for the prompts you choose.
Turn it into briefs and a weekly watch
Ad copy and briefs built from the patterns rivals keep running, and a recurring digest of their new ads, each set up only on your approval.
How approvals work here
Codex renders tool results as text, so a Competitor research change comes back written out rather than as a card. The approval waits for you in Sprites — open it there and the same run continues. Nothing is applied until you approve it.
What it reads
- Any advertiser’s live Facebook and Instagram ads in the Meta Ad Library, in any country
- A competitor’s Google search, image and video ads from the Ads Transparency Center
- TikTok’s Commercial Content Library, where TikTok publishes it: the EU and EEA, Switzerland, the UK and Turkey
- A rival domain’s ranking keywords, estimated organic traffic and backlinks
- Which brands and pages the AI answer engines cite for your prompts
- Optionally, your own Google Ads, Meta or Search Console, to set your numbers beside theirs
What it can change
- Nothing on a competitor: the research itself is read-only
- Ad copy and briefs, delivered as approval cards
- A recurring competitor watch, scheduled only after you approve it
When it does not work in Codex
Three things go wrong in this client specifically, and each has a one-line fix.
Codex says the tool is not found.
The config was edited while a session was open. Restart Codex — it reads config.toml at startup.
Login loops without ever completing.
The OAuth callback defaults to http://127.0.0.1/callback. If something else on the machine holds that port, set mcp_oauth_callback_url in config.toml and log in again.
Codex says a change was applied and nothing happened in the account.
It was proposed, not applied — that is the design. The approval is waiting in Sprites; open it there and the run continues from where it stopped.
Competitor research and Codex: questions
Which URL do I paste into Codex?
https://mcp.sprites.ai/mcp. There is one endpoint and every client uses it — every OAuth grant is bound to exactly that address, so a variant of it will not be honoured.
Can Codex publish or change anything without asking?
Codex renders tool results as text, so a Competitor research change comes back written out rather than as a card. The approval waits for you in Sprites — open it there and the same run continues. Nothing is applied until you approve it.
Do I need a Competitor research API key or developer token?
No. Competitor research reads public sources, so there is nothing to connect or authorize for it. You request no Ad Library API access and keep no tokens or exports for the libraries. Codex never sees a credential.
Why Codex for Competitor research specifically?
Marketing work that belongs in a commit: Codex can read the landing page it is about to ship and brief Sprites on the campaign pointing at it, in one session.
Is there an official Meta Ad Library or Google Ads Transparency MCP server?
No. Neither Meta nor Google publishes an MCP server for its ad library. Sprites reads both from your agent, alongside rival SEO data and the brands AI answers cite.
Do I need to connect anything to research competitors?
No. Every source it reads is public, so there is nothing to authorize. Connecting your own Google Ads, Meta or Search Console is optional and only sets your numbers beside the competitor read.
Keep going
The same Codex connector reaches every other channel — nothing else to add.
Competitor research, from Codex
Paste one URL, sign in once, and the next Competitor research question you ask Codex gets answered from the live account.