OpenAI Ads.
In your assistant.
The open-source MCP server for OpenAI Ads, ChatGPT Ads and the OpenAI Advertiser API. Read performance and manage campaigns in plain English.
Independent Trakkr project · MIT · v0.1.7
export OPENAI_ADS_API_KEY="sk-ads-your-key"
export OPENAI_ADS_MCP_READONLY=1
npx -y openai-ads-mcpNode 18+. Remove OPENAI_ADS_MCP_READONLY only when you want write tools visible.
Replace the example key with your own. Keep keys out of shared config files.
Built for the
Advertiser API.
This independent server connects to the OpenAI Advertiser API at api.ads.openai.com/v1.
- Package
- openai-ads-mcp
- Version
- 0.1.7
- Runtime
- Python and Node
- Transport
- stdio and Streamable HTTP
- Auth
- OpenAI Ads API key, per request or env
- Registry
- io.github.trakkr-aisearch/openai-ads-mcp
- License
- MIT
From account
to campaign.
27 tools across 8 groups. Read accounts and insights, prepare context hints, or enable writes in your local setup.
Account
1 toolget_account
Campaigns
5 toolslist_campaignsget_campaigncreate_campaignWriteupdate_campaignWriteset_campaign_stateWrite
Ad groups
5 toolslist_ad_groupsget_ad_groupcreate_ad_groupWriteupdate_ad_groupWriteset_ad_group_stateWrite
Ads
6 toolslist_adsget_adupload_creativeWritecreate_adWriteupdate_adWriteset_ad_stateWrite
Insights
1 toolget_insights
Audiences
4 toolslist_audiencesget_audiencesearch_geomanage_audienceWrite
Conversions
2 toolsmanage_conversionsWritesend_conversionsWrite
Workflows
3 toolsbuild_campaignWritedraft_context_hintsbulk_ab_test_hintsWrite
Write labels mark tools with mutating actions. In read-only mode, write tools are hidden and mixed tools expose only their read actions. Creating paused applies to new campaigns, ad groups and ads.
Start with the evidence.
Read account data and insights first. Enable local writes deliberately when you’re ready to manage campaigns.
Start with reads
The hosted endpoint is read-only. The local snippets enable read-only mode, hiding write tools and limiting mixed tools to read actions.
OPENAI_ADS_MCP_READONLY=1Create paused. Set a ceiling.
New campaigns, ad groups and ads are created paused. Budget-setting tools reject values above your ceiling unless confirm_budget is true.
OPENAI_ADS_BUDGET_CEILING_USD=100Use your own API key
Supply an OpenAI Ads API key per request or through the local environment. The server does not store or log API keys.
X-OpenAI-Ads-API-KeyChoose how
it runs.
Use the hosted endpoint for reads, or run the package locally to control its configuration and write access.
| Capability | Hosted endpoint | Local package |
|---|---|---|
| API | OpenAI Advertiser API | OpenAI Advertiser API |
| Transport | Streamable HTTP | stdio or Streamable HTTP |
| Authentication | Per-request key header | Environment or per-request key |
| Write tools | Read-only | Opt in through configuration |
| New campaigns, ad groups and ads | Read-only | Created paused |
| Budget ceiling | Read-only | Default $100, configurable |
| Source and license | Public source, MIT | Public source, MIT |
This package targets the OpenAI Advertiser API. Check its source and API coverage before using it with your account.
Connect ads
with visibility.
Review campaign data alongside the places AI answers mention, recommend and cite your brand.
Track your brand across AI models
See how ChatGPT, Gemini, and Claude rank you against competitors.
Trakkr MCP server
Pull your live AI visibility data into Claude, ChatGPT, and Cursor.
ChatGPT Ads Context Hint Generator
Draft OpenAI Ads context hints for the moments you are losing.
Free AI visibility tools
Audit your site and benchmark your brand, no signup needed.
Questions,
answered.
The ones we hear most. Need a hand?
Talk to our team
It is an open-source Model Context Protocol server that connects any MCP client, like Claude, Cursor, or Codex, to the OpenAI Advertiser API. Once connected, you can read accounts and insights and manage OpenAI Ads and ChatGPT Ads campaigns in plain English. It ships as the openai-ads-mcp package on npm and PyPI under an MIT license.
The Agent answers from our docs, methods and pricing, and links to the source.
Open source.
Ready to inspect.
Choose an install, read the code and connect your own OpenAI Ads account to the assistant you use.