The Microsoft Learn MCP Server is a free remote Streamable HTTP server that brings trusted, up-to-date Microsoft documentation into AI agents. Agents can search docs, fetch complete articles and search code samples. No authentication is required.
Also available as
Connect
- 1Connect it in ChatGPT
Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://learn.microsoft.com/api/mcp as the MCP server URL. Add it to a chat from the composer's tools menu.
- 2Or add it to Codex or the API
codex mcp add microsoft-learn --url https://learn.microsoft.com/api/mcp
Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.
Tools 3
microsoft_docs_searchmicrosoft_docs_fetchmicrosoft_code_sample_searchThings to ask
- “How do I configure managed identity for an Azure Function?”
- “Find a C# code sample for uploading a blob to Azure Storage”
- “Fetch the full Microsoft Learn article on .NET 9 breaking changes”
- “What are the limits for Azure Cosmos DB serverless?”