Microsoft Learn Remote MCP Server

๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPPublic ยท No Auth๐Ÿ›ก๏ธ A+~971 tok3 toolsยทOnline228msยท30d uptime: 100%ยทLast checked 2m ago

Microsoft's official Learn MCP server streams trusted, up-to-date documentation for Azure, .NET, Microsoft 365 and the full Microsoft technical catalog directly into agent context. Endpoint verified live on RemoteMCP.net (preflighted 200 OK).

https://learn.microsoft.com/api/mcp
Provider
Microsoft โ†—
Categories
๐Ÿ” Documentation, Search & Context
ไธญๆ–‡็ฎ€ไป‹

Microsoft Learn ๅฎ˜ๆ–นๆ‰˜็ฎก็š„่ฟœ็จ‹ MCP ๆœๅŠกๅ™จใ€‚ๅพฎ่ฝฏๅฎ˜ๆ–น Learn MCP ๆœๅŠกๅ™จ๏ผŒๅฐ† Azureใ€.NETใ€Microsoft 365 ็ญ‰ๆœ€ๆ–ฐๅฎ˜ๆ–นๆ–‡ๆกฃ็›ดๆŽฅๆณจๅ…ฅไปฃ็†ไธŠไธ‹ๆ–‡ใ€‚ๅ…ฌๅผ€ๅ…้‰ดๆƒใ€‚

Maintainer of Microsoft Learn? Claim or update this listing โ†’

Streamable HTTPhttps://learn.microsoft.com/api/mcp
Install in Cursor โ†’

Or add to ~/.cursor/mcp.json:

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

๐Ÿงฐ Microsoft Learn MCP Tools & Schema (3)

ToolSafetyDescriptionParameters
microsoft_docs_search
~245 tok
๐ŸŸข ReadidempotentSearch official Microsoft/Azure documentation to find the most relevant and trustworthy content for a user's query. This tool returns up to 10 high-quality content chunks (each max 500 tokens), extracted from Microsoft Learn and other official sources. Each result includes the article title, URL, and a self-contained content excerpt optimized for fast retrieval and reasoning. Always use this tool to quickly ground your answers in accurate, first-party Microsoft/Azure knowledge. ## Follow-up Pattern To ensure completeness, use microsoft_docs_fetch when high-value pages are identified by search. The fetch tool complements search by providing the full detail. This is a required step for comprehensive results.query: string
microsoft_code_sample_search
~385 tok
๐ŸŸข ReadidempotentSearch for code snippets and examples in official Microsoft Learn documentation. This tool retrieves relevant code samples from Microsoft documentation pages providing developers with practical implementation examples and best practices for Microsoft/Azure products and services related coding tasks. This tool will help you use the **LATEST OFFICIAL** code snippets to empower coding capabilities. ## When to Use This Tool - When you are going to provide sample Microsoft/Azure related code snippets in your answers. - When you are **generating any Microsoft/Azure related code**. ## Usage Pattern Input a descriptive query, or SDK/class/method name to retrieve related code samples. The optional parameter `language` can help to filter results. Eligible values for `language` parameter include: csharp javascript typescript python powershell azurecli al sql java kusto cpp go rust ruby phpquery*: stringlanguage: string
microsoft_docs_fetch
~321 tok
๐ŸŸข ReadidempotentFetch and convert a Microsoft Learn documentation webpage to markdown format. This tool retrieves the latest complete content of Microsoft documentation webpages including Azure, .NET, Microsoft 365, and other Microsoft technologies. ## When to Use This Tool - When search results provide incomplete information or truncated content - When you need complete step-by-step procedures or tutorials - When you need troubleshooting sections, prerequisites, or detailed explanations - When search results reference a specific page that seems highly relevant - For comprehensive guides that require full context ## Usage Pattern Use this tool AFTER microsoft_docs_search when you identify specific high-value pages that need complete content. The search tool gives you an overview; this tool gives you the complete picture. ## URL Requirements - The URL must be a valid HTML documentation webpage from the microsoft.com domain - Binary files (PDF, DOCX, images, etc.) are not supported ## Output Format markdown with headings, code blocks, tables, and links preserved.url*: string

๐Ÿ›ก๏ธ Security, Quality & Context Token Audit

๐Ÿ›ก๏ธ Grade A+Context tax: ~971 tokens injected into every system prompt by this serverโ€™s 3 tools

Every tool definition (name + description + input schema) is injected into your LLMโ€™s context on every request โ€” Estimate per-call LLM token cost โ†’

  • No prompt-injection or hidden-character anomalies detected in tool descriptions
  • Streamable HTTP primary endpoint (current 2025-03-26 transport)
  • Public read-only-friendly endpoint โ€” no credentials stored client-side
  • Official first-party endpoint operated by the vendor
  • Manually verified by RemoteMCP.net

๐Ÿ” OAuth 2.1 & Security

Auth type
None (public)
Dynamic Client Registration
โ€”
PKCE S256
โ€”
Protected resource metadata
https://learn.microsoft.com/.well-known/oauth-protected-resource (expected location)
๐Ÿ” Audit OAuth 2.1 Config โ†’

๐Ÿงฉ Recommended Agent Skills

๐Ÿ“– Microsoft Learn MCP Endpoint Overview & Security Guide

Microsoft Learn โ€” Remote MCP Server

Microsoft's official Learn MCP server streams trusted, up-to-date documentation for Azure, .NET, Microsoft 365 and the full Microsoft technical catalog directly into agent context. The remote endpoint means there is nothing to install โ€” point your MCP client at the URL and start calling tools right away. Microsoft operates and versions the server themselves, so tool coverage tracks their API surface as it ships.

