Skip to content
VS Code

Microsoft Advertising (Bing Ads) MCP (ctrlswing) for VS Code

io.github.ctrlswing/bing-ads-mcp

Microsoft Advertising (Bing Ads) MCP for campaigns, Shopping mutations, reports, and feeds.

client:VS Code transport:stdio runtime:npm

Install Microsoft Advertising (Bing Ads) MCP (ctrlswing) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "bing-ads-developer-token",
      "description": "BING_ADS_DEVELOPER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bing-ads-client-id",
      "description": "BING_ADS_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bing-ads-refresh-token",
      "description": "BING_ADS_REFRESH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bing-ads-client-secret",
      "description": "BING_ADS_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bing-ads-customer-id",
      "description": "BING_ADS_CUSTOMER_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bing-ads-account-id",
      "description": "BING_ADS_ACCOUNT_ID",
      "password": true
    }
  ],
  "servers": {
    "bing-ads-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ctrlswing/bing-ads-mcp"
      ],
      "env": {
        "BING_ADS_DEVELOPER_TOKEN": "${input:bing-ads-developer-token}",
        "BING_ADS_CLIENT_ID": "${input:bing-ads-client-id}",
        "BING_ADS_REFRESH_TOKEN": "${input:bing-ads-refresh-token}",
        "BING_ADS_CLIENT_SECRET": "${input:bing-ads-client-secret}",
        "BING_ADS_CUSTOMER_ID": "${input:bing-ads-customer-id}",
        "BING_ADS_ACCOUNT_ID": "${input:bing-ads-account-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Microsoft Advertising (Bing Ads) MCP (ctrlswing) in other clients