MCP servers · Facebook Ads · custom connector
Connect Grok Bot (xAI) to Facebook Ads
One line gives Grok Bot (xAI) your Facebook Ads account as tools: 11 endpoints, campaigns, adsets, ads, called with your own connection. No key in the prompt, a receipt for every call, revoke Grok Bot (xAI)'s access alone any time.
Three steps
- Create a free 0n3 account and connect Facebook Ads. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Grok Bot (xAI). xAI's always-on Grok Bot. Add 0n3 as a custom connector once, and your Bot can use every app you added, around the clock.
- Ask Grok Bot (xAI): whoami. Then: "Create a campaign in Facebook Ads".
Add 0n3 to Grok Bot (desktop app)
- Open Grok Bot on your computer. In the sidebar, click Connect apps.
- At the bottom, click Add a custom connector.
- For Name, type 0n3. For Type, pick Remote HTTPS. For Server URL, type https://0n3.app/mcp.
- Under HTTP headers, add Authorization with the value Bearer <your 0n token>
- Click Add plugin.
Then try it: send your Bot this
- "Use 0n3: who am I, and which apps can you reach?"
- "Every weekday at 8, use 0n3 to list today's CRM appointments and new Stripe payments, and post a summary to me."
The line above carries a placeholder; 0n3.app/install mints a real key named for Grok Bot (xAI) and fills it in.
What Grok Bot (xAI) can then do in Facebook Ads
Campaigns · Manage ad campaigns4
Create a campaign
POST /act_{adAccountId}/campaignsList campaigns
GET /act_{adAccountId}/campaignsGet a campaign
GET /{campaignId}Update a campaign
POST /{campaignId}Adsets · Manage ad sets and targeting2
Create an adset
POST /act_{adAccountId}/adsetsList adsets
GET /act_{adAccountId}/adsetsAds · Manage ad creatives2
Create an ad
POST /act_{adAccountId}/adsList ads
GET /act_{adAccountId}/adsInsights · View performance insights1
Get insights
GET /act_{adAccountId}/insightsAudiences · Create and manage custom audiences2
Create an audience
POST /act_{adAccountId}/customaudiencesList audiences
GET /act_{adAccountId}/customaudiencesFacebook Ads in other AI clients
Claude Code + Facebook AdsMCP server + skillClaude (desktop & claude.ai) + Facebook AdsconnectorChatGPT + Facebook Adsconnector · GPT actionCodex CLI + Facebook AdsMCP serverGemini CLI + Facebook AdsMCP serverCursor + Facebook AdsMCP serverVS Code (Copilot) + Facebook AdsMCP serverWindsurf + Facebook AdsMCP server
