Microsoft Learn MCP server
{
"mcpServers": {
"microsoft-learn": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}
}{
"mcpServers": {
"microsoft-learn": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}
}{
"mcpServers": {
"microsoft-learn": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}
}{
"servers": {
"microsoft-learn": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}
}{
"mcpServers": {
"microsoft-learn": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsonversion 1.0.0
What it does
This MCP server provides direct access to official Microsoft documentation, code samples, and Azure resources through semantic search and document retrieval. It is for developers using AI assistants who need current, verified Microsoft technical information without relying on outdated training data or unreliable web searches.
- Search Microsoft documentation to get correct syntax and parameters for Azure CLI commands, .NET APIs, or Python SDKs.
- Fetch full Microsoft documentation pages as markdown to review official implementation patterns and best practices.
- Find official Microsoft and Azure code samples filtered by programming language to use as reference implementations.
Tools this server exposes
| Tool | Does |
|---|---|
| microsoft_docs_search | Performs semantic search against Microsoft official technical documentation with a query string. |
| microsoft_docs_fetch | Fetches and converts a Microsoft documentation page into markdown format given a URL. |
| microsoft_code_sample_search | Searches for official Microsoft and Azure code snippets with optional filtering by programming language. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.