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 Reddit Ads already connected — the connector acts on that connection, so Codex never handles a Reddit 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…
Run the first prompt
Ask Codex this. It routes to a Sprites door, which reads your Reddit Ads account and answers — no account to name, no confirmation to give first.
- With Sprites, which subreddits are converting and which are just clicking?
- Ask Sprites which communities discuss the problem our product solves.
- Use Sprites to rewrite our Reddit ad so it reads native to r/devops.
- Have Sprites pause the subreddits with spend and no conversions this month.
- With Sprites, launch a Reddit campaign across our top 8 communities at $60/day.
Run `codex mcp list` and confirm sprites shows as connected.
What Codex can do with Reddit Ads
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.
Performance per community
CPA and engagement by subreddit, so a single expensive community stops hiding inside a campaign average.
Find the right rooms
The subreddits where your problem is actually discussed, sized and ranked before you target them.
Copy that does not get downvoted
Ad text drafted in the register of the community it runs in, not lifted from the Google Ads account.
Cut the tourist traffic
Communities with clicks and no conversions, named with the spend attached.
Read the comments
Engagement and sentiment on your own ads, which on Reddit is the earliest signal you get.
Launch around a list
A campaign whose structure follows the community list rather than fighting it.
How approvals work here
Codex renders tool results as text, so a Reddit change comes back written out rather than as a card. Nothing is applied until you approve it, and the approval waits for you in Sprites — open it there and the same run continues.
What it reads
- Campaigns, ad groups, ads and community targeting
- Spend, CPA, CTR, upvotes and comment engagement
- Per-subreddit performance breakdowns
- Public discussion in candidate communities
What it can change
- Create campaigns, ad groups and ads
- Community targeting, budgets, schedules and status
- Ad copy, drafted per community and approved before it runs
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.
Reddit Ads 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 change my Reddit Ads account without asking?
Codex renders tool results as text, so a Reddit change comes back written out rather than as a card. Nothing is applied until you approve it, and the approval waits for you in Sprites — open it there and the same run continues.
Do I need a Reddit Ads API key or developer token?
No. Reddit Ads is connected once inside Sprites through Reddit Ads, and the connector acts on that connection. Codex never sees a credential for it.
Why Codex for Reddit Ads 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.
Can it target individual subreddits?
Yes, and it reports on them individually too — which is the point, since community-level CPA varies more on Reddit than on any other channel.
Will it post organically to Reddit?
No. The connector runs Reddit Ads. Organic posting is deliberately out of scope: it is the fastest way to get an account banned.
Keep going
The same Codex connector reaches every other channel — nothing else to add.
Reddit Ads, from Codex
Paste one URL, sign in once, and the next Reddit question you ask Codex gets answered from the live account.