Official Microsoft Learn Endpoint & Transport Architecture

  • Endpoint URL: https://learn.microsoft.com/api/mcp
  • Transport: Streamable HTTP

Streamable HTTP is the current MCP transport (2025-03-26 spec): a single URL accepts JSON-RPC POSTs and may stream responses over SSE, so one endpoint serves both simple and streaming workloads. Microsoft Learn does not publish a separate legacy SSE endpoint, so your client must speak Streamable HTTP.

Authentication, Scopes & Permission Boundaries

Microsoft Learn is public and unauthenticated โ€” no OAuth, no API key, no headers. Any MCP client can connect and call its tools directly, which also makes it a great endpoint for smoke-testing your own MCP client or proxy.

All 3 cataloged tools are read-only โ€” Microsoft Learn cannot mutate your account data, which makes it safe to connect broadly.

Common Troubleshooting & Connection Tips

  • "Session expired" / stale Mcp-Session-Id โ€” just re-send initialize; stateless clients can ignore session headers entirely.

๐Ÿš€ How to Connect

  1. Copy the Microsoft Learn endpoint URL
    The remote endpoint is https://learn.microsoft.com/api/mcp.
  2. Add it to your MCP client
    Claude Code: claude mcp add --transport http microsoft-learn https://learn.microsoft.com/api/mcp. Cursor: add "microsoft-learn": { "url": "https://learn.microsoft.com/api/mcp" } under mcpServers in ~/.cursor/mcp.json. Other clients work similarly.
  3. Verify with the online inspector
    Paste https://learn.microsoft.com/api/mcp into remotemcp.net/inspector, run initialize and tools/list, and confirm Microsoft Learn's 3 tools respond.

โ“ FAQ

What is the Microsoft Learn remote MCP endpoint?

The primary endpoint is https://learn.microsoft.com/api/mcp. It is an official first-party server operated by Microsoft, speaking the Streamable HTTP transport.

How do I authenticate with Microsoft Learn?

You don't โ€” Microsoft Learn is public and unauthenticated. Connect and start calling tools; no OAuth flow or API key is needed.

I'm getting a 401 Unauthorized from Microsoft Learn โ€” what's wrong?

Microsoft Learn is authless, so a 401 is unusual. Check that you're hitting https://learn.microsoft.com/api/mcp exactly (including the path) and not an API endpoint that requires a different credential.

Which MCP clients work with Microsoft Learn?

Any client that supports remote MCP servers: Cursor, Claude Code (`claude mcp add --transport http microsoft-learn https://learn.microsoft.com/api/mcp`), VS Code Copilot, ChatGPT connectors, Windsurf, Kiro (`~/.kiro/settings/mcp.json`), and Claude Desktop via the `mcp-remote` bridge.

What tools does Microsoft Learn expose?

3 tools are cataloged in this directory โ€” including `microsoft_docs_search`, `microsoft_docs_fetch`, `microsoft_code_sample_search`. Use our online inspector to fetch the live tool list straight from the endpoint.

๐Ÿ”— Connect Guides

๐Ÿ“› Embed Status Badge in README

Microsoft Learn status badge
[![Remote MCP Status](https://remotemcp.net/api/badge/status/microsoft-learn.svg)](https://remotemcp.net/servers/microsoft-learn)
Microsoft Learn inspector badge
[![Test in Inspector](https://remotemcp.net/api/badge/inspect/microsoft-learn.svg)](https://remotemcp.net/inspector?url=https%3A%2F%2Flearn.microsoft.com%2Fapi%2Fmcp)
Microsoft Learn audit grade badge
[![MCP Audit Grade](https://remotemcp.net/api/badge/grade/microsoft-learn.svg)](https://remotemcp.net/servers/microsoft-learn)
Microsoft Learn context tax badge
[![Context Tax](https://remotemcp.net/api/badge/tokens/microsoft-learn.svg)](https://remotemcp.net/servers/microsoft-learn)

Related Servers

AWS KnowledgeAmazon Web Services

AWS Knowledge's hosted remote MCP server. AWS's fully-managed public knowledge MCP gives agents access to the latest AWS documentation, API references, What's New posts and architectural guidance across all AWS services. It is public and unauthenticated โ€” connect and call tools immediately.

https://knowledge-mcp.global.api.aws
๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPPublic ยท No Auth๐Ÿ›ก๏ธ A+~1896 tok5 toolsOnline178ms
Claude SkillsClaudeSkills.club

Claude Skills's hosted remote MCP server. ClaudeSkills.club's public MCP lets agents search and pull from a catalog of 90,000+ Agent Skills (SKILL.md) โ€” workflow specs, safety scores and one-line install instructions. It is public and unauthenticated โ€” connect and call tools immediately.

https://claudeskills.club/mcp
๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPPublic ยท No Auth๐Ÿ›ก๏ธ A+~344 tok3 toolsOnline125ms

Cloudflare's free, authless documentation MCP server. Agents can search the full Cloudflare docs corpus โ€” no account or token required.

https://docs.mcp.cloudflare.com/mcp
๐Ÿ›ก๏ธ Officialโœ“ VerifiedHTTP + SSEPublic ยท No Auth๐Ÿ›ก๏ธ A+~271 tok2 toolsOnline7ms
DeepWiki MCPCognition AI (Devin)

Cognition Devin's free DeepWiki MCP. Ask questions and read AI-generated wiki documentation for any public GitHub repository โ€” no auth required.

https://mcp.deepwiki.com/mcp
๐Ÿง‘โ€๐Ÿ’ป Communityโœ“ VerifiedHTTP + SSEPublic ยท No Auth๐Ÿ›ก๏ธ A+~308 tok3 toolsOnline472ms