X Ads
X Ads MCPPublicité80 actions

X (Twitter) Ads MCP Server

Let your AI agents run X Ads for you, safely.

  • 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.

Compatible avec
ChatGPTChatGPTClaudeClaudeClaude CodeClaude CodeCodexCodexGemini CLIGemini CLICursorCursorMistralMistralOpenClawOpenClawHermesHermesPerplexityGrokn8nWindsurfVS CodeZed
ChatGPT
X Ads
ChatGPT
connected to X Ads MCP
En ligne
ChatGPT
Actions

Actions disponibles

80 actions disponibles pour automatiser vos workflows X Ads au quotidien.

80 actions

X Ads
Lecture

Cancel Async Job

Cancel a PROCESSING async analytics job.

X Ads
Écriture

Create Ad Tweet

Create a promoted-only (nullcast) tweet for use in ad campaigns. This tweet will NOT appear on the organic timeline.

X Ads
Lecture

Create Async Job

Create an async analytics job. Max 90 days (non-segmented) or 45 days (segmented).

X Ads
Écriture

Create Campaign

Create a new campaign (created in PAUSED status for safety).

X Ads
Écriture

Create Card

Create a card (website, app, or carousel) for use in tweets.

X Ads
Écriture

Create Line Item

Create a new line item (ad group) under a campaign (created in PAUSED status for safety).

X Ads
Écriture

Create Media Creative

Create a media creative and associate it with a line item.

X Ads
Écriture

Create Media Library Item

Add a media asset to the account media library. Also creates an account_media entry.

X Ads
Écriture

Create Promoted Account

Associate a user account with a line item as a promoted account.

X Ads
Écriture

Create Promoted Tweet

Associate tweets with a line item as promoted tweets.

X Ads
Écriture

Create Scheduled Promoted Tweet

Associate a scheduled tweet with a line item as a scheduled promoted tweet.

X Ads
Écriture

Create Scheduled Tweet

Create a scheduled tweet for future publishing. Defaults to promoted-only (nullcast).

X Ads
Écriture

Create Targeting Criterion

Create a targeting criterion for a line item.

X Ads
Écriture

Create Tracking Tag

Create a tracking tag for a line item.

X Ads
Écriture

Delete Campaign

Delete a campaign.

X Ads
Écriture

Delete Card

Delete a card.

X Ads
Écriture

Delete Line Item

Delete a line item.

X Ads
Écriture

Delete Media Creative

Delete a media creative.

X Ads
Écriture

Delete Promoted Account

Remove a promoted account association.

X Ads
Écriture

Delete Promoted Tweet

Remove a promoted tweet association.

X Ads
Écriture

Delete Scheduled Promoted Tweet

Remove a scheduled promoted tweet association.

X Ads
Écriture

Delete Scheduled Tweet

Delete a scheduled tweet.

X Ads
Écriture

Delete Targeting Criterion

Delete a targeting criterion.

X Ads
Écriture

Delete Tracking Tag

Delete a tracking tag.

X Ads
Lecture

Get Account

Get details for a specific ad account.

X Ads
Lecture

Get Account History

Retrieve a summary of changes made to a specific entity on the account.

X Ads
Lecture

Get Account Media

List account media assets associated with the current account.

X Ads
Lecture

Get Account Media Item

Get details for a specific account media object.

X Ads
Lecture

Get Active Entities

Get active entities (campaigns, line items, etc.) that had activity in a time range.

X Ads
Lecture

Get Advertiser Business Categories

Retrieve valid advertiser business categories for line items.

X Ads
Lecture

Get Async Jobs

Retrieve details for async analytics jobs. Check job status before downloading results.

X Ads
Lecture

Get Authenticated User Access

Retrieve the permissions of the authenticated user for the current account.

X Ads
Lecture

Get Campaign

Get details for a specific campaign.

X Ads
Lecture

Get Campaigns

List all campaigns for an ad account.

X Ads
Lecture

Get Card

Get details for a specific card.

X Ads
Lecture

Get Cards

List cards associated with the current account.

X Ads
Lecture

Get Content Categories

Retrieve content categories for preroll video targeting.

X Ads
Lecture

Get Features

Retrieve features enabled for the current account.

X Ads
Lecture

Get Funding Instrument

Get details for a specific funding instrument.

X Ads
Lecture

Get Funding Instruments

List all funding instruments for an ad account.

X Ads
Lecture

Get Iab Categories

Retrieve IAB content categories.

X Ads
Lecture

Get Line Item

Get details for a specific line item.

X Ads
Lecture

Get Line Items

List all line items for an ad account.

X Ads
Lecture

Get Media Creative

Get details for a specific media creative.

X Ads
Lecture

Get Media Creatives

List all media creatives for an ad account.

X Ads
Lecture

Get Media Library

List media library objects associated with the current account.

X Ads
Lecture

Get Media Library Item

Get details for a specific media library object.

X Ads
Lecture

Get Promotable User

Get details for a specific promotable user.

X Ads
Lecture

Get Promotable Users

List promotable users associated with the current account.

X Ads
Lecture

Get Promoted Account

Get details for a specific promoted account.

X Ads
Lecture

Get Promoted Accounts

List promoted accounts associated with line items under the current account.

X Ads
Lecture

Get Promoted Tweet

Get details for a specific promoted tweet.

X Ads
Lecture

Get Promoted Tweets

List promoted tweets associated with line items under the current account.

X Ads
Lecture

Get Recommendations

