MCP servers · Instagram Ads · MCP server
Connect Codex CLI to Instagram Ads
One line gives Codex CLI your Instagram Ads account as tools: 8 endpoints, campaigns, adsets, ads, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect Instagram Ads. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "Create a campaign in Instagram Ads".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in Instagram Ads
Campaigns · Manage Instagram ad campaigns2
Create a campaign
POST /act_{adAccountId}/campaignsList campaigns
GET /act_{adAccountId}/campaignsAdsets · Manage ad sets with Instagram placement2
Create an adset
POST /act_{adAccountId}/adsetsList adsets
GET /act_{adAccountId}/adsetsAds · Manage Instagram ad creatives3
Create an ad
POST /act_{adAccountId}/adsList ads
GET /act_{adAccountId}/adsGet ad previews
GET /{adId}/previewsInsights · View Instagram ad performance1
Get insights
GET /act_{adAccountId}/insightsInstagram Ads in other AI clients
Claude Code + Instagram AdsMCP server + skillClaude (desktop & claude.ai) + Instagram AdsconnectorChatGPT + Instagram Adsconnector · GPT actionGemini CLI + Instagram AdsMCP serverCursor + Instagram AdsMCP serverVS Code (Copilot) + Instagram AdsMCP serverWindsurf + Instagram AdsMCP server
