X Ads

•

Manage, inspect, and optimize X (Twitter) advertising campaigns, analytics, targeting, and creatives directly through MCP.

The X Ads MCP server provides a standardized Model Context Protocol interface to interact with your X Ads accounts directly from clients like Claude Desktop, Claude Code, or Cursor. It includes 25 read tools and 19 opt-in write tools, allowing AI assistants to inspect ad campaigns, retrieve synchronous performance analytics, search targeting criteria, preview creatives, and manage campaign lifecycles. Designed with safety in mind, all write operations require explicit activation, preview changes by default, and pause newly created campaigns to prevent unintended ad spend.

Key Features

01Support for media uploads, card management, and creative previews
0225 read tools for inspecting campaigns, line items, targeting, analytics, cards, and media libraries
03Targeting search and configuration for locations, interests, and custom web event tags
04Detailed reporting and analytics access including reach, frequency, impressions, and engagement metrics
0519 preview-first write tools disabled by default for controlled campaign creation and budget updates
060 GitHub stars

Use Cases

01Analyze ad campaign performance metrics and reach directly inside AI chat workflows
02Draft and preview updates to line item budgets, targeting criteria, and schedules before publishing
03Audit existing ad accounts, line items, and active creatives without risking accidental changes