Microsoft MCP Server for Enterprise logo

Microsoft MCP Server for Enterprise

Queries Microsoft Entra data and official Microsoft documentation through natural-language MCP tools.

Install Microsoft MCP Server for Enterprise

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://learn.microsoft.com/api/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http microsoft-mcp-server-for-enterprise https://learn.microsoft.com/api/mcp

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Hosted endpointLive · 1h agoLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 1h ago · Dec 5, 2026, 22:30 UTC

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://learn.microsoft.com/api/mcp

Overview

Microsoft MCP Server for Enterprise MCP server connects AI clients to Microsoft services through natural-language requests and MCP tools. It searches and fetches Microsoft Learn content, retrieves official code samples, and supports Microsoft Entra data queries. Use it when an agent needs first-party Microsoft or Azure guidance, complete documentation pages, or current implementation examples.

Use cases

  • Search Microsoft Learn for Azure implementation guidance
  • Fetch complete Microsoft documentation pages for troubleshooting
  • Find official code samples before generating Microsoft or Azure code
  • Query Microsoft Entra tenant data with natural-language requests

Key features

  • Microsoft Learn documentation search
  • Full Microsoft documentation page retrieval
  • Official Microsoft and Azure code sample search
  • Natural-language Microsoft Entra data access
  • OAuth-based client authentication
  • User confirmation for write actions

Tools3

What Microsoft MCP Server for Enterprise lets your agent do. Expand a tool for its parameters.

Verified live~911 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/26 checks healthy over the last 83d

What it can do

From the 3 tools this server returned when we ran it.

Handles credentials · 1Makes network requests · 2Read-only tools · 3

Observed 2026-10-29 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars66Stargazers on the source repository.
Last commit19d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Tools exposed3Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Microsoft MCP Server for Enterprise works

What Microsoft MCP Server for Enterprise does

Microsoft MCP Server for Enterprise provides an MCP interface for working with Microsoft Entra data and official Microsoft documentation. Natural-language requests are translated into operations against Microsoft services, allowing an AI client to retrieve relevant knowledge without requiring the user to manually search Microsoft Learn.

The documentation capabilities are focused on first-party Microsoft and Azure content. Search results include article titles, URLs, and self-contained excerpts. Code searches return implementation examples from Microsoft Learn, while page fetching converts supported Microsoft documentation pages into Markdown.

How it works

Clients connect to the hosted MCP endpoint at https://learn.microsoft.com/api/mcp. The server exposes tools that an MCP-compatible client can call as part of an agent workflow.

For broad questions, use microsoft_docs_search first. It returns up to 10 content chunks, with each chunk limited to 500 tokens. When a result points to an important page or the answer requires more context, follow up with microsoft_docs_fetch to retrieve the complete page. This search-then-fetch pattern is intended for procedures, troubleshooting guidance, prerequisites, and other questions where excerpts may be insufficient.

Use microsoft_code_sample_search when generating Microsoft or Azure code. Queries can describe a task or name an SDK, class, or method. An optional language filter narrows results to supported languages and technologies.

Setup and configuration

Configure an MCP client with the hosted endpoint and authenticate according to the client’s OAuth support. The Microsoft setup uses an app registration representing the client, delegated Microsoft Graph permissions, and administrator consent where required. The registered application is configured as a public client with the client’s mobile or desktop redirect URI, so a client secret is not required for sign-in.

Clients that support OAuth discovery can obtain the server’s scopes automatically. Users sign in with their work account when prompted. Access can also be restricted to assigned users or groups through the tenant’s enterprise application settings.

Tools and capabilities

  • microsoft_docs_search finds relevant Microsoft Learn and other official Microsoft content, returning titles, links, and concise excerpts.
  • microsoft_docs_fetch retrieves a complete Microsoft documentation webpage as Markdown after a relevant page has been identified.
  • microsoft_code_sample_search finds official Microsoft and Azure code examples, with optional filtering for languages such as C#, JavaScript, TypeScript, Python, PowerShell, Azure CLI, SQL, Java, Kusto, C++, Go, Rust, Ruby, and PHP.
  • Microsoft Entra operations support natural-language requests for reading and managing tenant data, with changes requiring user confirmation.

Limitations and notes

Documentation fetching accepts valid HTML webpages on the microsoft.com domain. Binary files such as PDFs, DOCX files, and images are not supported. Search returns a maximum of 10 chunks and limits each chunk to 500 tokens, so complete procedures may require a subsequent fetch. Code search is intended for Microsoft and Azure-related development tasks and supports the listed language filters.

Write operations require an MCP client that supports elicitation so the user can confirm changes. Clients also need OAuth support with a pre-registered client ID for the authenticated Microsoft administration workflow.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Microsoft MCP Server for Enterprise

Microsoft MCP Server for Enterprise is an MCP server that connects AI clients to Microsoft Entra data and official Microsoft documentation. Its main tools search Microsoft Learn content, fetch complete documentation pages, and find official Microsoft and Azure code samples for natural-language agent workflows.

Configure an MCP client with `https://learn.microsoft.com/api/mcp` and complete its OAuth setup. The authenticated Microsoft workflow uses an app registration, delegated permissions, administrator consent where required, and a public-client redirect URI.

Use `microsoft_docs_search` first, then pass a relevant Microsoft documentation URL to `microsoft_docs_fetch`. Fetch accepts HTML pages on the `microsoft.com` domain and returns the page as Markdown, but it does not support PDFs, DOCX files, or images.

The code search tool can filter results by C#, JavaScript, TypeScript, Python, PowerShell, Azure CLI, SQL, Java, Kusto, C++, Go, Rust, Ruby, or PHP. You can also search without a language filter using a descriptive query or SDK, class, or method name.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMicrosoft MCP Server for Enterprise AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/microsoft-mcp-server-for-enterprise?style=directory)](https://allmcps.com/mcp/microsoft-mcp-server-for-enterprise)
HTML Embed
<a href="https://allmcps.com/mcp/microsoft-mcp-server-for-enterprise"><img src="https://allmcps.com/api/badge/microsoft-mcp-server-for-enterprise?style=directory" alt="Microsoft MCP Server for Enterprise on AllMCPs" /></a>