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.
Connect X Ads to your assistant
Each card lists the servers whose setup guide covers that assistant.
Connect X Ads to Claude
- X Ads MCP (opens in a new tab)
Guide covers Claude Code
Claude Code
claude mcp add --transport http x-ads https://ads-api.x.com/mcp
X Ads's setup guides also name Grok and Grok Build.
Other ways to reach X Ads data
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.