Microsoft Learn MCP
/install mslearn-mcp
Microsoft Learn MCP
Connect to the Microsoft Learn MCP (Model Context Protocol) Server to interact with Microsoft documentation through structured tools.
Endpoint
https://learn.microsoft.com/api/mcp
This is a remote MCP server using streamable HTTP. It provides three main tools:
microsoft_docs_search— Search Microsoft documentationmicrosoft_docs_fetch— Fetch specific documentation pagesmicrosoft_code_sample_search— Search for official code samples
Setup
Add to mcporter config
mcporter config add --name mslearn --url https://learn.microsoft.com/api/mcp --type http
Or manually add to ~/.config/mcporter/config.json:
{
"servers": {
"mslearn": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}
}
Verify connection
mcporter list mslearn --schema
Usage
Search documentation
mcporter call mslearn.microsoft_docs_search query="Azure Functions triggers"
Fetch a specific doc page
mcporter call mslearn.microsoft_docs_fetch url="https://learn.microsoft.com/en-us/azure/azure-functions/functions-triggers-bindings"
Search code samples
mcporter call mslearn.microsoft_code_sample_search query="Python blob storage" language="python"
Tool Reference
Tool schemas are dynamic. Always check current schema with:
mcporter list mslearn --schema
Common patterns:
| Tool | Typical parameters |
|---|---|
microsoft_docs_search |
query (required), locale (optional, e.g., "en-us") |
microsoft_docs_fetch |
url (required, full Learn URL) |
microsoft_code_sample_search |
query (required), language (optional), product (optional) |
Output formats
Default output is human-readable. Use --output json for structured data:
mcporter call mslearn.microsoft_docs_search query="Entra ID" --output json
Notes
- No authentication required for the Learn MCP Server
- The server interface may change dynamically; always call
listto get current tools - For complex queries, prefer search over fetch; let the tool find relevant pages
- Locale defaults to en-us if not specified
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mslearn-mcp - 安装完成后,直接呼叫该 Skill 的名称或使用
/mslearn-mcp触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Microsoft Learn MCP 是什么?
Connect to Microsoft Learn MCP Server to search Microsoft documentation, fetch specific doc pages, and find code samples. Use when you need to query Microsof... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 564 次。
如何安装 Microsoft Learn MCP?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mslearn-mcp」即可一键安装,无需额外配置。
Microsoft Learn MCP 是免费的吗?
是的,Microsoft Learn MCP 完全免费(开源免费),可自由下载、安装和使用。
Microsoft Learn MCP 支持哪些平台?
Microsoft Learn MCP 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Microsoft Learn MCP?
由 Ricardo Almeida(@ricardodpalmeida)开发并维护,当前版本 v1.0.0。