
Gives your agent Microsoft's official docs and code samples for Azure, .NET, Windows and more, free and with no sign-in.
by Microsoft· Developer toolsUnclaimed · Yours? Claim it
4 images
About
The Microsoft Learn MCP Server gives your agent direct access to Microsoft's official documentation, so it answers from current docs instead of outdated training data. It only reads first-party Microsoft documentation, and it's free, with no API key or sign-in. What you can do with it - Search Microsoft's technical documentation for Azure, .NET, Windows and more - Fetch a full documentation page as Markdown - Find official Microsoft and Azure code samples, filtered by language - Check that an API or method your agent wants to use really exists How it connects Microsoft hosts it at https://learn.microsoft.com/api/mcp. Add it as a connector in ChatGPT or Claude, or to Codex, Cursor, VS Code, Gemini CLI and other agents. In Claude Code, the microsoft-docs plugin bundles the server with Microsoft's Learn skills, and Visual Studio has it built in. Agent skills Microsoft also provides three skills: microsoft-docs for concepts and how-tos, microsoft-code-reference for APIs, samples and errors, and microsoft-skill-creator, which writes a skill for any Microsoft technology. Good to know Adding ?maxTokenBudget=2000 to the address caps how much text each search returns (an experimental feature).
Plugins people install alongside Microsoft Learn MCP.
Once it’s added
“Give me the Azure CLI commands to create an Azure Container App with a managed identity.”
“Is gpt-5.4 available in Azure EU regions?”
“Are you sure this is the right way to implement IHttpClientFactory in a .NET 8 minimal API?”
“Show me runnable Python code to do harms eval using the Azure AI Foundry evaluation SDK.”
Before you add it
Reads only
Microsoft's official documentation · Official Microsoft and Azure code samples
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
A hosted server: nothing runs on your machine.
Runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
Add to VS Codecopilot mcp add --transport http microsoft-learn-mcp https://learn.microsoft.com/api/mcp
A hosted server: nothing runs on your machine.
Add to Cursor.cursor/mcp.json{
"mcpServers": {
"microsoft-learn-mcp": {
"url": "https://learn.microsoft.com/api/mcp"
}
}
}Runs on your machine.
/plugin marketplace add anthropics/claude-plugins-official /plugin install microsoft-docs@claude-plugins-official
A hosted server: nothing runs on your machine.
codex mcp add microsoft-learn-mcp --url https://learn.microsoft.com/api/mcp
A hosted server: nothing runs on your machine.
~/.gemini/config/mcp_config.json{
"mcpServers": {
"microsoft-learn-mcp": {
"url": "https://learn.microsoft.com/api/mcp"
}
}
}A hosted server: nothing runs on your machine.
gemini mcp add --transport http microsoft-learn-mcp https://learn.microsoft.com/api/mcp
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
openclaw mcp add microsoft-learn-mcp --url https://learn.microsoft.com/api/mcp --transport streamable-http
A hosted server: nothing runs on your machine.
opencode mcp add microsoft-learn-mcp --url https://learn.microsoft.com/api/mcp
A hosted server: nothing runs on your machine.
hermes mcp add microsoft-learn-mcp --url https://learn.microsoft.com/api/mcp
~/.hermes/config.yaml{
"mcp_servers": {
"microsoft-learn-mcp": {
"url": "https://learn.microsoft.com/api/mcp"
}
}
}Scanned and passed · checked 8 h ago
No reviews yet. Used Microsoft Learn MCP? Say how it went.
Write a reviewPlugins people install alongside Microsoft Learn MCP.
Skills that make your coding agent brainstorm, plan, test-drive, debug and review its work before it calls the job done.
Matt Pocock's everyday engineering skills: grilling sessions, specs and tickets, TDD, bug diagnosis, code review and writing for agents.
Addy Osmani's engineering workflows for coding agents: spec, plan, build, test, review and ship, with quality gates at each step.
Nobody has shared how they use Microsoft Learn MCP yet.
Security scan
Passed
Safe to install in every agent it supports. Runs remotely on learn.microsoft.com · answering.