Cancel Async Job
Cancel a PROCESSING async analytics job.
Let your AI agents run X Ads for you, safely.
A hosted X Ads MCP server for Claude, ChatGPT, Cursor and CLI agents. Paste one server URL into your AI client to use its 80 actions. There is nothing to install.
Enable or disable every action, per account. Block your agent from doing dangerous actions.
Ask in plain English. Create campaigns, pull reports, find insights and take action in X Ads.
80 read and write actions. Every X Ads task your agent needs, from reporting to campaign management.
Built for teams. Invite your team and share one connected account.
80 actions available to automate your X Ads workflows.
80 actions
Cancel a PROCESSING async analytics job.
Create a promoted-only (nullcast) tweet for use in ad campaigns. This tweet will NOT appear on the organic timeline.
Create an async analytics job. Max 90 days (non-segmented) or 45 days (segmented).
Create a new campaign (created in PAUSED status for safety).
Create a card (website, app, or carousel) for use in tweets.
Create a new line item (ad group) under a campaign (created in PAUSED status for safety).
Create a media creative and associate it with a line item.
Add a media asset to the account media library. Also creates an account_media entry.
Associate a user account with a line item as a promoted account.
Associate tweets with a line item as promoted tweets.
Associate a scheduled tweet with a line item as a scheduled promoted tweet.
Create a scheduled tweet for future publishing. Defaults to promoted-only (nullcast).
Create a targeting criterion for a line item.
Create a tracking tag for a line item.
Delete a campaign.
Delete a card.
Delete a line item.
Delete a media creative.
Remove a promoted account association.
Remove a promoted tweet association.
Remove a scheduled promoted tweet association.
Delete a scheduled tweet.
Delete a targeting criterion.
Delete a tracking tag.
Get details for a specific ad account.
Retrieve a summary of changes made to a specific entity on the account.
List account media assets associated with the current account.
Get details for a specific account media object.
Get active entities (campaigns, line items, etc.) that had activity in a time range.
Retrieve valid advertiser business categories for line items.
Retrieve details for async analytics jobs. Check job status before downloading results.
Retrieve the permissions of the authenticated user for the current account.
Get details for a specific campaign.
List all campaigns for an ad account.
Get details for a specific card.
List cards associated with the current account.
Retrieve content categories for preroll video targeting.
Retrieve features enabled for the current account.
Get details for a specific funding instrument.
List all funding instruments for an ad account.
Retrieve IAB content categories.
Get details for a specific line item.
List all line items for an ad account.
Get details for a specific media creative.
List all media creatives for an ad account.
List media library objects associated with the current account.
Get details for a specific media library object.
Get details for a specific promotable user.
List promotable users associated with the current account.
Get details for a specific promoted account.
List promoted accounts associated with line items under the current account.
Get details for a specific promoted tweet.
List promoted tweets associated with line items under the current account.
Retrieve campaign optimization recommendations for the account.
Get details for a specific scheduled promoted tweet.
List scheduled promoted tweets associated with the current account.
Retrieve synchronous analytics for an ad account. Max 7 days time range.
Discover available app store category-based targeting criteria.
Discover available conversation-based targeting criteria.
List targeting criteria associated with line items under the current account.
Get details for a specific targeting criterion.
Discover available device-based targeting criteria.
Discover available event-based targeting criteria.
Discover available interest-based targeting criteria.
Discover available language targeting criteria.
Discover available location-based targeting criteria (countries, regions, cities, postal codes, metros).
Discover available network operator (carrier) targeting criteria.
Discover available mobile OS version-based targeting criteria.
Discover available platform-based targeting criteria (iOS, Android, etc.).
Get keyword or user targeting suggestions to complement your targeting selection.
Discover available TV markets where TV shows can be targeted.
Discover available TV show-based targeting criteria.
Retrieve tax setting details for the current account.
Get details for a specific tracking tag.
List tracking tags associated with the current account.
Update an existing campaign.
Update an existing line item.
Update a media library object's metadata.
Update an existing tracking tag.
Upload an image for use in ads. Pass image_url (public HTTPS) or media_data (base64). Returns media_id to use with create_media_library_item.
X offers its own hosted X Ads MCP server. It is a good fit if you already have an X developer app with Ads API access and want X's core ads tools. InsightfulPipe is a hosted alternative for teams that want quick setup, a wider X Ads action set and account-level controls.
| What you operate | InsightfulPipe MCP server | X Ads MCP (X) |
|---|---|---|
| Hosting | Hosted by InsightfulPipe: paste one URL | Hosted by X at ads-api.x.com/mcp |
| Setup | Sign in with X and choose ads accounts | X developer app with Ads API access and an OAuth 2.0 client ID; the agent uses your own OAuth 2.0 token |
| Tools | 80 actions: 53 read and 27 write, including cards, scheduled promoted posts, tracking tags and async analytics | 23 tools: 9 account and inventory reads, 2 analytics, 2 targeting lookups and 10 writes |
| Write safety | Campaigns and line items created paused, ad posts promoted-only, delete actions off by default, per-account action controls | Campaigns and line items are created paused |
| Documented clients | Claude, ChatGPT, Claude Code, Cursor, Gemini CLI and Codex, plus a CLI | Grok, Claude Code and custom agents |
| Other platforms | Google Ads, Meta Ads, GA4 and 40+ more MCP servers | X Ads only |
| Price | Included in plans from $29.99/month, with a 7-day free trial | No price listed in X's documentation |
The InsightfulPipe X Ads MCP server is a hosted Model Context Protocol server that connects your X ads accounts to AI assistants such as Claude, ChatGPT, Cursor, Claude Code, Gemini CLI and Codex. You sign in with X, choose the ads accounts to connect and paste one server URL into your AI client.
Ask for impressions, engagements, clicks, spend and conversions by campaign or line item and get a plain-English summary.
See all X Ads actionsCompare promoted posts by engagement rate, reposts, replies and link clicks to see which messages work.
See all X Ads actionsLook up interests, conversation topics, events, locations and TV shows, and get keyword and handle suggestions for a line item.
See all X Ads actionsAdd the server URL to your AI client, then sign in with your InsightfulPipe account to authorize access. The server is hosted, so there is nothing to install.
https://x-ads.insightfulmcp.com/Fastest: add InsightfulPipe from the Claude Directory
One click connects the full InsightfulPipe MCP with all your connected accounts. To add a server scoped to X Ads only, follow the steps below.
Or add the X Ads server manually:
https://x-ads.insightfulmcp.com/
Start a new chat, click +, open Connectors and turn the connector on to use it.
The Free plan can add one custom connector. On Team and Enterprise plans, an Owner first adds it under Organization settings > Connectors, then each member clicks Connect in Customize > Connectors.
Fastest: add InsightfulPipe from the ChatGPT app directory
One click connects the full InsightfulPipe MCP with all your connected accounts. To add a server scoped to X Ads only, follow the steps below.
Or add the X Ads server manually. Custom MCP servers need ChatGPT's Developer mode, which OpenAI offers on Plus, Pro, Business, Enterprise and Education accounts on the web.
https://x-ads.insightfulmcp.com/
See OpenAI's Developer mode guide.
claude mcp add --transport http x-ads-mcp https://x-ads.insightfulmcp.com/
/mcp, select x-ads-mcp and choose Authenticate.~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):{
"mcpServers": {
"x-ads-mcp": {
"url": "https://x-ads.insightfulmcp.com/"
}
}
}gemini mcp add --transport http x-ads-mcp https://x-ads.insightfulmcp.com/
/mcp auth x-ads-mcp.Using the Codex app? Add InsightfulPipe from the OpenAI app directory
The listed app connects the full InsightfulPipe MCP with all your connected accounts, in both ChatGPT and Codex.
codex mcp add x-ads-mcp --url https://x-ads.insightfulmcp.com/
codex mcp login x-ads-mcp.One hosted server URL, any MCP-compatible client. Pick yours to see the setup steps, or paste the URL into anything that speaks MCP.
Setup guide for ChatGPT
Setup guide for Claude
Setup guide for Claude Code
Setup guide for Codex
Setup guide for Cursor
Setup guide for Gemini CLI
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Run actions from your terminal
Copy a prompt into any connected client, or install a Claude skill that chains the actions for you.
“How did my campaigns perform over the last 7 days on spend, engagements and link clicks?”
Uses synchronous stats for campaigns
Claude skill that compares efficiency across Meta, TikTok, LinkedIn, Pinterest, X and Snapchat ads and recommends how to reallocate social budget.
“Which promoted posts got the most reposts and replies this week?”
Compares promoted post engagement
“Break down last month's impressions by age and location”
Runs a segmented async analytics job
“Find interest and conversation targeting options related to running”
Searches X targeting criteria
“Which line items had website purchases from the X Pixel last week?”
Reads web conversion metrics
“Create a paused Engagements campaign with one line item and a promoted-only post”
Builds the campaign paused for review
“Show the recent changes made to this ads account”
Reads account history
Join hundreds of agencies and brands using InsightfulPipe to connect marketing data to AI.
Start a free trial today.