Microsoft Learn MCP Server

Official

Microsoft Learn’s public MCP server supplies Microsoft documentation and code examples to compatible assistants.

Remote serverstreamable-http

What is the Microsoft Learn MCP Server?

Microsoft Learn’s public MCP server supplies Microsoft documentation and code examples to compatible assistants.

Connection and access

The documented endpoint is https://learn.microsoft.com/api/mcp. The current reference lists documentation search, page fetching and code-sample search. Use the returned Learn links to check the product version, prerequisites and scope before applying an example.

Use the configuration documented for your chosen client. Complete any required account authorization, inspect the discovered tools and begin with one read whose answer you already know.

A useful first workflow

For an Azure configuration question, name the service and API version. Ask for the relevant source page and an explanation of how it applies to the existing application. Keep a current example separate from guidance for an older deployed version.

Keep resource identifiers and source links in the answer. They make it possible to reproduce the result and identify whether the assistant used the intended document, workspace or dataset.

Check the outcome

The endpoint is public and has rate limits. Use MCP tool discovery rather than treating it as a fixed ordinary REST API; Microsoft notes that the available tools and request formats can change.

If a connection works but the workflow fails, inspect the resource scope and required arguments before changing the URL. For recurring use, retain the client version and the selected account or source context with the workflow, then recheck discovery after updates.

Publisher documentation

Source 1

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
microsoft_docs_searchSearch Microsoft Learn documentation.
microsoft_docs_fetchRetrieve a documentation page.
microsoft_code_sample_searchSearch Microsoft code samples.

How to install the Microsoft Learn MCP Server

{
  "mcpServers": {
    "microsoft-learn": {
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}

Public knowledge endpoint; no account authentication required. Respect service rate limits.