Connect X Ads to an AI assistant
Connect X Ads to Claude, ChatGPT, Codex or any MCP client, what to ask it once it is connected, and the 51 tools behind the answers.
guides/sources/x-ads.mdFor you
What the answer looks like, and what to type to get it.
Campaigns, ad groups, promoted posts, image/video libraries, website cards and carousels, targeting, conversion events and native performance.
Connect it
- Open the dashboard and choose this platform.
- Approve the consent screen. The gateway stores an encrypted refresh token, never a password.
- Tick the accounts to expose. Nothing is readable until you do.
- Paste the endpoint into your assistant, or use the shared one for every platform at once.
https://mcp.getmcpads.com/x-ads/mcpWhat to ask
Read campaigns, ad groups and native performance for my selected X advertiser.
Prepare a campaign and ad group with a budget and schedule, keeping both paused.
Upload this image or video, wait for processing and register it in the media library.
Create a website card or carousel, then attach its promoted-only post to my paused ad group.
Review and change the location and interest targeting of this ad group.
Create a website conversion event tag and read back its configuration.What answers each one
| Question | Tools |
|---|---|
| Read campaigns, ad groups and native performance for my selected X advertiser. | x_, x_, x_ |
| Prepare a campaign and ad group with a budget and schedule, keeping both paused. | x_, x_ |
| Upload this image or video, wait for processing and register it in the media library. | x_, x_, x_ |
| Create a website card or carousel, then attach its promoted-only post to my paused ad group. | x_, x_, x_ |
| Review and change the location and interest targeting of this ad group. | x_, x_, x_, x_, x_ |
| Create a website conversion event tag and read back its configuration. | x_, x_ |
What it can change
Create paused campaigns and ad groups; update budgets, bids, schedules and targeting. Upload PNG, JPEG, GIF and MP4 media, manage library assets, website cards and conversion events, and attach promoted-only posts. Every write previews before confirmation.
Images, video and website cards
Upload PNG or JPEG images up to 5 MB, animated GIFs up to 15 MB and MP4 videos up to 16 MB. The Campaign Launcher uploads your files to X itself before it builds the website cards and carousels. Reconnect an older X Ads connection in Sources to grant media.write. Customers authorize their own X account through Get MCP Ads; they do not need to create a developer application.
- Call
get_capabilitieswith platform x_ads, thendescribe_toolfor the operation you need. Advanced tools remain callable throughrun_tooleven when your assistant's initial tool list is short. - Preview
x_with the selected account_id, media_type and base64 file bytes in media_base64. Confirm the reviewed upload. It returns a media ID and media_key; it does not create an ad.ads_ upload_ media - For video or GIF processing, call
x_using the returned media ID. Respect check_after_secs and wait for processing_info.state to become succeeded before using the asset.ads_ get_ media_ upload_ status - Register the media_key with
x_. Use the library read, update and delete tools to inspect, rename or remove library entries.ads_ create_ media_ library_ item - Create a promoted-only post with
x_, or create a website card withads_ create_ ad_ post x_and attach its card_uri to a new post. Cards support a single image/video or a carousel of 2 to 6 media keys with one website destination. Replacing a card requires creating a new one.ads_ create_ card - Attach the post with
x_. Read it back withads_ promote_ post x_,ads_ list_ account_ posts x_orads_ get_ promoted_ post x_, and inspectads_ list_ promoted_ posts x_. Every write needs its own preview and confirmation. Keep the parent campaign and ad group paused until delivery is explicitly approved.ads_ list_ post_ previews
Campaigns, targeting and conversion events
Create campaigns and ad groups in pause, then update names, bids, budgets, schedules, placements and frequency settings. Budgets and schedules belong to ad groups (line items). Search location/interest targeting, add or remove criteria, and read them back. Website event tags can be created, read, updated and deleted; creating a tag does not install a pixel or generate conversion traffic.
Permissions, billing and limits
- Free permits reads; Pro, Team and Enterprise permit writes within the selected accounts and provider permissions. Media tools require ads.read, ads.write and media.write on the X connection. The status tool is read-only but still requires those provider scopes.
- X API credits, advertising budgets and account verification are separate. A 402 credits-depleted upload error concerns the developer application: contact Get MCP Ads support for a hosted connection. Buying advertising credit or changing your Get MCP Ads plan does not resolve that error.
- Uploads are not automatically retried. If a partial failure returns an allocated media ID, retain it and inspect its status before starting another upload. The tool accepts file bytes, not an arbitrary download URL.
- X controls verification, advertiser eligibility, creative review and objective prerequisites. Premium verification may block delivery while paused creation still succeeds. App-install and app-engagement objectives require a suitable mobile app.
- App/lead cards, multiple website destinations per carousel and files larger than the upload limits are outside this connector's current scope. X Ads is not yet included in the gateway's cross-platform business reviews or creative galleries. Native performance and post-preview tools remain available.
For your agent
The tool sequence, the parameters that matter, and what will be refused.
Both readings as Markdown: /
- Platform id
x_ads- Tool prefix
x_ads_- Account parameter
account_id- Dedicated endpoint
- https:/
/ mcp. getmcpads. com/ x-ads/ mcp - Tools
- 51, 23 of which write
- Announced by default
x_ads_ list_ ads_ accounts - Metrics
- 75, see /docs/sources/x-ads/metrics
- Dimensions
- 4, see /docs/sources/x-ads/dimensions
Scope requested from the platform
| Scope | Grants | Allows writes |
|---|---|---|
ads.read | Read authorized X Ads accounts, campaigns, creatives, targeting and performance. | No |
ads.write | Create and manage X Ads campaigns, ad groups, targeting and promoted posts. | Yes |
media.write | Upload images and videos for X Ads creatives. | Yes |
offline.access | Renew the X authorization without another sign-in. | No |
Reaching a tool that is not announced
search_tools({ task: "..." }) find it
describe_tool({ name: "..." }) read its schema
run_tool({ name, args }) execute, with the same checksWhat will refuse you
- An account not ticked by the owner. Call
list_accountsand use aaccount_idfrom it. - A write on a plan without writes. The tool is absent from the list and refused if called anyway.
- A write without
confirm: truereturns a preview and applies nothing. That is not an error. - A call to this platform on another platform's dedicated endpoint. The refusal names the URL that serves it.
Questions this source answers
| Question | Tools, in order |
|---|---|
| Read campaigns, ad groups and native performance for my selected X advertiser. | x_ then x_ then x_ |
| Prepare a campaign and ad group with a budget and schedule, keeping both paused. | x_ then x_ |
| Upload this image or video, wait for processing and register it in the media library. | x_ then x_ then x_ |
| Create a website card or carousel, then attach its promoted-only post to my paused ad group. | x_ then x_ then x_ |
| Review and change the location and interest targeting of this ad group. | x_ then x_ then x_ then x_ then x_ |
| Create a website conversion event tag and read back its configuration. | x_ then x_ |
Images, video and website cards
Upload PNG or JPEG images up to 5 MB, animated GIFs up to 15 MB and MP4 videos up to 16 MB. The Campaign Launcher uploads your files to X itself before it builds the website cards and carousels. Reconnect an older X Ads connection in Sources to grant media.write. Customers authorize their own X account through Get MCP Ads; they do not need to create a developer application.
- Call
get_capabilitieswith platform x_ads, thendescribe_toolfor the operation you need. Advanced tools remain callable throughrun_tooleven when your assistant's initial tool list is short. - Preview
x_with the selected account_id, media_type and base64 file bytes in media_base64. Confirm the reviewed upload. It returns a media ID and media_key; it does not create an ad.ads_ upload_ media - For video or GIF processing, call
x_using the returned media ID. Respect check_after_secs and wait for processing_info.state to become succeeded before using the asset.ads_ get_ media_ upload_ status - Register the media_key with
x_. Use the library read, update and delete tools to inspect, rename or remove library entries.ads_ create_ media_ library_ item - Create a promoted-only post with
x_, or create a website card withads_ create_ ad_ post x_and attach its card_uri to a new post. Cards support a single image/video or a carousel of 2 to 6 media keys with one website destination. Replacing a card requires creating a new one.ads_ create_ card - Attach the post with
x_. Read it back withads_ promote_ post x_,ads_ list_ account_ posts x_orads_ get_ promoted_ post x_, and inspectads_ list_ promoted_ posts x_. Every write needs its own preview and confirmation. Keep the parent campaign and ad group paused until delivery is explicitly approved.ads_ list_ post_ previews
Campaigns, targeting and conversion events
Create campaigns and ad groups in pause, then update names, bids, budgets, schedules, placements and frequency settings. Budgets and schedules belong to ad groups (line items). Search location/interest targeting, add or remove criteria, and read them back. Website event tags can be created, read, updated and deleted; creating a tag does not install a pixel or generate conversion traffic.
Permissions, billing and limits
- Free permits reads; Pro, Team and Enterprise permit writes within the selected accounts and provider permissions. Media tools require ads.read, ads.write and media.write on the X connection. The status tool is read-only but still requires those provider scopes.
- X API credits, advertising budgets and account verification are separate. A 402 credits-depleted upload error concerns the developer application: contact Get MCP Ads support for a hosted connection. Buying advertising credit or changing your Get MCP Ads plan does not resolve that error.
- Uploads are not automatically retried. If a partial failure returns an allocated media ID, retain it and inspect its status before starting another upload. The tool accepts file bytes, not an arbitrary download URL.
- X controls verification, advertiser eligibility, creative review and objective prerequisites. Premium verification may block delivery while paused creation still succeeds. App-install and app-engagement objectives require a suitable mobile app.
- App/lead cards, multiple website destinations per carousel and files larger than the upload limits are outside this connector's current scope. X Ads is not yet included in the gateway's cross-platform business reviews or creative galleries. Native performance and post-preview tools remain available.
Manage your ads from your AI assistant
Free with 1 ad account, no card. Pro is free for 7 days.