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

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install 1bf4a5bc-fc00-57c9-aca2-f532ac360748 --target codex

Stages files first; activation requires review of the staged README and plan.

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