Today you manage X Ads from the AdsGPT assistant, on the web and in the mobile app. In Claude Code it shows as coming soon: AdsGPT already works with Google Ads from Claude Code and will add X Ads to its MCP server without you reinstalling anything.
X Ads promotes your posts to the audience you choose on X. With AdsGPT you get reports by campaign, line item or promoted post, with impressions, engagements, clicks, likes, reposts, replies and follows; you activate or pause; adjust budgets, bids and targeting; and create reach campaigns with text and image posts.
What you can do with X Ads
Engagement by post
Impressions, engagements, link clicks, likes, reposts and follows for each promoted post.
Budgets and bids
Change the daily or total budget and set a target cost per thousand impressions or X's automatic bid.
Reach campaigns
1 to 5 posts with text, image and link, published as ads only and created paused.
Requirements
- An AdsGPT account with at least one ad platform connected.
- Claude Code installed (terminal, VS Code extension or the Code tab in the desktop app).
- A browser to complete the OAuth sign-in.
Step-by-step setup
Connect X Ads in AdsGPT
- Sign in to app.adsgpt.dev as the organization owner.
- Open Plugins and choose X Ads.
- Sign in with the X account that has access to your ad accounts and authorize AdsGPT.
- Your X Ads accounts show up in AdsGPT and any member can use them from the AdsGPT assistant, as their role allows.
Add AdsGPT to Claude Code: install with one link
- Plugin
- Recommended
- With Claude Code installed, open the AdsGPT install link. Claude Code opens in a new terminal with the install request already typed.
- Review the request and press Enter. Claude Code adds the marketplace and installs the plugin, asking your permission for each command.
- Run
/reload-pluginsand then/mcp, chooseplugin:adsgpt:adsgptand sign in in the browser.
The link works once you have sent at least one message in an interactive Claude Code session on that computer, which is when it registers claude-cli:// links. If nothing opens, use the commands below.
Install the AdsGPT plugin
- Plugin
- In a Claude Code session, add the marketplace and install the plugin.
Claude Code /plugin marketplace add adsgpt-dev/agent-plugins /plugin install adsgpt@adsgpt - Or from your shell, without opening a session:
Terminal claude plugin marketplace add adsgpt-dev/agent-plugins claude plugin install adsgpt@adsgpt - If Claude Code asks, run
/reload-plugins. - Run
/mcp, chooseplugin:adsgpt:adsgptand sign in in the browser window that opens.
In the desktop app's Code tab use + → Plugins → Add plugin; in the VS Code extension, /plugins. To update: /plugin marketplace update adsgpt.
Add the MCP server only
- MCP server
- Add it for all your projects:
Terminal claude mcp add --transport http --scope user adsgpt https://mcp.adsgpt.dev - Or for a single project, in
.mcp.json:.mcp.json { "mcpServers": { "adsgpt": { "type": "http", "url": "https://mcp.adsgpt.dev" } } } - Run
/mcp, chooseadsgptand sign in.
Example prompts for X Ads
- “Which promoted posts on X got the most engagement last week?”
- “Pause the X line items with a CPM above 8 dollars.”
- “Create an X reach campaign for my product launch in the US.”
Security and approvals
- You sign in with OAuth 2.1: you never copy or share API keys.
- The
ads:readscope comes first;ads:writeis only requested the first time a tool changes something. - Every change shows the current and new value and waits for your approval.
- New campaigns launch paused unless you ask otherwise.
- AdsGPT acts with your role on the account and receives tool calls, never your conversation.
Tips
- Ask Claude Code to save reports as CSV or Markdown in your repository so you can version them.
- Plugin skills appear as
/adsgpt:<skill>, but Claude also uses them on its own when relevant.
Frequently asked questions
Can I use X Ads in Claude Code?
Not yet. X Ads already works in the AdsGPT assistant, on the web and in the app, and is coming soon to the MCP server. Until then, Claude Code lists it as coming soon.
Do I have to connect X Ads inside Claude Code?
No. X Ads is connected once in AdsGPT and is then available to your organization.
Can my X Ads campaigns be changed without permission?
No. Reads run instantly, but every change shows the current and new value and waits for your approval. New campaigns are created paused.
Can I manage several networks at once?
In the AdsGPT assistant you already work with Google Ads, Meta Ads, TikTok Ads, LinkedIn Ads, X Ads, Reddit Ads, OpenAI Ads and Unity Ads. From Claude Code, Google Ads is available today and the rest are coming soon. A campaign on several networks is created on each with the same name, so your reports tie them together.
Which X Ads campaigns can I create?
Reach (awareness) campaigns with 1 to 5 text and image posts, targeted by place, language, interests, gender and age. Custom audiences and cards are made in ads.x.com.
What permissions do I need on X?
The account administrator or ad manager role (an analyst only reads) and a funding instrument that can pay.