Skip to main content
With the X Ads tool, your agents can report on campaign performance and reach, and create and manage campaigns, line items, promoted posts, targeting, audiences, creatives, and conversion tags. X builds and maintains this MCP server: an admin connects it once, then anyone can add it to an agent.

What your agent can do in X Ads

X maintains the list of actions, and it can change at any time. See X’s MCP server documentation for the current list. The tools listed in Spaces > Tools > X Ads are the ones your agents can use.

Before you start

  • In Dust: you need to be an admin to connect X Ads.
  • In X: you need an X account with access to the ads accounts you want to use. The tool can only reach the ads accounts your X account can already access.

Connect X Ads

Only workspace admins can connect X Ads.
1

Open the tools of your workspace

Go to Spaces > Tools and click Add tools.
2

Pick X Ads

Select X Ads.
3

Sign in

Keep Personal accounts, selected by default, or pick Shared account. Click Setup connection, then sign in with your X account.
X keeps one connection per X account: if you connect the same X account again in Dust, the previous connection stops working.

Add X Ads to an agent

1

Open your agent in the Agent Builder

Create an agent, or open one you can edit.
2

Add the tool

In Capabilities and knowledge, click Add capabilities and select X Ads.
3

Say which accounts and campaigns to use

In the instructions, say which ads account and campaigns the agent should work on, and what to report, like spend, reach, or results over a period.
By default, tools that list and read accounts, campaigns, and stats run without asking (Never ask). Tools that create, update, or delete campaigns, line items, promoted posts, targeting, audiences, creatives, or conversion tags ask for approval every time (High). Admins can change the level of each tool in Spaces > Tools > X Ads > Tools & stakes:
  • High: needs explicit user approval.
  • Low: users can completely disable confirmations.
  • Never ask: runs automatically.
Tools that X adds later start at High until an admin changes them.

Third-party MCP servers

All the third-party MCP servers you can connect.

Personal vs Shared Credentials

How each connection type works for tools.

Adding an MCP server

Add tools to your workspace and choose who can use them.