MCP.so
登录

Microsoft Learn MCP Server

@Microsoft Learn

基本信息

传输方式

Streamable HTTP

认证方式

OAuth

分类

开发工具

作者

Microsoft Learn

关于 Microsoft Learn MCP Server

Microsoft Learn provides trusted Microsoft documentation for developers and IT teams. Its connector gives assistants current docs context for Microsoft products, implementation questions, and technical learning workflows.

连接信息

https://learn.microsoft.com/api/mcp

接入方式

claude mcp add microsoft-learn --transport http https://learn.microsoft.com/api/mcp

Microsoft Learn MCP Server 工具

3

Search 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.

Search 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 php

Fetch 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.

常见问题

1

Microsoft Learn 远程 MCP 服务器是什么?

Microsoft Learn 的远程 MCP 服务器是一个托管的 Model Context Protocol 端点,地址是 https://learn.microsoft.com/api/mcp,AI 助手无需在本地安装或运行任何东西即可连接。

2

怎么连接 Microsoft Learn 的 MCP 服务器?

把端点 https://learn.microsoft.com/api/mcp 添加到任意支持 MCP 的客户端,比如 Claude Code、Cursor 或 VS Code。本页的接入代码块可以一步配置好每个客户端。

3

Microsoft Learn 的 MCP 服务器需要认证吗?

需要。Microsoft Learn 使用 OAuth——第一次连接时,你的 MCP 客户端会打开浏览器窗口登录并授权,之后会复用这个凭证。

4

Microsoft Learn 的 MCP 服务器用的是哪种传输方式?

Microsoft Learn 暴露的是 Streamable HTTP 端点,这是远程 MCP 服务器普遍使用、主流客户端都支持的传输方式。

评论