Skip to content
Grok

X Ads for Grok

com.getmcpads/x-ads

X Ads MCP server: 25 read tools, 19 opt-in preview-first writes.

client:Grok transport:stdio runtime:npm

Install X Ads in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "x-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/x-ads-mcp-server"
      ],
      "env": {
        "X_ADS_ACCESS_TOKEN": "<X_ADS_ACCESS_TOKEN>",
        "X_ADS_ACCOUNT_IDS": "<X_ADS_ACCOUNT_IDS>",
        "X_ADS_SCOPES": "<X_ADS_SCOPES>",
        "X_ADS_ENABLE_WRITES": "<X_ADS_ENABLE_WRITES>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

X Ads in other clients