Skip to content
Back to skills

Mslearn Mcp

ASecurity

Connect to Microsoft Learn MCP Server to search Microsoft documentation, fetch specific doc pages, and find code samples. Use when you need to query Microsoft Learn documentation, Azure docs, .NET docs, or find official Microsoft code examples. Works with mcporter for tool-based MCP interaction.

  • 21 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 7, 2026
documentationpythonbashazureapidocumentation

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill mslearn-mcp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mslearn Mcp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mslearn Mcp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-mslearn-mcp/badge)](https://www.skillsdirectory.com/skills/modbender-mslearn-mcp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mslearn-mcp
description: Connect to Microsoft Learn MCP Server to search Microsoft documentation, fetch specific doc pages, and find code samples. Use when you need to query Microsoft Learn documentation, Azure docs, .NET docs, or find official Microsoft code examples. Works with mcporter for tool-based MCP interaction.
---

# 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

```bash
mcporter config add --name mslearn --url https://learn.microsoft.com/api/mcp --type http
```

Or manually add to `~/.config/mcporter/config.json`:

```json
{
  "servers": {
    "mslearn": {
      "type": "http",
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}
```

### Verify connection

```bash
mcporter list mslearn --schema
```

## Usage

### Search documentation

```bash
mcporter call mslearn.microsoft_docs_search query="Azure Functions triggers"
```

### Fetch a specific doc page

```bash
mcporter call mslearn.microsoft_docs_fetch url="https://learn.microsoft.com/en-us/azure/azure-functions/functions-triggers-bindings"
```

### Search code samples

```bash
mcporter call mslearn.microsoft_code_sample_search query="Python blob storage" language="python"
```

## Tool Reference

Tool schemas are dynamic. Always check current schema with:

```bash
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:

```bash
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

Files in this skill

  • SKILL.md2.6 KB
  • references/mcp-details.md6.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.