Microsoft Learn Docs MCP Server
Microsoft's official hosted MCP server for searching and reading Microsoft Learn documentation and code samples (Azure, .NET, Microsoft 365 and more). It's free and needs no API key or sign-in: point your client at https://learn.microsoft.com/api/mcp. There's also an OpenAI-compatible endpoint (/api/mcp/openai-compatible) for Deep Research models, and ?maxTokenBudget= limits how much text comes back. VS Code's own MCP docs use it as the first server to try (checked Nov 12, 2026).
Source: official setup docs
Remote server (hosted)
Point your client at this URL. Depending on the provider, you sign in with OAuth or send an API key header (see the source docs).
https://learn.microsoft.com/api/mcp{
"mcpServers": {
"microsoft-learn": {
"url": "https://learn.microsoft.com/api/mcp"
}
}
}Example for Cursor mcp.json. Other apps use slightly different fields; see the setup guide for your app.
Claude Code: claude mcp add --transport http microsoft-learn https://learn.microsoft.com/api/mcp
At a glance
| Repository | MicrosoftDocs/mcp |
| GitHub stars | 2,021 |
| Last commit | 2026-10-30 (31 days ago) |
| Status | maintained |
| Security advisories | No published advisories found as of 2026-11-30. Details |
| Clients mentioned in README | Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Cline, Codex, Gemini CLI |
| Auth | None detected in README |
| Language / License | TypeScript / CC-BY-4.0 |
Security advisories
No published advisories found as of 2026-11-30.
Checked 2026-11-30 in the repo's GitHub security advisories. No advisory doesn't prove a server is safe. How to stay updated.