Free planRead every connected account, 100 reads a day, free forever.See pricing →

Ads · MCP server

X Ads MCP server

Keep X campaign changes within the chosen funding account.

MegaMCP is a hosted X Ads MCP server that lets Claude, ChatGPT and Cursor read accounts, funding, campaigns, line items and performance and propose campaign status and daily cap changes that you approve.

Rolling outBuilt, and switching on as approvals land.What this meansRolling out means the code is built and the platform is still approving MegaMCP's app: Google, Meta, Microsoft and the one-click ad-platform sign-ins switch on as each approval lands.

Also searched as Twitter Ads MCP.

Tools
4 reads, 1 write
Works with
Claude, ChatGPT, Cursor, Claude Code and VS Code
Price
Free to read, changes from $19/mo
X Ads4 reads · 1 change
MegaMCPApproval gate
  • Claude
  • ChatGPT
  • Cursor

Live demo

Watch it work on X Ads

Ask in plain English. Your AI reads X Ads with real MegaMCP tools, then hands you a plan. Nothing moves until a person clicks Approve, and supported changes can be undone.

Tools in this example

  • x_ads_campaign_performanceReads live data
  • x_ads_update_campaignProposes a change plan
See all 5 X Ads tools
Claude · MegaMCP + X AdsIllustrative demo
  1. You

    Show this campaign's clicks and billed spend for last week, then pause it.

  2. Claude
    x_ads_campaign_performanceDone7 daysx_ads_update_campaignWaiting for approvalplan ready

    Launch Week spent $198 for 41 clicks. Here's the pause, for your approval.

    Pause a campaignX Ads · Northwind Software1 change
    • Change: Launch Week · statusACTIVEPAUSED
    • Check passed: Funding instrument and currency verified
  3. Claude

    Paused.

What your AI can do

X Ads MCP tools

Read account and funding metadata, campaign and line-item settings, and bounded aggregate performance before reviewing supported campaign status or daily-cap changes. This list comes straight from the running product: 4 read tools and 1 write tool.

Reads

Answer straight away. Nothing changes.

4 tools
  • Verified account, funding currency and Ads permissions
  • Bounded funding-scoped campaigns and line items
  • Seven-day aggregate campaign engagement and billing metrics

Changes you approve

Each one returns a plan with a diff. Nothing moves until a person approves.

1 tool
  • Reviewed ACTIVE/PAUSED campaign status
  • Reviewed supported campaign daily caps
  • Separate reviewed inverse after confirmed readback

X Ads guardrail

Updates require current ad-manager/admin access, accepted account state and exact funding/currency binding. Daily caps respect existing total caps. Fresh drift checks and readback apply, but concurrent X edits can race a PUT. ACTIVE can resume charges; provisional billing data can change. Posts, targeting and new campaigns are unavailable.

Plus complete diff previews, human approvals and the flight recorder on every connection. Live changes require a paid plan.

All 5 X Ads tools4 reads, 1 change · straight from the running product
What it doesTool idType
Inspect enabled account/fundingx_ads_get_accountRead
List funding-bound campaignsx_ads_list_campaignsRead
List campaign ad groupsx_ads_list_line_itemsRead
Campaign aggregate performancex_ads_campaign_performanceRead
Review existing campaign status/daily capx_ads_update_campaignChange

Example prompts

X Ads MCP prompts

Paste any of these into Claude, ChatGPT or Cursor once X Ads is connected.

More X Ads prompts
  1. “List campaigns using this enabled funding instrument.”

  2. “Read this campaign's aggregate clicks and billed spend for last week.”

  3. “Prepare to pause this eligible campaign.”

  4. “Prepare this daily cap in the verified account currency.”

  5. “Which line items run under this campaign?”

  6. “Verify the account's funding currency.”

  7. “Which campaign spent the most this week?”

  8. “Prepare a lower daily cap for this campaign.”

Setup

X Ads MCP setup in 3 steps

About two minutes for Claude, ChatGPT or Cursor. Nothing to install.

  1. Connect X Ads

    Start a free workspace and open Connections. One-click X sign-in is built and appears in your dashboard once X approves MegaMCP's app for Ads API access; each ad account and funding instrument becomes its own switch. Until then, the beta requires an application approved specifically for X Ads API access and a dedicated authorized user's OAuth1 consumer key/secret and token/secret.

  2. Add MegaMCP to your AI app

    Every app uses the same server URL.

    MCP server URL
    https://megamcp.com/api/mcp
  3. Ask in plain English

    Try “List campaigns using this enabled funding instrument.” Reports answer straight away. Anything that changes X Ads comes back as a plan for you to approve.

