{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "com.getmcpads/x-ads",
  "slug": "com.getmcpads.x-ads",
  "title": "X Ads",
  "summary": "X Ads MCP server: 25 read tools, 21 opt-in preview-first writes.",
  "version": "1.1.2",
  "serverKey": "x-ads",
  "pageUrl": "https://mcpkglabs.com/tool/com.getmcpads.x-ads",
  "installMdUrl": "https://mcpkglabs.com/tool/com.getmcpads.x-ads/install.md",
  "trust": {
    "score": 76,
    "grade": "B",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-02T07:09:00.196101792Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@getmcpads/x-ads-mcp-server@1.1.2",
        "x-ads-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add x-ads -e 'X_ADS_ACCESS_TOKEN=<X_ADS_ACCESS_TOKEN>' -e 'X_ADS_ACCOUNT_IDS=<X_ADS_ACCOUNT_IDS>' -- npx -y --package=@getmcpads/x-ads-mcp-server@1.1.2 x-ads-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"x-ads\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@getmcpads/x-ads-mcp-server@1.1.2\",\n        \"x-ads-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"X_ADS_ACCESS_TOKEN\": \"<X_ADS_ACCESS_TOKEN>\",\n        \"X_ADS_ACCOUNT_IDS\": \"<X_ADS_ACCOUNT_IDS>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"x-ads\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@getmcpads/x-ads-mcp-server@1.1.2\",\n        \"x-ads-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"X_ADS_ACCESS_TOKEN\": \"<X_ADS_ACCESS_TOKEN>\",\n        \"X_ADS_ACCOUNT_IDS\": \"<X_ADS_ACCOUNT_IDS>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"X_ADS_ACCESS_TOKEN\",\n      \"id\": \"x-ads-access-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"X_ADS_ACCOUNT_IDS\",\n      \"id\": \"x-ads-account-ids\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"x-ads\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@getmcpads/x-ads-mcp-server@1.1.2\",\n        \"x-ads-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"X_ADS_ACCESS_TOKEN\": \"${input:x-ads-access-token}\",\n        \"X_ADS_ACCOUNT_IDS\": \"${input:x-ads-account-ids}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.x-ads]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@getmcpads/x-ads-mcp-server@1.1.2\", \"x-ads-mcp\"]\nenv = { \"X_ADS_ACCESS_TOKEN\" = \"<X_ADS_ACCESS_TOKEN>\", \"X_ADS_ACCOUNT_IDS\" = \"<X_ADS_ACCOUNT_IDS>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "X_ADS_ACCESS_TOKEN",
      "required": true,
      "secret": true,
      "description": "User OAuth 2.0 token. Keep it secret.",
      "help": "User OAuth 2.0 token. Keep it secret.",
      "placeholder": "<X_ADS_ACCESS_TOKEN>"
    },
    {
      "name": "X_ADS_ACCOUNT_IDS",
      "required": true,
      "secret": false,
      "description": "Comma-separated allowed account IDs. Required even for reads.",
      "help": "Comma-separated allowed account IDs. Required even for reads.",
      "placeholder": "<X_ADS_ACCOUNT_IDS>"
    },
    {
      "name": "X_ADS_SCOPES",
      "required": false,
      "secret": false,
      "description": "Scopes actually granted to the token, including ads.read.",
      "help": "Scopes actually granted to the token, including ads.read.",
      "placeholder": "<X_ADS_SCOPES>"
    },
    {
      "name": "X_ADS_ENABLE_WRITES",
      "required": false,
      "secret": false,
      "description": "true exposes 21 write tools. Defaults to false. Calls preview unless confirm is true.",
      "help": "true exposes 21 write tools. Defaults to false. Calls preview unless confirm is true.",
      "placeholder": "<X_ADS_ENABLE_WRITES>"
    }
  ],
  "agentSteps": [
    "Ask the user for: X_ADS_ACCESS_TOKEN, X_ADS_ACCOUNT_IDS. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T07:09:00.196101792Z"
}
