X

X Ads

MCP server · by getmcpads

Marketing & SEO npm v1.1.2

X Ads MCP server: 25 read tools, 21 opt-in preview-first writes.

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 1.1.2

npm
npx -y @getmcpads/x-ads-mcp-server

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "x-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/x-ads-mcp-server"
      ],
      "env": {
        "X_ADS_ACCESS_TOKEN": "<YOUR_X_ADS_ACCESS_TOKEN>",
        "X_ADS_ACCOUNT_IDS": "<YOUR_X_ADS_ACCOUNT_IDS>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • X_ADS_ACCESS_TOKEN required secret — User OAuth 2.0 token. Keep it secret.
  • X_ADS_ACCOUNT_IDS required — Comma-separated allowed account IDs. Required even for reads.
  • X_ADS_SCOPES — Scopes actually granted to the token, including ads.read.
  • X_ADS_ENABLE_WRITES — true exposes 21 write tools. Defaults to false. Calls preview unless confirm is true.

GitHub

最近更新于 46 天前 · Apache-2.0 license

About this server

X Ads MCP server Bring your X Ads accounts into your MCP client. Read campaigns and performance, inspect targeting and prepare changes for explicitly selected accounts. Watch the film · What's new · Install · Tool reference · Try hosted getmcpads Play the 45 second film The…

Summary from the project README — github.com/get-mcp-ads/x-ads-mcp-server

Distributed as npm, listed under Marketing & SEO. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the X Ads MCP server do?

X Ads MCP server Bring your X Ads accounts into your MCP client. Read campaigns and performance, inspect targeting and prepare changes for explicitly selected accounts. Watch the film · What's new · Install · Tool reference · Try hosted getmcpads Play the 45 second film The

How do I install X Ads?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is X Ads free to use?

The MCP server itself is free to install. The source is public on https://github.com/get-mcp-ads/x-ads-mcp-server. Any third-party service it calls may require its own API key and account.

Which clients support X Ads?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/x-ads.svg)](https://mcpnav.net/server/x-ads/)

HTML

<a href="https://mcpnav.net/server/x-ads/"><img src="https://mcpnav.net/badge/x-ads.svg" alt="Listed on MCPNav" height="20"></a>