B

Bing Ads

by getmcpads.com · com.getmcpads/bing-ads

Enables MCP clients to read Microsoft Advertising campaigns, targeting, audiences, and reports through the Bing Ads API, and to preview and explicitly confirm writes for allowlisted accounts. Write tools are disabled by default and new entities are created paused.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "com-getmcpads-bing-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/bing-ads-mcp-server"
      ],
      "env": {
        "BING_ADS_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CLIENT_ID": "<VALUE>",
        "BING_ADS_CLIENT_SECRET": "<YOUR_VALUE>",
        "BING_ADS_REFRESH_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CUSTOMER_ID": "<VALUE>",
        "BING_ADS_ACCOUNT_IDS": "<VALUE>",
        "BING_ADS_ENVIRONMENT": "production",
        "BING_ADS_IDENTITY_PROVIDER": "Microsoft",
        "BING_ADS_OAUTH_TENANT": "common",
        "BING_ADS_ENABLE_WRITES": "false"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "com-getmcpads-bing-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/bing-ads-mcp-server"
      ],
      "env": {
        "BING_ADS_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CLIENT_ID": "<VALUE>",
        "BING_ADS_CLIENT_SECRET": "<YOUR_VALUE>",
        "BING_ADS_REFRESH_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CUSTOMER_ID": "<VALUE>",
        "BING_ADS_ACCOUNT_IDS": "<VALUE>",
        "BING_ADS_ENVIRONMENT": "production",
        "BING_ADS_IDENTITY_PROVIDER": "Microsoft",
        "BING_ADS_OAUTH_TENANT": "common",
        "BING_ADS_ENABLE_WRITES": "false"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "com-getmcpads-bing-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/bing-ads-mcp-server"
      ],
      "env": {
        "BING_ADS_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CLIENT_ID": "<VALUE>",
        "BING_ADS_CLIENT_SECRET": "<YOUR_VALUE>",
        "BING_ADS_REFRESH_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CUSTOMER_ID": "<VALUE>",
        "BING_ADS_ACCOUNT_IDS": "<VALUE>",
        "BING_ADS_ENVIRONMENT": "production",
        "BING_ADS_IDENTITY_PROVIDER": "Microsoft",
        "BING_ADS_OAUTH_TENANT": "common",
        "BING_ADS_ENABLE_WRITES": "false"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "com-getmcpads-bing-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/bing-ads-mcp-server"
      ],
      "env": {
        "BING_ADS_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CLIENT_ID": "<VALUE>",
        "BING_ADS_CLIENT_SECRET": "<YOUR_VALUE>",
        "BING_ADS_REFRESH_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CUSTOMER_ID": "<VALUE>",
        "BING_ADS_ACCOUNT_IDS": "<VALUE>",
        "BING_ADS_ENVIRONMENT": "production",
        "BING_ADS_IDENTITY_PROVIDER": "Microsoft",
        "BING_ADS_OAUTH_TENANT": "common",
        "BING_ADS_ENABLE_WRITES": "false"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "com-getmcpads-bing-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/bing-ads-mcp-server"
      ],
      "env": {
        "BING_ADS_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CLIENT_ID": "<VALUE>",
        "BING_ADS_CLIENT_SECRET": "<YOUR_VALUE>",
        "BING_ADS_REFRESH_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CUSTOMER_ID": "<VALUE>",
        "BING_ADS_ACCOUNT_IDS": "<VALUE>",
        "BING_ADS_ENVIRONMENT": "production",
        "BING_ADS_IDENTITY_PROVIDER": "Microsoft",
        "BING_ADS_OAUTH_TENANT": "common",
        "BING_ADS_ENABLE_WRITES": "false"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "com-getmcpads-bing-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/bing-ads-mcp-server"
      ],
      "env": {
        "BING_ADS_DEVELOPER_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CLIENT_ID": "<VALUE>",
        "BING_ADS_CLIENT_SECRET": "<YOUR_VALUE>",
        "BING_ADS_REFRESH_TOKEN": "<YOUR_VALUE>",
        "BING_ADS_CUSTOMER_ID": "<VALUE>",
        "BING_ADS_ACCOUNT_IDS": "<VALUE>",
        "BING_ADS_ENVIRONMENT": "production",
        "BING_ADS_IDENTITY_PROVIDER": "Microsoft",
        "BING_ADS_OAUTH_TENANT": "common",
        "BING_ADS_ENABLE_WRITES": "false"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
BING_ADS_DEVELOPER_TOKEN secret Yes Your Microsoft Advertising developer token. Required in production; the sandbox always uses Microsoft's universal sandbox token.
BING_ADS_CLIENT_ID Yes Application (client) ID of your Microsoft Entra app registration, or of your Google OAuth client.
BING_ADS_CLIENT_SECRET secret No Client secret. Only for a web app registration, or for Google identity. Leave unset for a public app.
BING_ADS_REFRESH_TOKEN secret Yes Refresh token granted with the https://ads.microsoft.com/msads.manage and offline_access scopes.
BING_ADS_CUSTOMER_ID No Customer ID that owns the accounts (cid in the web app URL). Required unless every account entry in BING_ADS_ACCOUNT_IDS carries its own customer ID.
BING_ADS_ACCOUNT_IDS Yes Required allowlist of account IDs (aid in the web app URL), comma-separated. Write accountId:customerId for an account owned by another customer. Up to 200 accounts.
BING_ADS_ENVIRONMENT No Either production or sandbox. Each environment needs its own credentials. Default: production
BING_ADS_IDENTITY_PROVIDER No Either Microsoft or Google, for users who sign in to Microsoft Advertising with a Google account. Default: Microsoft
BING_ADS_OAUTH_TENANT No Microsoft Entra tenant of the token endpoint. Default: common
BING_ADS_ENABLE_WRITES No Defaults to false. Only the exact value true exposes write tools. Default: false

Similar servers