Bing MCP Server

MCP server for Microsoft Advertising (Bing Ads) — campaigns, keywords, and reports

Local serverstdioTypeScript

What is the Bing MCP server?

Bing MCP server exists for a simple reason — assistants are far more useful when they can act on Bing directly instead of describing what you should do. MCP server for Microsoft Advertising (Bing Ads) — campaigns, keywords, and reports.

What you get

Production-grade MCP server for Microsoft Advertising (Bing Ads) API. Enables Claude to manage Bing/Microsoft Ads accounts with full campaign, ad group, keyword, and performance analysis capabilities.

Setting it up

Installation goes through your MCP client rather than a global install: point it at mcp-bing-ads on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What the assistant can call

Once Bing is connected, these are the calls the assistant has available:

  • Context — The Context tool exposed by this server
  • Campaigns — The Campaigns tool exposed by this server
  • Keywords — The Keywords tool exposed by this server
  • Testing — The Testing tool exposed by this server

Configuration and credentials

You will need 8 environment variables: BING_ADS_DEVELOPER_TOKEN, BING_ADS_CLIENT_ID, BING_ADS_REFRESH_TOKEN, BING_ADS_CLIENT_SECRET, BING_ADS_MCP_WRITE, YOUR_AZURE_CLIENT_ID, YOUR_AZURE_CLIENT_SECRET, YOUR_CUSTOMER_ID. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the bing mcp server does with a few real requests.

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Bing's toolset — Context, Campaigns, Keywords and 1 more — is a fair guide to whether it matches your workflow. It is maintained by mharnett; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
ContextThe Context tool exposed by this server.
CampaignsThe Campaigns tool exposed by this server.
KeywordsThe Keywords tool exposed by this server.
TestingThe Testing tool exposed by this server.

How to install the Bing MCP server

{
  "mcpServers": {
    "bing-ads": {
      "command": "npx",
      "args": ["-y", "mcp-bing-ads"],
      "env": {
        "BING_ADS_DEVELOPER_TOKEN": "your-value",
        "BING_ADS_CLIENT_ID": "your-value",
        "BING_ADS_REFRESH_TOKEN": "your-value",
        "BING_ADS_CLIENT_SECRET": "your-value",
        "BING_ADS_MCP_WRITE": "your-value",
        "YOUR_AZURE_CLIENT_ID": "your-value",
        "YOUR_AZURE_CLIENT_SECRET": "your-value",
        "YOUR_CUSTOMER_ID": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
BING_ADS_DEVELOPER_TOKENCredential the server authenticates with.Yes
BING_ADS_CLIENT_IDConfiguration value read at startup.Optional
BING_ADS_REFRESH_TOKENCredential the server authenticates with.Yes
BING_ADS_CLIENT_SECRETCredential the server authenticates with.Yes
BING_ADS_MCP_WRITEConfiguration value read at startup.Optional
YOUR_AZURE_CLIENT_IDConfiguration value read at startup.Optional
YOUR_AZURE_CLIENT_SECRETCredential the server authenticates with.Yes
YOUR_CUSTOMER_IDConfiguration value read at startup.Optional

Example prompts to try

  • Use Bing to Context.
  • Use Bing to Campaigns.
  • Use Bing to Keywords.

Frequently asked questions

It connects Bing to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (Context, Campaigns, Keywords, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Bing directly.