Microsoft built an MCP server so your AI stops making up Azure APIs
It pipes official Microsoft Learn docs and code samples directly into Claude, Copilot, Cursor, and friends via the Model Context Protocol—no API key required.

What it does
The Microsoft Learn MCP Server exposes three tools over the Model Context Protocol: semantic search across official docs, fetching a specific page as markdown, and hunting for official code samples by language. Any MCP-compatible client—VS Code, Claude, Cursor, Copilot, Codex, and a half-dozen others—can query it. There is also a standalone CLI, @microsoft/learn-cli, that offers the same three capabilities for terminal dwellers who do not want to wire up an MCP client.
The interesting bit
Microsoft is essentially dogfooding the MCP spec to keep its own documentation authoritative inside AI workflows. The server is hosted at a single remote endpoint, requires no authentication, and includes “Agent Skills”—portable prompt packages that teach agents when to search docs versus when to look up code samples. It is a rare case of a vendor treating its documentation as active infrastructure rather than a static archive.
Key highlights
- Three tools:
microsoft_docs_search,microsoft_docs_fetch, andmicrosoft_code_sample_searchwith an optional language filter. - No API keys, logins, or sign-ups; the endpoint is public and free.
- Experimental OpenAI-compatible endpoint and a
maxTokenBudgetparameter to cap response length. - Packaged “Agent Skills” for concept lookups, API verification, and even generating custom skills for new Microsoft technologies.
- Broad client support: VS Code, Visual Studio, GitHub Copilot CLI, Claude Desktop/Code, Cursor, OpenAI Codex, Roo Code, Cline, Gemini CLI, Qwen Code, and ChatGPT.
Caveats
- The CLI and some client integrations are marked as
previewor require manual configuration. - Experimental features like the OpenAI-compatible endpoint and token budget control are explicitly flagged as subject to change.
- The endpoint returns
405 Method Not Allowedif poked from a web browser; it expects a compliant MCP client speaking Streamable HTTP.
Verdict
Worth a look if you write code against Azure, .NET, or Microsoft APIs and are tired of LLMs confidently inventing method signatures. Skip it if your stack is entirely non-Microsoft and you already have a docs pipeline you trust.
Frequently asked
- What is MicrosoftDocs/mcp?
- It pipes official Microsoft Learn docs and code samples directly into Claude, Copilot, Cursor, and friends via the Model Context Protocol—no API key required.
- Is mcp open source?
- Yes — MicrosoftDocs/mcp is open source, released under the CC-BY-4.0 license.
- What language is mcp written in?
- MicrosoftDocs/mcp is primarily written in TypeScript.
- How popular is mcp?
- MicrosoftDocs/mcp has 1.8k stars on GitHub.
- Where can I find mcp?
- MicrosoftDocs/mcp is on GitHub at https://github.com/MicrosoftDocs/mcp.