# Does Microsoft Learn have an MCP server?

**Yes — Official.** Microsoft Learn maintains an official MCP server.

## Facts

- Verdict: Official (Yes)
- Access: Remote server — Hosted by the vendor — no install, connect over HTTP with OAuth or a token.
- Endpoint: `https://learn.microsoft.com/api/mcp`
- Repository: [MicrosoftDocs/mcp](https://github.com/MicrosoftDocs/mcp) — ★ 1.9k, last push 2026-09-29, CC-BY-4.0
- Maintainer: Microsoft Docs
- Language: TypeScript
- Category: [Knowledge & Memory](https://mcpyet.com/category/knowledge-memory/)
- Verified against vendor docs: 2026-09-29
- GitHub data refreshed: 2026-09-29 (re-checked every 6 hours)

## What it does

> Official Microsoft Learn MCP Server and CLI tool – powering LLMs and AI agents with real-time, trusted Microsoft docs & code samples.
> — how [MicrosoftDocs/mcp](https://github.com/MicrosoftDocs/mcp) describes itself

Project site: <https://learn.microsoft.com>

## The receipts

- **Vendor-hosted (remote):** `https://learn.microsoft.com/api/mcp` — a remote server run by Microsoft Learn itself, nothing to install. Documented at <https://learn.microsoft.com/en-us/training/support/mcp>.
- **Official repository:** [MicrosoftDocs/mcp](https://github.com/MicrosoftDocs/mcp) — ★ 1.9k, pushed 2026-09-29, CC-BY-4.0 (active)

## How to connect it

Hosted by the vendor — no install, connect over HTTP with OAuth or a token.

### Claude Code

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

Add `--scope user` to make it available in every project.

### Claude Desktop

1. Open **Settings → Connectors**
2. Click **Add custom connector**
3. Paste `https://learn.microsoft.com/api/mcp`
4. Finish the sign-in prompt, then enable it in the chat's tools menu

### Cursor

Add to `.cursor/mcp.json` in your project, or `~/.cursor/mcp.json` for every project:

```json
{
  "mcpServers": {
    "microsoftlearn": {
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}
```

### VS Code

Add to `.vscode/mcp.json`, then pick the server from Copilot's agent-mode tools menu:

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

### ChatGPT

1. Enable **Developer mode** under Settings → Apps & Connectors → Advanced
2. Choose **Create** and paste `https://learn.microsoft.com/api/mcp`
3. Complete sign-in, then enable the connector in a new chat

## How we know

Official remote MCP server at learn.microsoft.com/api/mcp (free, no auth) for searching and fetching Microsoft docs and code samples, documented at learn.microsoft.com/training/support/mcp. Source and issues at MicrosoftDocs/mcp (~1.9k stars), with MCP Registry entry com.microsoft/microsoft-learn-mcp.

- GitHub data refreshed 2026-09-29, then every 6 hours.
- Vendor docs verified on 2026-09-29.
- Corrections: hello@mcpyet.com.

## Also in Knowledge & Memory

- [NotebookLM](https://mcpyet.com/mcp/notebooklm.md) — Community only (Sort of)
- [Context7](https://mcpyet.com/mcp/context7.md) — Official (Yes)
- [Obsidian](https://mcpyet.com/mcp/obsidian.md) — Community only (Sort of)
- [DeepWiki](https://mcpyet.com/mcp/deepwiki.md) — Official (Yes)
- [Zotero](https://mcpyet.com/mcp/zotero.md) — Community only (Sort of)
- [Graphiti](https://mcpyet.com/mcp/graphiti.md) — Official (Yes)

---

Source: https://mcpyet.com/mcp/microsoft-learn/ — data refreshed 2026-09-29