Safety

Hand AI the keys. Keep the brakes.

The same loop guards every MegaMCP connection: ask, see the diff, approve, undo.

Approval before every change

X Ads write tools never touch X Ads directly. They return a plan, and a person approves it in the dashboard, or in chat if an admin allows it.

Approval requestedX Ads · 1 plan waitingDashboard · just now

Budget bumpers

Caps are checked when a plan is built and again right before it's applied, so a change that would blow a cap is blocked.

  • Brand$40
  • Search$80
  • Proposed$180

Cap: $100/day per campaign

Undo for supported changes

Supported changes reverse through a separately reviewed undo plan. Anything that can't be undone is marked before you approve it.

Undo plan readyRestores the previous valuesReviewed like any other change

Receipts for everything

Platform checks stop stale edits, and the flight recorder logs every tool call, plan and approval, with who did it and from which AI app.

TimeEvent
09:14x_ads_get_account
09:15Plan created by Claude
09:16Approved by Ana

FAQ

X Ads MCP server questions

Is there an official X Ads MCP server?

Yes. As of October 2026, X publishes an X Ads MCP server, hosted, with read and write access depending on the OAuth scopes you grant. MegaMCP keeps X Ads in the same connection as your other ad platforms and limits changes to reviewed campaign status and daily caps within one funding instrument.

What is a X Ads MCP server?

An MCP (Model Context Protocol) server lets AI assistants such as Claude, ChatGPT and Cursor use X Ads through tools. MegaMCP's hosted X Ads MCP server gives your assistant 4 read tools and 1 write tool for accounts, funding, campaigns, line items and performance, and every change waits for a human approval.

Does the X Ads MCP server work with ChatGPT?

Yes. MegaMCP is a remote MCP server with OAuth sign-in, so one URL works in ChatGPT (as an app, with developer mode on), Claude (as a custom connector), Cursor, Claude Code and VS Code. Your AI app's own plan decides whether it can add custom MCP servers.

Can it make changes to my X Ads account?

Yes, with your approval. It can propose campaign status and daily cap changes changes. Each one comes back as a plan with a line-by-line diff and waits for a human before anything moves. Updates require current ad-manager/admin access, accepted account state and exact funding/currency binding. Daily caps respect existing total caps. Fresh drift checks and readback apply, but concurrent X edits can race a PUT. ACTIVE can resume charges; provisional billing data can change. Posts, targeting and new campaigns are unavailable.

How do I connect X Ads to Claude or ChatGPT?

One-click X sign-in is built and appears in your dashboard once X approves MegaMCP's app for Ads API access; each ad account and funding instrument becomes its own switch. Until then, the beta requires an application approved specifically for X Ads API access and a dedicated authorized user's OAuth1 consumer key/secret and token/secret. All four values are encrypted and locally expire after one hour, bound to one account and funding instrument. Public OAuth onboarding and automatic refresh are unavailable. A general X API subscription does not establish Ads approval; vendor terms and live acceptance still need confirmation. New accounts remain disabled until assigned and enabled.

What does the X Ads MCP server cost?

Reading X Ads is free on MegaMCP's Free plan (100 reads a day, no card). Approved changes are included in every paid plan, from $19/month after a 5-day free trial, with unlimited runs and no credits. MegaMCP adds no markup: your X Ads ad spend is billed by the platform as usual.

Is my X Ads data safe?

Your X Ads credentials are encrypted at rest (AES-256-GCM) and bound to their connection, and MegaMCP never trains AI models on your data. Your AI only sees the accounts you switch on, members limited to certain clients only see those clients, and every tool call lands in the flight recorder.

5 days. On the house.

Put Mega to work. Your ad budget stays yours.

No credit card to start. Every workspace comes with a sandbox ad account, so you can watch the whole ask, diff, approve, undo loop before you connect anything real.

Get launch updates

New integrations, platform approvals, the occasional dark joke. One or two emails a month. Unsubscribe anytime.

Want early access? Join the waiting list →