Retrieve campaign optimization recommendations for the account.

X Ads
Lecture

Get Scheduled Promoted Tweet

Get details for a specific scheduled promoted tweet.

X Ads
Lecture

Get Scheduled Promoted Tweets

List scheduled promoted tweets associated with the current account.

X Ads
Lecture

Get Stats

Retrieve synchronous analytics for an ad account. Max 7 days time range.

X Ads
Lecture

Get Targeting App Store Categories

Discover available app store category-based targeting criteria.

X Ads
Lecture

Get Targeting Conversations

Discover available conversation-based targeting criteria.

X Ads
Lecture

Get Targeting Criteria

List targeting criteria associated with line items under the current account.

X Ads
Lecture

Get Targeting Criterion

Get details for a specific targeting criterion.

X Ads
Lecture

Get Targeting Devices

Discover available device-based targeting criteria.

X Ads
Lecture

Get Targeting Events

Discover available event-based targeting criteria.

X Ads
Lecture

Get Targeting Interests

Discover available interest-based targeting criteria.

X Ads
Lecture

Get Targeting Languages

Discover available language targeting criteria.

X Ads
Lecture

Get Targeting Locations

Discover available location-based targeting criteria (countries, regions, cities, postal codes, metros).

X Ads
Lecture

Get Targeting Network Operators

Discover available network operator (carrier) targeting criteria.

X Ads
Lecture

Get Targeting Platform Versions

Discover available mobile OS version-based targeting criteria.

X Ads
Lecture

Get Targeting Platforms

Discover available platform-based targeting criteria (iOS, Android, etc.).

X Ads
Lecture

Get Targeting Suggestions

Get keyword or user targeting suggestions to complement your targeting selection.

X Ads
Lecture

Get Targeting Tv Markets

Discover available TV markets where TV shows can be targeted.

X Ads
Lecture

Get Targeting Tv Shows

Discover available TV show-based targeting criteria.

X Ads
Lecture

Get Tax Settings

Retrieve tax setting details for the current account.

X Ads
Lecture

Get Tracking Tag

Get details for a specific tracking tag.

X Ads
Lecture

Get Tracking Tags

List tracking tags associated with the current account.

X Ads
Écriture

Update Campaign

Update an existing campaign.

X Ads
Écriture

Update Line Item

Update an existing line item.

X Ads
Écriture

Update Media Library Item

Update a media library object's metadata.

X Ads
Écriture

Update Tracking Tag

Update an existing tracking tag.

X Ads
Écriture

Upload Media

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.

Overview

What you can do with the X Ads MCP

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.

ClaudeX AdsAcme StoreRead-only
Ask about your X Ads account…
01Report on campaign performance

Report on campaign performance

Ask for impressions, engagements, clicks, spend and conversions by campaign or line item and get a plain-English summary.

See all X Ads actions
ClaudeX AdsAcme StoreRead-only
Ask about your X Ads account…
02Find your best promoted posts

Find your best promoted posts

Compare promoted posts by engagement rate, reposts, replies and link clicks to see which messages work.

See all X Ads actions
ClaudeX AdsAcme StoreRead-only
Ask about your X Ads account…
03Research targeting

Research targeting

Look up interests, conversation topics, events, locations and TV shows, and get keyword and handle suggestions for a line item.

See all X Ads actions
80
actions
one server URL
53
read actions
reports, audits, research
27
write actions
create, update, manage
Setup

How to connect the X Ads MCP server

Add 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.

MCP server URL

https://x-ads.insightfulmcp.com/

Connect X Ads to Claude

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.

Open Claude Directory

Or add the X Ads server manually:

  1. 01
    Copy the server URL:
    https://x-ads.insightfulmcp.com/
  2. 02
    Open Claude connector settings (Customize > Connectors), click + and then Add custom connector.
  3. 03
    Paste the URL and click Add.
  4. 04
    Click Connect, then click Authorize access in the browser.

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.

Watch the setup tutorial

Playbook

Prompts and skills that run on the X Ads MCP

Copy a prompt into any connected client, or install a Claude skill that chains the actions for you.

Prompt

“How did my campaigns perform over the last 7 days on spend, engagements and link clicks?”

Uses synchronous stats for campaigns

Skill

Social Ads Budget Allocator

Claude skill that compares efficiency across Meta, TikTok, LinkedIn, Pinterest, X and Snapchat ads and recommends how to reallocate social budget.

Prompt

“Which promoted posts got the most reposts and replies this week?”

Compares promoted post engagement

Prompt

“Break down last month's impressions by age and location”

Runs a segmented async analytics job

Prompt

“Find interest and conversation targeting options related to running”

Searches X targeting criteria

Prompt

“Which line items had website purchases from the X Pixel last week?”

Reads web conversion metrics

Prompt

“Create a paused Engagements campaign with one line item and a promoted-only post”

Builds the campaign paused for review

Prompt

“Show the recent changes made to this ads account”

Reads account history

DES QUESTIONS ?

Frequently asked questions

An X Ads MCP server connects X Ads (formerly Twitter Ads) to AI assistants through the Model Context Protocol (MCP), an open standard for giving AI tools access to data and actions. Once connected, you can ask Claude, ChatGPT or Cursor about campaign performance and ask it to make changes, instead of working through X Ads Manager.

Prêt à connecter vos données ?

Rejoignez des centaines d’agences et de marques qui utilisent InsightfulPipe pour connecter leurs données marketing à l’AI.

Commencez votre essai dès aujourd’hui.