FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-10-14;last seen 2026-10-16。There is no official certification or quality rating here — we record sources and dates only.
🌟 Microsoft Learn MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
> **Stop AI Hallucinations.** Give your AI assistant (Claude, Cursor, Copilot, Codex, ...) direct access to the latest official Microsoft documentation.
>
> **✨ Free. One-click install. No key needed.**
🎯 Why install this?
Stop relying on outdated training data or risky web searches. Learn MCP server provides secure, direct access to Microsoft official docs.
* 🧠 **Eliminate Hallucinations.**
Stop your AI from inventing non-existent Azure SDK methods or hallucinating library packages. Get code that actually compiles.
* 🔌 **Plug & Play (No Auth).**
No API keys, no logins, no sign-ups required. Just one-click install and start coding immediately.
* 🛡️ **100% Trusted & Safe.**
Protect your supply chain. Unlike generic web searches that may scrape insecure blogs or malicious sites, this tool **only** accesses official 1st-party Microsoft documentation.
* 💸 **Completely Free.** High search capacity tailored for seamless, heavy coding sessions.
✨ Example Prompts
> "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."
🌐 The Microsoft Learn MCP Server Endpoint
The Microsoft Learn MCP Server is accessible to any IDE, agent, or tool that supports the Model Context Protocol (MCP). Any compatible client can connect to the following **remote MCP endpoint**:
> **Note:** This URL is intended for use **within a compliant MCP client** via Streamable HTTP, such as the recommended clients listed in our Getting Started section. It does not support direct access from a web browser and may return a 405 Method Not Allowed error if accessed manually. For developers who need to build their own solution, please follow the mandatory guidelines in the Building a Custom Client section to ensure your implementation is resilient and supported.
**Standard config** works in most clients:
For experimental features, see the Experimental Features section below.
🧪 Experimental Features
The Microsoft Learn MCP Server offers experimental features that are under active development. These features may change or be refined based on user feedback and usage patterns.
OpenAI-Compatible Endpoint
For applications that require OpenAI Deep Research model compatibility, you can use the OpenAI-compatible endpoint:
This endpoint supports OpenAI Deep Research models and follows the OpenAI MCP specification.
Token Budget Control
To manage token usage and control costs, you can append the maxTokenBudget query parameter to the MCP endpoint URL. This parameter limits the token count in search tool responses by truncating the content to meet your specified budget.
> **Note:** These experimental features are subject to change. We welcome feedback through our GitHub Discussions.
🛠️ Currently Supported Tools
| Tool Name | Description | Input Parameters |
|-----------|-------------|------------------|
| microsoft_docs_search | Performs semantic search against Microsoft official technical documentation | query (string): The search query for retrieval |
| microsoft_docs_fetch | Fetch and convert a Microsoft documentation page into markdown format | url (string): URL of the documentation page to read |
| microsoft_code_sample_search | Search for official Microsoft/Azure code snippets and examples | query (string): Search query for Microsoft/Azure code snippets language (string, optional): Programming language filter.|
💻 Microsoft Learn CLI
The @microsoft/learn-cli package gives you terminal access to the same tools — search docs, fetch pages, and find code samples — without an MCP client.
Installing the npm package alone does not install agent discovery. The CLI can install a CLI-first
skill for the same ecosystems supported by this repository's plugins: GitHub Copilot, Claude Code,