Microsoft Ads MCP Server (November 2026): Connect Claude, Setup & Workflows
Nikhil Tiwari
MCP Playground
π TL;DR
- Official server: Microsoft Advertising hosts its own MCP server at
partner.api.bingads.microsoft.com/ext/mcp/vnext. - Read-only: it reads campaigns, ad groups, ads, keywords and performance. It can't change anything.
- Auth: Microsoft Entra ID OAuth. Claude, Claude Code and ChatGPT need your own app registration. VS Code doesn't.
- Cost: free to connect. You pay only for the AI assistant you use.
- Need writes? Only community servers can pause campaigns or change bids. Treat them as third-party code.
π Status β November 2026
- Microsoft moved the server from a waitlist to an open pilot in June 2026, then to open flight with public setup docs in August. It is not marked generally available yet.
- Access is still read-only. Microsoft hasn't published a date for write tools.
- I checked the endpoint on 25 November 2026. An unauthenticated
initializereturns401with OAuth resource metadata, which is what you want to see.
Table of Contents
- What is the Microsoft Ads MCP server?
- Official vs community Microsoft Ads MCP servers
- Step 1: Register an Entra app
- Connect Microsoft Ads to Claude
- Connect Microsoft Ads to Claude Code
- VS Code, ChatGPT and Copilot Studio
- What data the server can read
- Five Microsoft Ads workflows to run
- Limits to know before you rely on it
- How to test the connection
- FAQ
Microsoft Advertising is the ad platform most PPC teams check last.
It usually gets a fraction of the Google Ads budget, so it gets a fraction of the attention too. Imported campaigns drift, search queries go unreviewed, and nobody notices for weeks.
The Microsoft Ads MCP server fixes the attention problem. It gives Claude live, read-only access to your Bing Ads accounts, so a weekly review becomes one conversation.
Setup is where people get stuck. Microsoft uses Entra ID for sign-in, and most clients need you to register your own app first.
Below I walk through that step, then the exact setup for Claude, Claude Code, ChatGPT, VS Code and Copilot Studio.
After that come five workflows I'd run every week, and the limits that will bite you if you skip them.
New to MCP? My Model Context Protocol guide covers the basics in ten minutes.
What Is the Microsoft Ads MCP Server?
It is a hosted MCP server run by Microsoft Advertising. Your AI assistant connects to it over Streamable HTTP and signs in with your Microsoft account.
Once connected, the assistant can list your customers and accounts, browse campaigns down to keywords, and pull performance for any date range.
There is one endpoint for every client:
https://partner.api.bingads.microsoft.com/ext/mcp/vnext
Microsoft lists Microsoft 365 Copilot, Claude, ChatGPT and "any MCP-compatible AI agent" as supported. In practice it is a standard remote server, so anything that speaks MCP with OAuth can use it.
The server is free. You need a paid plan or credits only for the assistant on the other end.
Official vs Community Microsoft Ads MCP Servers
Before the official server, the only option was a community server built on the Bing Ads API. Those still exist, and they do one thing the official one can't: write.
| Official Microsoft Ads MCP | Community servers | |
|---|---|---|
| Run by | Microsoft Advertising | Independent developers or vendors |
| Hosting | Hosted by Microsoft | Self-hosted or vendor-hosted |
| Writes | None β read-only | Often available, usually off by default |
| Auth | Entra ID OAuth with your app | Bing Ads API developer token plus OAuth |
| Cost | Free | Free (open source) or paid (hosted) |
| Maintenance | Tracks the API for you | Depends on the maintainer |
My rule: start with the official server for anything analytical. Reach for a community server only when you need the model to pause, bid or add negatives.
If you do, give it a scoped account first. Some community servers hide write tools behind a flag. Leave that flag off until you trust the workflow.
Step 1: Register an Entra App (Required for Most Clients)
This step trips most people up, so it gets its own section.
MCP clients prefer dynamic client registration: the client registers itself with the auth server on first connect. Microsoft Entra ID doesn't support that.
So Claude, Claude Code and ChatGPT need a client ID you create yourself. VS Code is the exception, because it signs in through its own Microsoft account integration.
With the Azure CLI installed and permission to register apps, run:
az login
az ad app create \
--display-name "Ads MCP App" \
--sign-in-audience AzureADandPersonalMicrosoftAccount
Copy the appId from the output. That is your client ID.
The audience setting matters. It lets both work accounts and personal Microsoft accounts sign in, which covers most Microsoft Advertising logins.
The registration doesn't grant ad access on its own. Each person who signs in still needs permission on the Microsoft Advertising accounts they query.
The scopes the server asks for are:
https://ads.microsoft.com/msads.manage offline_access
You'll add a redirect URI for each client below. Keep the app's page in the Azure portal open.
How to Connect Microsoft Ads to Claude
This works on Claude's web and desktop apps, on every plan. Free accounts are limited to one custom connector.
- Add Claude's callback as a public client redirect URI on your Entra app:
az ad app update --id <APP_ID> \ --public-client-redirect-uris https://claude.ai/api/mcp/auth_callback - In Claude, open Settings β Connectors β Add custom connector.
- Paste the server URL:
https://partner.api.bingads.microsoft.com/ext/mcp/vnext. - Under OAuth, choose Use your own OAuth client and paste your app ID.
- Click Sign in now and log in with the Microsoft account that has ad access.
On Team and Enterprise plans, only an Owner or Primary Owner can add the connector. Members then sign in with their own accounts.
Start with a prompt that can't fail:
What customers and accounts do I have access to in Microsoft Advertising?
If that returns your accounts, the connection works. Everything else is just better prompts.
How to Connect Microsoft Ads to Claude Code
Microsoft's setup guide doesn't cover Claude Code, but the same app registration works. Claude Code accepts a pre-registered OAuth client.
- Pick a fixed local port and register it as a public client redirect URI:
az ad app update --id <APP_ID> \ --public-client-redirect-uris http://localhost:8765/callback - Add the server with your client ID and that port:
claude mcp add --transport http \ --client-id <APP_ID> --callback-port 8765 \ microsoft-ads https://partner.api.bingads.microsoft.com/ext/mcp/vnext - Start Claude Code, run
/mcp, pickmicrosoft-adsand authenticate in the browser.
If Entra rejects the sign-in with a redirect mismatch, the error page shows the exact URI it expected. Register that one instead.
Claude Code is the best fit for scheduled reviews. Pair it with a script that saves the output to a file, and you have a weekly Bing Ads report without opening the dashboard.
For where each client keeps its config, see my MCP config file guide.
Microsoft Ads MCP in VS Code, ChatGPT and Copilot Studio
GitHub Copilot in VS Code
This is the fastest route, because it needs no app registration. Open the command palette, run MCP: Open User Configuration and add:
"microsoft-ads-mcp": {
"url": "https://partner.api.bingads.microsoft.com/ext/mcp/vnext",
"type": "http"
}
Start the server and sign in when prompted.
ChatGPT
ChatGPT needs Developer mode, which is on the web app for Plus, Pro, Business, Enterprise and Edu. On Business, Enterprise and Edu, an admin has to turn it on.
Create an app with the server URL, choose User-Defined OAuth Client, set token auth to None, and paste your app ID. Then register the callback URL ChatGPT shows as a public client redirect URI.
Microsoft 365 Copilot (Copilot Studio)
Create an agent with standard orchestration, then add a tool of type Model Context Protocol. Use OAuth 2.0 with manual configuration and your app ID.
Copilot Studio also needs a client secret, created with az ad app credential reset. After saving the connector, register the redirect URL it generates as a Web redirect URI, not a public client one.
Copilot Studio requires a work or school account. Personal Microsoft accounts won't get in.
What Data Can the Microsoft Ads MCP Server Read?
Microsoft describes the launch scope in plain terms. The server can explore:
- Entities: customers, accounts, campaigns, ad groups, ads and keywords
- Metrics on every entity: spend, clicks, impressions, CTR, average CPC, average CPM, conversions, conversion rate, revenue and ROAS
- Date ranges: filter and compare performance over any period you name
- Search queries and top products: what people typed and what sold
- Setup audits: checks against Microsoft's best practices
Microsoft hasn't published a tool list. The easiest way to see it is to connect and ask the model to list its tools, or inspect them directly.
You can do that in the browser with the online MCP inspector. It shows every tool, its input schema and the raw JSON-RPC.
Five Microsoft Ads MCP Workflows to Run Every Week
All five are read-only, so they're safe to try on a live account. Replace the account and customer IDs with yours.
1. The Monday performance check
For AccountId 123, CustomerId 456, compare last week with the week before.
Show spend, conversions, CPA and ROAS by campaign.
Flag any campaign where CPA rose more than 20% or spend rose with no change in conversions.
This replaces the dashboard tab most people forget to open. Ten minutes of clicking becomes one answer.
2. Search query review
List the search queries from the last 30 days with at least 10 clicks and zero conversions.
Group them by campaign and suggest which look like negative keyword candidates.
The server can't add the negatives. Paste the list into Microsoft Advertising or Editor yourself.
3. Month-over-month conversion changes
Which ad groups had the biggest month-over-month change in conversions?
For the top five gainers and losers, show clicks, conversion rate and average CPC for both months.
This separates traffic problems from conversion-rate problems. The fix is different for each.
4. Campaign setup audit
Audit the campaigns in AccountId 123 against Microsoft Advertising best practices.
List problems by severity, with the campaign name and what to change.
Imported Google campaigns are where this pays off. Settings that made sense in Google often don't carry over cleanly.
5. Google vs Microsoft parity check
Connect the Google Ads MCP server in the same client, and the model can read both at once:
For campaigns that exist in both Google Ads and Microsoft Advertising,
compare CPA and ROAS over the last 30 days.
Where Microsoft is cheaper per conversion, how much budget is it getting relative to Google?
This is usually where Microsoft budget gets found. Cheaper conversions with a capped budget are easy to miss when each platform lives in its own tab.
Models differ a lot on prompts like these. You can run the same server against 90+ models and compare the answers side by side.
Limits to Know Before You Rely on It
- No writes. No pausing, bidding, budgets or negatives. Every change is still manual.
- Not GA. "Open flight" means the tools can change. Re-check before you automate a report.
- No published tool list or rate limits. Microsoft's docs don't state call limits or row caps, so test big date ranges before scheduling them.
- Account IDs help. Prompts that name the AccountId and CustomerId are faster and less likely to pick the wrong account.
- Permissions follow the user. The model sees exactly what the signed-in person can see in Microsoft Advertising.
The same setup pattern applies to the Meta Ads MCP server, the Amazon Ads MCP server and LinkedIn Ads MCP.
How to Test the Connection When Something Fails
When a connector fails, the error in Claude or ChatGPT is usually vague. Testing the server directly tells you whether the problem is auth, the URL or the client.
A quick check from the terminal:
curl -i -X POST https://partner.api.bingads.microsoft.com/ext/mcp/vnext \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"test","version":"1"}}}'
A 401 with a WWW-Authenticate header pointing to resource metadata means the server is up. Any client failure after that is an OAuth setup problem, usually the redirect URI.
For the full picture, test the Microsoft Ads MCP server free in your browser. Connect with a token, list the tools and call them without installing anything.
FAQ
Is there an official Microsoft Ads MCP server?+
Yes. Microsoft Advertising hosts one at https://partner.api.bingads.microsoft.com/ext/mcp/vnext. It moved to open pilot in June 2026 and open flight in August 2026, with read-only access.
Can the Microsoft Ads MCP server change my campaigns?+
No. It is read-only. It can report on campaigns, ad groups, ads, keywords and search queries, but every change still has to be made in Microsoft Advertising or a third-party tool.
How do I connect Microsoft Ads to Claude?+
Register an Entra app, add https://claude.ai/api/mcp/auth_callback as a public client redirect URI, then add a custom connector in Claude with the server URL and your app ID as the OAuth client.
Can I use the Microsoft Ads MCP server with Claude Code?+
Yes. Add it with claude mcp add --transport http, passing your Entra app ID with --client-id and a fixed --callback-port, then register that localhost callback as a redirect URI and sign in with /mcp.
Is the Microsoft Ads MCP server free?+
Yes. Microsoft doesn't charge to connect. You may still need a paid plan or credits for the AI assistant you use with it.
Is Bing Ads MCP the same as Microsoft Ads MCP?+
Yes. Bing Ads was renamed Microsoft Advertising, and the official MCP server sits on the same Bing Ads API infrastructure. Community servers often still use the Bing Ads name.
Conclusion
The Microsoft Ads MCP server is official, free and read-only. The only real hurdle is the Entra app registration, and that takes five minutes once you know it's needed.
Start with the Monday check and the search query review. They cover the two things Microsoft budgets most often lose to neglect.
Before you wire it into a weekly report, test the connection free in MCP Playground and confirm the tools you'll depend on.
Sources: Microsoft Advertising MCP setup guide Β· Microsoft Advertising MCP server overview Β· Microsoft Advertising, June 2026 announcement Β· MCP use cases Β· MCP authorization spec
Written by Nikhil Tiwari
15+ years in product development. AI enthusiast building developer tools that make complex technologies accessible to everyone.
Free MCP Tools (no install)
Build, compare & ship MCP agents
Connect any MCP server, run evals on it, compare 90+ models side-by-side, deploy hosted servers, and save reusable agents you can export as an API β all in your browser.