Bing Ads MCP server
MCP server for Microsoft Advertising (Bing Ads) — campaigns, keywords, and reports
4 stars106 downloads/wk
Reviews
Write oneNobody has reviewed Bing Ads yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Bing Ads tools (10, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
bing_ads_add_shared_negativesAdd negative keywords to a shared negative keyword list. Use phrase match by default (wrap in quotes). Call bing_ads_list_shared_entities first to get list IDs.
bing_ads_get_campaign_performanceGet campaign performance metrics (impressions, clicks, CTR, CPC, spend, conversions, revenue) for a date range.
bing_ads_get_client_contextGet the current client context based on working directory. Call this first to confirm which Bing Ads account you're working with.
bing_ads_keyword_performanceGet keyword performance report with metrics including impressions, clicks, cost, conversions, quality score. Optionally filter by campaign.
bing_ads_list_ad_groupsList ad groups within a specific campaign, including ad group name and status.
bing_ads_list_campaignsList all campaigns for the current client's Bing/Microsoft Advertising account, including campaign name, status, budget, and type.
bing_ads_list_shared_entitiesList shared negative keyword lists (SharedEntity type) for the account. Returns list IDs and names needed for adding negatives.
bing_ads_pause_keywordsPause one or more keywords by setting their status to Paused. Requires ad group ID and keyword IDs.
bing_ads_search_term_reportGet search term report showing actual search queries that triggered ads, with matched keywords and performance metrics.
bing_ads_update_campaign_budgetwrite actionUpdate a campaign's daily budget amount. Use bing_ads_list_campaigns first to get the campaign ID and current budget.
Public scan report
scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan11 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 19 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Bing Ads compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,255 servers
- Tools
- 10
- the typical server has 7
- Tools that change things
- 10%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 4
- more than 82% of 28,688 servers
- Downloads a week
- 106
- more than 64% of 12,191 servers with a package
What its tools let an agent do: 9 read · 1 change
Install Bing Ads in Claude Code, Cursor or VS Code
Runs npx -y mcp-bing-ads on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add bing-ads -- npx -y mcp-bing-ads
What the publisher says
From the Bing Ads repository's README, as published. We do not edit it. Read it on GitHub
Bing Ads MCP Server
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.
Features:
- 10 tools -- production-tested
- Campaign, ad group, and keyword management
- Keyword performance analysis with quality scores
- Search term reporting & bid automation
- Budget & bid strategy optimization
- Campaign-level budget updates
- Negative keyword management (shared + campaign-level)
Note: ⚠️ First open-source Bing Ads MCP with comprehensive tooling
- No serious alternatives exist in the ecosystem
- Battle-tested across multiple accounts
Installation
npm install mcp-bing-adsConfiguration
Security: Never share your .mcp.json file or commit it to git -- it may contain API credentials. Add .mcp.json to your .gitignore.
- Get OAuth credentials:
- Go to Microsoft Azure Portal
- Create an Azure AD app registration
- Grant API permissions: Microsoft Advertising API
- Scopes: https://ads.microsoft.com/msads.manage offline_access
- Create config.json:
cp config.example.json config.json- Fill in your credentials:
{
"oauth": {
"client_id": "YOUR_AZURE_CLIENT_ID",
"client_secret": "YOUR_AZURE_CLIENT_SECRET"
},
"clients": {
"default": {
"customer_id": "YOUR_CUSTOMER_ID",
"account_id": "YOUR_ACCOUNT_ID",
"name": "My Account"
}
}
}- Set environment variables (recommended):
export BING_ADS_DEVELOPER_TOKEN="your_developer_token"
export BING_ADS_CLIENT_ID="your_client_id"
export BING_ADS_REFRESH_TOKEN="your_refresh_token"
# Optional:
export BING_ADS_CLIENT_SECRET="your_client_secret"
# Optional: opt into mutating tools (read-only by default)
export BING_ADS_MCP_WRITE="true"Environment Variables
Read-only by default
Mutating tools (bingadspausekeywords, bingadsupdatecampaignbudget, bingadsaddsharednegatives) are hidden from the tool list and refused at call time unless BINGADSMCPWRITE=true is set in the server environment. This is a safety gate against casual write actions -- for example, pausing a keyword or editing a budget based on a throwaway chat message. To make write changes, set the env var explicitly in your .mcp.json or shell profile for the session that needs it, then unset it afterwards. Read tools (list/report/performance) are always available.
Usage
Start the server
npm startUse with Claude Code
Add to ~/.claude.json:
{
"mcpServers": {
"bing-ads": {
"type": "http",
"url": "http://localhost:3002"
}
}
}Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Bing Ads: common questions
- Is Bing Ads MCP server safe?
- Mostly: it is graded B (83/100). Read the Bing Ads safety report
- How do I install Bing Ads?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Bing Ads need an API key?
- Yes. The registry entry asks for
BING_ADS_DEVELOPER_TOKEN,BING_ADS_REFRESH_TOKEN,BING_ADS_CLIENT_SECRET. - Is Bing Ads maintained?
- The last commit was 56 days ago (2026-09-09). The latest release is v1.0.2.
- How does Bing Ads compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,255 servers); tools 10 (the typical server has 7); tools that change things 10% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.