Integration
Use Google Ads in Codex with a hosted MCP server
Add Roasby to your Codex configuration and work on your ad accounts from the terminal. Ask for reports, find waste and make changes after a preview, in the same session as your code.
Free plan. No card needed.
Why use Roasby in Codex
Two lines of configuration
Add the Roasby address to your Codex config and sign in once.
Real data in your session
Spend, conversions, keywords and search terms from every connected account.
Built to ask first
Codex previews each change and is told to wait for your approval.
Set up Codex
- Connect an ad account on the Ad accounts page in Roasby.
- Open ~/.codex/config.toml.
- Add the Roasby server below.
- Sign in to Roasby when Codex asks, and approve access.
- Ask: Which Roasby workspace am I in?
[mcp_servers.roasby]
url = "https://roasby.com/mcp"What a Codex session looks like
Unlike a project file, ~/.codex/config.toml is yours alone, so Roasby follows you between repositories and nothing about it lands in a commit.
Roasby answers in the same session as your code. You can ask for spend by platform, then keep working with the answer in front of you, such as checking a landing page against the searches that reach it.
A change takes two steps here too. Codex calls a preview tool first, and the real change needs the one-time token that preview returns, which works once, for 10 minutes, for that exact change.
Try asking
- Summarize last week's ad spend by platform.
- Which keywords have the highest cost per conversion?
- Cut the budget of campaigns with no conversions this month by 30%.
How your ad accounts stay safe
Codex never sees your ad platform logins or keys. It previews each change and is told to wait for your yes, and your guardrails limit budget and bid changes.
Read the safety modelQuestions, answered
How do I add Roasby to Codex?
Add a roasby entry under mcp_servers in ~/.codex/config.toml with the url https://roasby.com/mcp, then sign in.
Does Codex need my ad platform logins?
No. You connect your ad accounts in Roasby once. Codex only signs in to Roasby.
Can Codex create campaigns?
Yes. Campaigns are always created paused, so nothing spends until you turn them on.
Does it work in every project?
Yes. ~/.codex/config.toml applies to all your projects, so Roasby is there whenever you open Codex.
Keep exploring
Priced per ad account. See the plans.
Ask your first question in five minutes
Connect an ad account, add Roasby to your assistant and see where your budget goes.
Start freeFree plan. No card needed.