AUTOMATION
Query ChatGPT Ads API via MCP Server
Enable Claude/Codex to query ad campaigns in plain language
Updated: 6/4/2026
Difficulty
medium
Time
2-4h
Use Case
Query ChatGPT ad accounts, campaigns, ad groups, and insights without manual API calls
Popularity
0 views
About this automation
Build an MCP server wrapping the ChatGPT Ads API to enable natural language querying of ad campaigns, accounts, and performance metrics through Claude or Codex. Includes 11 read-only tools with planned write operations and human-in-the-loop verification.
How to implement
1
Set up MCP server project
2
Integrate OpenAI ChatGPT Ads API
3
Define tool schemas for accounts/campaigns/insights
4
Test with Claude/Codex
5
Deploy to MCP registry
6
Plan write operations with verification