MCP servers · X Ads · custom connector
Connect Grok Bot (xAI) to X Ads
One line gives Grok Bot (xAI) your X Ads account as tools: 11 endpoints, campaigns, line items, promoted tweets, 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 X 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: "List campaigns in X 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 X Ads
Campaigns · Manage ad campaigns4
List campaigns
GET /accounts/{accountId}/campaignsCreate a campaign
POST /accounts/{accountId}/campaignsGet a campaign
GET /accounts/{accountId}/campaigns/{campaignId}Update a campaign
PUT /accounts/{accountId}/campaigns/{campaignId}Line items · Manage line items and targeting2
List line items
GET /accounts/{accountId}/line_itemsCreate a line item
POST /accounts/{accountId}/line_itemsPromoted tweets · Manage promoted tweets2
List promoted tweets
GET /accounts/{accountId}/promoted_tweetsCreate a promoted tweet
POST /accounts/{accountId}/promoted_tweetsAudiences · Manage tailored audiences2
Create an audience
POST /accounts/{accountId}/tailored_audiencesList audiences
GET /accounts/{accountId}/tailored_audiencesReports · Pull campaign analytics0
Pull campaign analytics
More · Everything else this app exposes.1
Get stats
GET /stats/accounts/{accountId}X Ads in other AI clients
Claude Code + X AdsMCP server + skillClaude (desktop & claude.ai) + X AdsconnectorChatGPT + X Adsconnector · GPT actionCodex CLI + X AdsMCP serverGemini CLI + X AdsMCP serverCursor + X AdsMCP serverVS Code (Copilot) + X AdsMCP serverWindsurf + X AdsMCP server
