Skip to main content
MCP Directory
Advertising Official SourceMedium integration

X Ads MCP server

Remote endpoint ads-api.x.com/mcp. Checked September 2026.

X's Ads server at ads-api.x.com exposes 74 tools to Grok, Grok Build, and Claude Code through an OAuth 2.0 app: account stats and campaign reach on the read side, and campaigns, line items, targeting, custom audiences, creatives, and web event tags on the write side. Any campaign it creates starts paused.

X Ads MCP options

Every fact in a row comes from the publisher's own documentation.

Ways to reach X Ads data from an assistant
Option Audience Reads or changes Sign-in Setup
X Ads MCP https://ads-api.x.com/mcp X Developers Reads ads accounts, campaigns, line items, promoted posts, stats, and reach, and can create or update campaigns, line items, targeting, custom audiences, creatives, and web event tags, with new campaigns created paused. Can write OAuth sign-in Setup guide (opens in a new tab)
X Ads data through SourceMedium's MCP https://mcp.sourcemedium.com/mcp SourceMedium Ours Merchants Reads X Ads data from modeled SourceMedium tables, next to your other connected sources, with canonical metric definitions. Read only OAuth sign-in Setup guide

Connect X Ads to your assistant

Each card lists the servers whose setup guide covers that assistant.

Connect X Ads to Claude

X Ads's setup guides also name Grok and Grok Build.

One MCP server per tool still can't answer a cross-channel question.

Each server brings its own sign-in, its own definition of revenue, and data your assistant can't join to the rest.

SourceMedium joins X Ads with the rest of your store, ad, subscription, and returns data, keeps one set of maintained definitions, and gives ChatGPT, Claude, and other assistants a single connection to all of it.