← 返回
开发者工具 中文

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...
连接 Microsoft Learn MCP 服务器,用于搜索微软文档、获取特定文档页面及查找代码示例。当需要查询微软相关内容时使用。
ricardodpalmeida
开发者工具 clawhub v1.0.0 1 版本 99897.4 Key: 无需
★ 2
Stars
📥 934
下载
💾 13
安装
1
版本
#latest

概述

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 documentation
  • microsoft_docs_fetch — Fetch specific documentation pages
  • microsoft_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:

ToolTypical parameters
-------------------------
microsoft_docs_searchquery (required), locale (optional, e.g., "en-us")
microsoft_docs_fetchurl (required, full Learn URL)
microsoft_code_sample_searchquery (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 list to get current tools
  • For complex queries, prefer search over fetch; let the tool find relevant pages
  • Locale defaults to en-us if not specified

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 15:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,146
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,795
productivity

Excalidraw Diagrams for Obsidian

ricardodpalmeida
为Obsidian生成Excalidraw图表。支持两种输出模式——Obsidian模式(.md格式,可直接使用插件)和标准模式(.excalidraw格式,用于excalidraw.com)。
★ 3 📥 997