MCP ConfigsMay 14, 2026·1 min read

Microsoft Learn MCP — Official Microsoft Docs MCP Server

Microsoft Learn MCP is an official remote MCP endpoint for trusted docs search; connects via streamable HTTP and supports token budgets (1,629★).

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Native · 94/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Mcp
Install
Bundle
Trust
Trust: Established
Entrypoint
https://learn.microsoft.com/api/mcp
Universal CLI install command
npx tokrepo install 1bf4a5bc-fc00-57c9-aca2-f532ac360748
Intro

Microsoft Learn MCP is an official remote MCP endpoint for trusted docs search; connects via streamable HTTP and supports token budgets (1,629★).

Best for: Developers who want first-party Microsoft docs access inside Claude/Cursor/Codex without scraping random web pages

Works with: Any MCP client that supports HTTP servers; the endpoint is https://learn.microsoft.com/api/mcp

Setup time: 3-8 minutes

Main

  • Trusted source: designed to reduce hallucinations by restricting responses to official Microsoft documentation.
  • HTTP MCP endpoint: exposes a remote MCP server URL (not a browser URL) intended for compliant clients.
  • Token budget control: documents maxTokenBudget to cap response sizes for faster agent loops.
  • CLI option: README mentions @microsoft/learn-cli as an alternative way to search from terminals.

FAQ

  • Can I open it in a browser?: No. The README notes it may return 405 in a browser; connect via an MCP client.
  • Do I need auth?: The README positions it as free and no-key for basic usage.
  • How do I keep outputs small?: Append ?maxTokenBudget=<N> to cap response tokens.
🙏

Source & Thanks

Source: https://github.com/MicrosoftDocs/mcp > License: CC-BY-4.0 > GitHub stars: 1629 · forks: 190

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets