X Ads
X Ads MCPAnnonsering80 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.

Fungerar med
ChatGPTChatGPTClaudeClaudeClaude CodeClaude CodeCodexCodexGemini CLIGemini CLICursorCursorMistralMistralOpenClawOpenClawHermesHermesPerplexityGrokn8nWindsurfVS CodeZed
ChatGPT
X Ads
ChatGPT
connected to X Ads MCP
Online
ChatGPT
Actions

Tillgängliga åtgärder

80 tillgängliga åtgärder för att automatisera dina arbetsflöden i X Ads .

80 actions

X Ads
Läs

Cancel Async Job

Cancel a PROCESSING async analytics job.

X Ads
Skriv

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
Läs

Create Async Job

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

X Ads
Skriv

Create Campaign

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

X Ads
Skriv

Create Card

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

X Ads
Skriv

Create Line Item

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

X Ads
Skriv

Create Media Creative

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

X Ads
Skriv

Create Media Library Item

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

X Ads
Skriv

Create Promoted Account

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

X Ads
Skriv

Create Promoted Tweet

Associate tweets with a line item as promoted tweets.

X Ads
Skriv

Create Scheduled Promoted Tweet

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

X Ads
Skriv

Create Scheduled Tweet

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

X Ads
Skriv

Create Targeting Criterion

Create a targeting criterion for a line item.

X Ads
Skriv

Create Tracking Tag

Create a tracking tag for a line item.

X Ads
Skriv

Delete Campaign

Delete a campaign.

X Ads
Skriv

Delete Card

Delete a card.

X Ads
Skriv

Delete Line Item

Delete a line item.

X Ads
Skriv

Delete Media Creative

Delete a media creative.

X Ads
Skriv

Delete Promoted Account

Remove a promoted account association.

X Ads
Skriv

Delete Promoted Tweet

Remove a promoted tweet association.

X Ads
Skriv

Delete Scheduled Promoted Tweet

Remove a scheduled promoted tweet association.

X Ads
Skriv

Delete Scheduled Tweet

Delete a scheduled tweet.

X Ads
Skriv

Delete Targeting Criterion

Delete a targeting criterion.

X Ads
Skriv

Delete Tracking Tag

Delete a tracking tag.

X Ads
Läs

Get Account

Get details for a specific ad account.

X Ads
Läs

Get Account History

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

X Ads
Läs

Get Account Media

List account media assets associated with the current account.

X Ads
Läs

Get Account Media Item

Get details for a specific account media object.

X Ads
Läs

Get Active Entities

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

X Ads
Läs

Get Advertiser Business Categories

Retrieve valid advertiser business categories for line items.

X Ads
Läs

Get Async Jobs

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

X Ads
Läs

Get Authenticated User Access

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

X Ads
Läs

Get Campaign

Get details for a specific campaign.

X Ads
Läs

Get Campaigns

List all campaigns for an ad account.

X Ads
Läs

Get Card

Get details for a specific card.

X Ads
Läs

Get Cards

List cards associated with the current account.

X Ads
Läs

Get Content Categories

Retrieve content categories for preroll video targeting.

X Ads
Läs

Get Features

Retrieve features enabled for the current account.

X Ads
Läs

Get Funding Instrument

Get details for a specific funding instrument.

X Ads
Läs

Get Funding Instruments

List all funding instruments for an ad account.

X Ads
Läs

Get Iab Categories

Retrieve IAB content categories.

X Ads
Läs

Get Line Item

Get details for a specific line item.

X Ads
Läs

Get Line Items

List all line items for an ad account.

X Ads
Läs

Get Media Creative

Get details for a specific media creative.

X Ads
Läs

Get Media Creatives

List all media creatives for an ad account.

X Ads
Läs

Get Media Library

List media library objects associated with the current account.

X Ads
Läs

Get Media Library Item

Get details for a specific media library object.

X Ads
Läs

Get Promotable User

Get details for a specific promotable user.

X Ads
Läs

Get Promotable Users

List promotable users associated with the current account.

X Ads
Läs

Get Promoted Account

Get details for a specific promoted account.

X Ads
Läs

Get Promoted Accounts

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

X Ads
Läs

Get Promoted Tweet

Get details for a specific promoted tweet.

X Ads
Läs

Get Promoted Tweets

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

X Ads
Läs

Get Recommendations

Retrieve campaign optimization recommendations for the account.

X Ads
Läs

Get Scheduled Promoted Tweet

Get details for a specific scheduled promoted tweet.

X Ads
Läs

Get Scheduled Promoted Tweets

List scheduled promoted tweets associated with the current account.

X Ads
Läs

Get Stats

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

X Ads
Läs

Get Targeting App Store Categories

Discover available app store category-based targeting criteria.

X Ads
Läs

Get Targeting Conversations

Discover available conversation-based targeting criteria.

X Ads
Läs

Get Targeting Criteria

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

X Ads
Läs

Get Targeting Criterion

Get details for a specific targeting criterion.

X Ads
Läs

Get Targeting Devices

Discover available device-based targeting criteria.

X Ads
Läs

Get Targeting Events

Discover available event-based targeting criteria.

X Ads
Läs

Get Targeting Interests

Discover available interest-based targeting criteria.

X Ads
Läs

Get Targeting Languages

Discover available language targeting criteria.

X Ads
Läs

Get Targeting Locations

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

X Ads
Läs

Get Targeting Network Operators

Discover available network operator (carrier) targeting criteria.

X Ads
Läs

Get Targeting Platform Versions

Discover available mobile OS version-based targeting criteria.

X Ads
Läs

Get Targeting Platforms

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

X Ads
Läs

Get Targeting Suggestions

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

X Ads
Läs

Get Targeting Tv Markets

Discover available TV markets where TV shows can be targeted.

X Ads
Läs

Get Targeting Tv Shows

Discover available TV show-based targeting criteria.

X Ads
Läs

Get Tax Settings

Retrieve tax setting details for the current account.

X Ads
Läs

Get Tracking Tag

Get details for a specific tracking tag.

X Ads
Läs

Get Tracking Tags

List tracking tags associated with the current account.

X Ads
Skriv

Update Campaign

Update an existing campaign.

X Ads
Skriv

Update Line Item

Update an existing line item.

X Ads
Skriv

Update Media Library Item

Update a media library object's metadata.

X Ads
Skriv

Update Tracking Tag

Update an existing tracking tag.

X Ads
Skriv

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

HAR DU FRÅGOR?

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.

Redo att ansluta din data?

Gör som hundratals byråer och varumärken som använder InsightfulPipe för att koppla marknadsföringsdata till AI.

Starta en provperiod idag.