Skip to content
Agent Search Engine.

Record · microsoft-leMCP serverCosts not checkedRecord checked Sep 23, 2026

Microsoft Learn MCP Server

Official remote MCP server that searches and fetches Microsoft Learn documentation and code samples.

Sources and review

Checked against public documentation on . Suitability guidance is our editorial judgment; this is not a performance benchmark or an endorsement.

Best for

Coding agents working with Azure, .NET and other Microsoft technologies that need current official docs rather than training-data recall.

About Microsoft Learn MCP Server

Microsoft's official Learn MCP Server gives AI assistants search and retrieval over Microsoft Learn documentation and code samples. It is a free remote endpoint that needs no API key or sign-in. The repository also ships the mslearn command-line tool and documents an experimental OpenAI-compatible endpoint.

Microsoft Learn MCP Server is listed in this index written primarily in TypeScript, with 2.0k stars on GitHub. Its latest recorded repository push was in October 2026; that is not an ASE editorial review date.

Before connecting: access and data

This record's specific permissions have not been reviewed by ASE. Read the publisher's documentation before copying setup or connecting.

  • List the accounts, files and services the enabled tools can read, change or execute. Check your actual credentials and discovered tools.
  • Use narrowly scoped credentials and read-only mode where supported. Review proposed writes before approving them; a generated configuration does not apply these limits for you.
  • Local launch is not local-only data processing. External services receive requests, and your client may pass tool results to its model provider. Check both destinations before sharing private data.
  • Keep keys and browser session files out of shared config, repositories and screenshots. Know how to disconnect the server and separately revoke its credentials or account sessions.

Read the setup guide →

Add Microsoft Learn MCP Server to your MCP client

A hosted server: point your client at its URL and complete its sign-in there. In Claude Desktop or claude.ai, add it under Settings → Connectors → Add custom connector instead.

Claude CodeRun in your terminal
claude mcp add --transport http microsoft-learn-mcp https://learn.microsoft.com/api/mcp
Cursor~/.cursor/mcp.json or .cursor/mcp.json
{
  "mcpServers": {
    "microsoft-learn-mcp": {
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}
VS Code.vscode/mcp.json
{
  "servers": {
    "microsoft-learn-mcp": {
      "type": "http",
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}
CodexRun in your terminal
codex mcp add microsoft-learn-mcp --url https://learn.microsoft.com/api/mcp

Check the project's README for required accounts, keys and permissions before connecting. Setup guide for each client →

For agent buildersMake your product part of the discovery.Explore advertising