Skip to content

Shaw guides

Microsoft Advertising MCP server setup for Claude

How to connect Microsoft's official Advertising MCP server to Claude: the server URL, the Entra app, the callback URI, and what it is documented to do.

Published · Updated

Last updated: November 8, 2026. External facts were checked against the linked pages on that date.

How this page was made: researched and drafted with AI assistance, with every claim checked against the linked sources on the date shown. Shaw (shaw.ai, made by Coral Sourcing LLC) makes an AI workspace and has an interest in this topic. We say where Shaw does not do the thing.

Short answer

Microsoft's official Advertising MCP server is at https://partner.api.bingads.microsoft.com/ext/mcp/vnext and signs in with Microsoft Entra OAuth. For Claude, register your own Entra app, add Claude's callback URI as a public client redirect, then add a custom connector with your client ID. Microsoft's documented uses are reporting and lookup, and its June 2026 announcement called the pilot read-only.

What it is and who it is for

Microsoft Advertising has an official MCP server. Microsoft's MCP server page describes it as a way to work with your campaigns from an AI assistant, and says it is free to connect. You may still need a paid plan for the assistant itself, or enough token credits to run your workflows.

Microsoft's setup guide, last updated October 20, 2026, covers four clients: Copilot Studio, GitHub Copilot in VS Code, ChatGPT and Claude. This page covers Claude. The server URL is the same in every client:

https://partner.api.bingads.microsoft.com/ext/mcp/vnext

On status, Microsoft's June 17, 2026 announcement said the server was "expanding to open pilot with read-only access." The October setup guide does not use the word pilot, and we found no later Microsoft statement on whether that has changed. Check Microsoft's pages before you rely on either point.

Before you start

