Skip to directory

Microsoft Learn MCP

Microsoft (Microsoft Learn)

Streamable HTTP3 documented tools20

About Microsoft Learn MCP

Microsoft Learn's hosted MCP server lets AI clients search Microsoft technical documentation, fetch full documentation articles, and search Microsoft/Azure code samples.

What you can use it for

  • Find relevant Microsoft technical documentation semantically
  • Fetch full Learn articles as Markdown
  • Search official Microsoft/Azure code samples
Connection and setup
Hosting
Remote hosted
Transport
Streamable HTTP
Endpoint
https://learn.microsoft.com/api/mcp
Authentication
None required for public documentation access.

Requirements

  • MCP client that supports remote Streamable HTTP
  • Agreement to Microsoft Learn Terms of Use

Setup steps

  1. Add a remote Streamable HTTP MCP server at https://learn.microsoft.com/api/mcp; use the client's documented URL field.
  2. Reload the client if necessary and request a Microsoft documentation search.
  3. Use microsoft_docs_fetch with an official Learn URL to retrieve an article or microsoft_code_sample_search for official snippets.
  4. Do not open the MCP endpoint as an ordinary browser page; it is an MCP protocol endpoint and may return HTTP 405 to browser navigation.
Tools 3

Microsoft’s current setup guide names three tools: microsoft_docs_search, microsoft_docs_fetch, and microsoft_code_sample_search.

  • microsoft_docs_search
    01
  • microsoft_docs_fetch
    02
  • microsoft_code_sample_search
    03
Limitations and notes
  • Provides public Learn documentation; it does not provide training records or user-profile information.
  • Knowledge content updates incrementally and receives a full refresh daily, so very recent documentation changes may not appear immediately.
  • The endpoint is for MCP Streamable HTTP clients and is not intended for direct browser navigation.
Original sources
  • official tool reference

    The current official setup guide and repository identify microsoft_docs_search, microsoft_docs_fetch, and microsoft_code_sample_search.

  • official documentation

    The current official setup guide and repository identify microsoft_docs_search, microsoft_docs_fetch, and microsoft_code_sample_search.

Documentation checked 2026-10-28T13:02:00.000Z. Connection has not been runtime tested.