← Back to directory

X Ads MCP Server

mbelinky (OSS) · Advertising & Marketing Platforms

Community

Community-built server for X (Twitter). Post tweets, search content, manage media uploads, and interact with the X API v2 via OAuth 2.0.

xtwittersocial adsposts
Status
Community
Auth
OAuth
Hosting
Local
Community rating
Not rated yet
Open documentation →
Rate this server

How to connect X Ads MCP Server

Step 1

Local server — run it on your machine

X Ads MCP Server runs locally over stdio. You need Node.js (for npx) or Python (for uvx) installed, then add the command below to your client's MCP config file.

Command

npx -y @mbelinky/x-mcp-server

Client config snippet

{
  "mcpServers": {
    "x-ads-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mbelinky/x-mcp-server"
      ]
    }
  }
}

Step 2

Authenticate with OAuth

Your client opens a browser sign-in with the vendor. Approve only the scopes you need, and use a read-only account first when the platform offers one.

Step 3

Verify, then widen access

Restart your client, confirm the server's tools appear, and run one read-only question first. Keep client-side approval prompts on for any tool that can write, trade or send. Confirm with your firm's compliance policy before connecting systems holding client data.

Read the full connection guide →