You need three things.

  • Access to the Advertising accounts. Use a work or school account (Microsoft Entra ID) or a personal Microsoft account that can already see the Microsoft Advertising customer and accounts you want to query. Microsoft's guide says the sign-in audience setting "does not grant access to Microsoft Advertising"; each user must already have the necessary account permissions.
  • Permission to register an app. The guide says to sign in to an Azure account with access to the Entra tenant where the app will live, with permission to create app registrations. It adds that using a personal Microsoft account for Microsoft Advertising does not by itself grant those permissions. If you are not an admin of a tenant, ask the person who is.
  • A Claude plan that allows custom connectors. Microsoft's guide and Claude's custom connectors help page both say remote MCP custom connectors are available on Free, Pro, Max, Team and Enterprise (Claude's page also lists Ultra). Free users are limited to one custom connector. On Team, only an Owner or Primary Owner can add a connector, and members then connect individually. Claude's page says Enterprise roles are broader.

Step 1: Register the Entra app

Microsoft's guide uses the Azure CLI. Install it, close and reopen your terminal, then sign in:

az login

If you have no Azure subscription, the guide gives az login --allow-no-subscription. Then create the app with a sign-in audience that accepts both work or school and personal accounts:

az ad app create --display-name "Ads MCP App" --sign-in-audience AzureADandPersonalMicrosoftAccount

The guide calls AzureADandPersonalMicrosoftAccount the required audience for supporting both account types. The command returns the app's appId, which is your client ID. To look it up later:

az ad app list --display-name "Ads MCP App" --query "[].appId" --output tsv

Step 2: Add Claude's callback as a public client redirect

Claude's callback URI, as given in Microsoft's guide, is https://claude.ai/api/mcp/auth_callback. It goes under the app's public client redirect URIs, not the Web ones. Microsoft's command, which keeps any redirects already there, is PowerShell:

$clientId = '<client-id>'
$app = az ad app show --id $clientId | ConvertFrom-Json
$uris = $app.publicClient.redirectUris + "https://claude.ai/api/mcp/auth_callback" | Select-Object -Unique
az ad app update --id $clientId --public-client-redirect-uris $uris

Microsoft only publishes the PowerShell version. If you do not use PowerShell, the same setting is a redirect URI on the app registration in the Azure portal; make sure it is filed as a public client one.

You can reuse one app registration for several clients, per the guide, by adding each client's redirect URI to the right platform. ChatGPT also uses a public client redirect. Copilot Studio uses a Web redirect and a client secret instead.

Step 3: Add the custom connector in Claude

Microsoft's guide gives these steps, and the menu names can drift between Claude versions. The guide says Settings > Connectors. Claude's help page describes Customize > Connectors for Pro and Max, and Organization settings > Connectors for Team and Enterprise Owners. On the Team and Enterprise path, Claude's page says to click Add, hover over Custom and choose Web. For Pro and Max it says + Add, then Add custom connector.

  1. Choose Add, then Add custom connector.
  2. Name it, for example "Microsoft Ads MCP".
  3. Set the MCP Server URL to the URL above. Claude's help page adds a Continue click here and again after you review the authentication settings it detected.
  4. Under Authentication, select Sign in now.
  5. Under OAuth client, select Use your own OAuth client, and enter the client ID from Step 1.
  6. Select Add, then Connect.
  7. Sign in to Microsoft Advertising with an account that has access to the target accounts, and grant consent. This sign-in is separate from your Claude login.
  8. Enable the connector in a conversation.

Claude's help page warns that custom connectors reach services Anthropic has not verified. It tells you to connect only to servers built by parties you trust and to read tool approval requests before choosing "Allow always". Microsoft's server is Microsoft's own, but the warning also applies to servers you add later.

Step 4: Test with a read prompt

Microsoft's test prompt is below. Replace the example IDs with an account and customer you can access:

List my advertising campaigns for AccountId 123, CustomerId 456.

If it returns your campaigns, the connection works. If Claude cannot sign in, check that the redirect URI is exactly the one above and is a public client redirect.

What it is documented to do

Microsoft's use-cases page lists these supported scenarios:

  • Reporting and campaign insights, with impressions, clicks, CTR, conversions, CPA, ROAS and spend
  • Analysis of campaigns, ad groups, asset groups, ads, keywords and audiences
  • Entity discovery and lookup
  • Assets such as headlines, descriptions, images and videos, including editorial status
  • Exportable outputs, such as Excel-ready and Power BI-ready tables
  • Anomaly and threshold detection
  • Change history
  • Cross-platform comparison with Google Ads

Two limits are stated. Change history covers the last 180 days. Cross-platform comparison needs integrations with both Microsoft Advertising and Google Ads, so you would connect a Google Ads server as well. For that side, see our page on Google Ads MCP servers.

Can it change bids, budgets or campaigns?

Microsoft's use-cases page does not describe any scenario that creates or edits anything, and none of its example prompts do. Microsoft's June announcement says the pilot has read-only access. Affect Group, a marketing agency, wrote on October 26, 2026 that the server "provides read-only access" and cannot change bids, budgets or ads. That is a secondary source.

One detail is worth knowing. For Copilot Studio and ChatGPT, Microsoft's guide lists the scopes https://ads.microsoft.com/msads.manage and offline_access; its Claude steps do not show a scope field. The name msads.manage is a general Microsoft Advertising scope, and the pages we read do not explain how the server limits what a token can do. So do not treat the scope name as proof either way. The practical advice:

  • Test with a read prompt first, as above.
  • Grant the Microsoft Advertising account the lowest permission that lets you do your reporting, since you sign in as yourself and Microsoft says each user needs the account permissions.
  • Keep a person in the loop for any change you make from an AI client, and check the platform's change history afterward.

Microsoft's pages do not list individual tool names, so we cannot tell you which tools your client will see.

How the clients differ

ClaudeChatGPTCopilot StudioVS Code
Own Entra app neededYesYesYesNo
Redirect typePublic clientPublic clientWebNone
Client secretNoNo (token endpoint auth: None)YesNo

This follows Microsoft's guide. In VS Code the guide uses an HTTP server entry in mcp.json and interactive sign-in. Its one documented troubleshooting item is a VS Code sign-in error, fixed by setting microsoft-authentication.implementation to msal-no-broker.

How Shaw fits

Shaw does not offer a Microsoft Advertising MCP server and does not connect to Microsoft's. Its Microsoft Advertising support is a reporting sync. Shaw's docs list Microsoft Advertising among the ad sources it syncs, and the sync code pulls daily per-campaign spend, impressions, clicks, conversions and revenue, which Shaw's agent can then compare with Meta, Google Ads and TikTok. It cannot create or edit Microsoft campaigns. See performance and synced data and connectors.

Shaw has its own MCP server at https://shaw.ai/mcp, described in Shaw MCP, but it exposes a Shaw organization, not your Microsoft Advertising account directly. Shaw is available by invitation. Organizations created through self-serve signup cannot yet connect ad accounts, so connected-data reports currently run in organizations the Shaw team sets up. Shaw has not published pricing; contact support@shaw.ai. If you only want to query Microsoft Advertising from Claude, the steps above are all you need. For the wider question of what to check before giving an agent ad-account access, see our checklist.

Frequently asked questions

Does Microsoft Advertising have an official MCP server?

Yes. Microsoft documents one at https://partner.api.bingads.microsoft.com/ext/mcp/vnext, with a setup guide and use-cases page on Microsoft Learn. Microsoft's June 2026 announcement described it as an open pilot with read-only access.

Is it free?

Microsoft's MCP server page says it is free to connect. It adds that you may need a paid subscription for the AI assistant you use, or enough token credits. Claude's Free plan allows one custom connector.

Do I need an Entra app?

For Claude, yes. Microsoft's guide has you register your own app and choose "Use your own OAuth client". VS Code is the exception: its documented setup uses interactive sign-in with no app registration.

Can it change bids or budgets?

None of Microsoft's documented scenarios do, and Microsoft's June announcement said the pilot is read-only. The pages we read do not say how the server enforces that, so test it yourself before you rely on it.

Does it work with personal Microsoft accounts?

Yes. Microsoft's guide says both Entra work or school accounts and personal Microsoft accounts are supported for Microsoft Advertising authorization. That is why the app is registered with the AzureADandPersonalMicrosoftAccount audience.

Can I use it with Google Ads data too?

Microsoft lists cross-platform comparison between Microsoft Advertising and Google Ads as a scenario. It requires integrations with both, so you connect a Google Ads server separately.

How we checked this

On November 8, 2026 we read Microsoft's MCP server setup guide and use-cases page, both dated October 20, 2026, plus Microsoft Advertising's MCP server page and its June 17, 2026 announcement. Claude plan rules come from Claude's custom connectors help page. The read-only statement from Affect Group comes from its October 26, 2026 article and is secondary. We did not run the setup against a live Microsoft Advertising account. Claude's menus and Microsoft's pages change, so follow the current versions if they differ. Shaw details come from Shaw's own docs and code, and Shaw is made by the company publishing this guide, so read that section as a vendor description. If something here is out of date or wrong, tell us at support@shaw.ai and we will correct it and update the date.

Sources

  1. https://about.ads.microsoft.com/en/solutions/technology/mcp-server
  2. https://learn.microsoft.com/en-us/advertising/guides/mcp-setup?view=bingads-13
  3. https://about.ads.microsoft.com/en/blog/post/june-2026/building-a-new-ai-economy-that-creates-value-for-everyone
  4. https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp
  5. https://learn.microsoft.com/en-us/advertising/guides/mcp-use-cases?view=bingads-13
  6. https://affectgroup.com/blog/how-to-connect-microsoft-advertising-to-chatgpt-and-claude-using-mcp/

Explore Shaw

Browse 1,000+ working HTML/CSS/JS clones across 750+ brands and 21 categories, compare alternatives, or read the docs:

1,000+ live surfaces.
Ready to inspect & remix.

Browse websites, apps, and brand tearsheets on Shaw.