---
title: "X Ads MCP Server: Claude Setup | SourceMedium"
description: "X hosts an Ads MCP at ads-api.x.com/mcp with 74 tools: read stats, build audiences, create paused campaigns via an OAuth 2.0 app in Grok or Claude Code."
url: "https://sourcemedium.com/mcp-directory/x-ads/"
type: static
generatedAt: "2026-09-29T01:21:01.000Z"
---

[MCP Directory](https://sourcemedium.com/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.

| 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 →](https://docs.x.com/x-ads-api/mcp) |
| 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 →](https://sourcemedium.com/docs/ai-analyst/connect-an-ai-assistant) |

## 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 →](https://docs.x.com/x-ads-api/mcp)
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

- [X Ads API introduction →](https://docs.x.com/x-ads-api/introduction)
- [X Ads API analytics →](https://docs.x.com/x-ads-api/analytics)

## 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.
## More in Advertising

- [AdRoll MCP server →](https://sourcemedium.com/mcp-directory/adroll/)
- [Amazon Ads MCP server →](https://sourcemedium.com/mcp-directory/amazon-ads/)
- [Amazon DSP MCP server →](https://sourcemedium.com/mcp-directory/amazon-dsp/)
