mcp
Official Microsoft Learn MCP Server and CLI tool – powering LLMs and AI agents with real-time, trusted Microsoft docs & code samples.
The Microsoft Learn MCP Server is a free, hosted Model Context Protocol server that gives AI assistants direct access to official Microsoft technical documentation. It exposes three tools—semantic search, page fetching, and code sample search—through a remote endpoint at learn.microsoft.com/api/mcp. The server eliminates AI hallucinations by providing trusted, up-to-date information about Azure, .NET, and other Microsoft technologies directly from first-party sources. No authentication or API keys are required, and it works with any MCP-compatible client including VS Code, Claude Desktop, Cursor, GitHub Copilot, and more.
Key Features
Use Cases
- 01Verifying correct Azure SDK methods and API signatures when writing cloud applications
- 02Finding official code samples for implementing .NET features like IHttpClientFactory or minimal APIs
- 03Checking Azure service availability, regional limits, and configuration requirements during architecture planning
- 04Troubleshooting compilation errors by retrieving accurate library documentation instead of relying on outdated training data
- 05Generating runnable Python code for Azure AI Foundry evaluation SDK based on current documentation
- 06Learning proper Azure CLI syntax for infrastructure provisioning and managed identity setup
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
mcp — FAQ
What is the Microsoft Learn MCP Server?+
It's a free, remote Model Context Protocol server hosted by Microsoft that provides AI assistants with tools to search, fetch, and retrieve official Microsoft documentation and code samples. It eliminates hallucinations by giving agents direct access to trusted, first-party technical content.
How do I install the Microsoft Learn MCP Server in VS Code?+
Click the one-click install badge in the repository, or search for '@mcp learn' in the VS Code Extensions panel and install the 'Microsoft Learn' MCP server. Restart VS Code and the tools will be available to GitHub Copilot chat.
Which AI clients and editors support this MCP server?+
It works with VS Code, Claude Desktop, Claude Code, Cursor, GitHub Copilot CLI, Visual Studio 2022, Codex, Cline, Roo Code, Windsurf, Kiro, ChatGPT, Gemini CLI, Qwen Code, and any other MCP-compatible client. Visual Studio 2022 version 17.13+ includes it as a built-in server.
Do I need an API key or Microsoft account to use this?+
No. The Microsoft Learn MCP Server requires no authentication, API keys, logins, or sign-ups. It's completely free and works immediately after installation.
Is the Microsoft Learn MCP Server free to use?+
Yes, it is completely free with high search capacity designed for heavy coding sessions. There are no usage limits or costs.
Can I use this MCP server from the command line without an AI client?+
Yes, install the companion CLI tool with 'npm install -g @microsoft/learn-cli' or run 'npx @microsoft/learn-cli search <query>' for instant terminal access to the same documentation search and fetch tools.
How do I install mcp?+
Open the source repository on GitHub and follow its README. mcp is a mcp server — MCP Agents Market links you directly to the official repo.
Is mcp free?+
mcp is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.