Microsoft Learn Docs

Microsoft Learn Docs

A remote MCP server delivering trusted, up-to-date Microsoft Learn documentation for code generation and AI tasks.

1,086
Stars
123
Forks
0
Releases

Overview

The Microsoft Learn MCP Server is a remote MCP server that enables clients such as GitHub Copilot and other AI agents to bring trusted, up-to-date Microsoft Learn documentation directly into their workflows. It supports streamable HTTP transport for lightweight integration and exposes a remote MCP endpoint at https://learn.microsoft.com/api/mcp. The server provides high-quality content retrieval in Markdown, semantic understanding through vector search, and discovery of official Microsoft/Azure code samples with optional language filtering. It offers tools like microsoft_docs_search, microsoft_docs_fetch, and microsoft_code_sample_search to search, fetch, and extract code examples. Clients can configure a standard JSON config and dynamically fetch tool definitions at runtime (instead of hard-coding tool names). The server emphasizes real-time updates and resilience, guiding developers to refresh tool definitions when schemas change (list, listChanged). It is designed for use in IDEs, AI agents, and other tools that support MCP, and includes extensive getting-started guidance across VS Code, Claude, and other integrations.

Details

Owner
microsoftdocs
Language
License
Creative Commons Attribution 4.0 International
Updated
2025-12-07

Features

High-Quality Content Retrieval

Search and retrieve relevant content from Microsoft's official documentation in Markdown format.

Code Sample Discovery

Find official Microsoft/Azure code snippets and examples with language-specific filtering.

Semantic Understanding

Uses advanced vector search to find the most contextually relevant documentation.

Real-time Updates

Access the latest Microsoft documentation as it's published.

Streamable HTTP Transport

Supports a streamable HTTP transport for lightweight client integration.

Remote MCP Endpoint

Provides a remote endpoint at https://learn.microsoft.com/api/mcp for MCP clients.

Dynamic Tool Discovery

Tools are discovered dynamically and refreshed at runtime; avoid hard-coded tool definitions.

Predefined Tools Set

Includes tools such as microsoft_docs_search, microsoft_docs_fetch, and microsoft_code_sample_search.

Audience

AI agentsleverage MCP tools to retrieve official Microsoft Learn content for code generation and QA.
IDE pluginsintegrate Microsoft Learn docs into prompts for Copilot or similar tooling.
Developersbuild or configure custom MCP clients that dynamically discover tools and refresh definitions.

Tags

Microsoft LearnMCP Serverdocumentationmarkdownsemantic searchcode samplesstreamable HTTPreal-time updatesGitHub CopilotAI agents