Official agent skill

Microsoft Docs

by MicrosoftDocs in MicrosoftDocs/mcp

Understand Microsoft technologies by querying official documentation.

OfficialCC-BY-4.0Auto-check passedAgent Workflows

Install Microsoft Docs

skills CLI
$ npx skills add MicrosoftDocs/mcp --skill microsoft-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install MicrosoftDocs/mcp microsoft-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/MicrosoftDocs/mcp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/microsoft-docs .claude/skills/microsoft-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
microsoft-docs
GitHub stars
1.9k
Used in
1 other repo
Token cost
~723 tokens
SKILL.md length
202 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
CC-BY-4.0

At a glance

Understand Microsoft technologies by querying official documentation.

  • The user asks how something works
  • SKILL.md covers Tools, When to Use, Query Effectiveness and When to Fetch Full Page, plus 2 more sections
  • Calls npx and npm
  • Wants tutorials

What it does

Microsoft Docs is an agent skill from MicrosoftDocs/mcp, published by the product's own GitHub organization. Understand Microsoft technologies by querying official documentation. Use whenever the user asks how something works, wants tutorials, needs configuration options, limits, quotas, or best practices for any Microsoft technology (Azure, .NET, M365, Windows, Power Platform, etc.)—even if they don't mention "docs." If the question is about understanding a concept rather than writing code, this is the right skill.

Its SKILL.md is about 720 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Primarily uses the Microsoft Learn MCP Server (https://learn.microsoft.com/api/mcp); if that is unavailable, fall back to the mslearn CLI (npx…

It sits in Agent Workflows. It works with .NET, Microsoft Azure, Microsoft 365 and Power Automate. The repository describes itself as: Official Microsoft Learn MCP Server and CLI tool – powering LLMs and AI agents with real-time, trusted Microsoft docs & code samples. The licence is CC-BY-4.0.

When your agent uses it

  • The user asks how something works
  • Wants tutorials
  • Needs configuration options
  • Best practices for any Microsoft technology (Azure

Example prompts

  • “t mention”
  • “/microsoft-docs”

Requirements

  • Python 3
  • Node.js
  • Compatibility (from SKILL.md): Primarily uses the Microsoft Learn MCP Server (https://learn.microsoft.com/api/mcp); if that is unavailable, fall back to the mslearn CLI (`npx @microsoft/learn-cli`).

What it can do on your machine

Read from SKILL.md and the folder at commit f8ffde1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Primarily uses the Microsoft Learn MCP Server (https://learn.microsoft.com/api/mcp); if that is unavailable, fall back to the mslearn CLI (`npx @microsoft/learn-cli`).

    From compatibility in the SKILL.md frontmatter.

Context cost

Microsoft Docs loads about 723 tokens when it runs. Until then it costs about 107 tokens; SKILL.md has 202 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~107
When it runs · the whole SKILL.md, loaded when a task matches
~723

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from MicrosoftDocs/mcp at commit f8ffde1, republished under its CC-BY-4.0 licence (© MicrosoftDocs). 202 words, ~723 tokens.

Download SKILL.mdSave it as .claude/skills/microsoft-docs/SKILL.md (or your agent's skills folder).
name
microsoft-docs
description
Understand Microsoft technologies by querying official documentation. Use whenever the user asks how something works, wants tutorials, needs configuration options, limits, quotas, or best practices for any Microsoft technology (Azure, .NET, M365, Windows, Power Platform, etc.)—even if they don't mention "docs." If the question is about understanding a concept rather than writing code, this is the right skill.
compatibility
Primarily uses the Microsoft Learn MCP Server (https://learn.microsoft.com/api/mcp); if that is unavailable, fall back to the mslearn CLI (`npx @microsoft/learn-cli`).
context
fork

Microsoft Docs

Tools

ToolUse For
microsoft_docs_searchFind documentation—concepts, guides, tutorials, configuration
microsoft_docs_fetchGet full page content (when search excerpts aren't enough)

When to Use

  • Understanding concepts — "How does Cosmos DB partitioning work?"
  • Learning a service — "Azure Functions overview", "Container Apps architecture"
  • Finding tutorials — "quickstart", "getting started", "step-by-step"
  • Configuration options — "App Service configuration settings"
  • Limits & quotas — "Azure OpenAI rate limits", "Service Bus quotas"
  • Best practices — "Azure security best practices"

Query Effectiveness

Good queries are specific:

# ❌ Too broad
"Azure Functions"

# ✅ Specific
"Azure Functions Python v2 programming model"
"Cosmos DB partition key design best practices"
"Container Apps scaling rules KEDA"

Include context:

  • Version when relevant (.NET 8, EF Core 8)
  • Task intent (quickstart, tutorial, overview, limits)
  • Platform for multi-platform docs (Linux, Windows)

When to Fetch Full Page

Fetch after search when:

  • Tutorials — need complete step-by-step instructions
  • Configuration guides — need all options listed
  • Deep dives — user wants comprehensive coverage
  • Search excerpt is cut off — full context needed

Why Use This

  • Accuracy — live docs, not training data that may be outdated
  • Completeness — tutorials have all steps, not fragments
  • Authority — official Microsoft documentation

CLI Alternative

If the Learn MCP server is not available, use the mslearn CLI from the command line instead:

sh
# Run directly (no install needed)
npx @microsoft/learn-cli search "azure functions timeout"

# Or install globally, then run
npm install -g @microsoft/learn-cli
mslearn search "azure functions timeout"
MCP ToolCLI Command
microsoft_docs_search(query: "...")mslearn search "..."
microsoft_docs_fetch(url: "...")mslearn fetch "..."

The fetch command also supports --section <heading> to extract a single section and --max-chars <number> to truncate output.

© MicrosoftDocs, CC-BY-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/microsoft-docs of MicrosoftDocs/mcp.

Open the folder on GitHubat commit f8ffde1

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in MicrosoftDocs/mcp, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Microsoft Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Microsoft Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Microsoft Docs this skillMicrosoftDocs/mcp1.9k1 repos~723Automated safety check: PassCC-BY-4.0
Microsoft Docsmicrosoft/ai-agents-for-beginners77k—~1.5kAutomated safety check: PassMIT
Microsoft Docsmicrosoft/ai-agents-for-beginners77k—~1.5kAutomated safety check: PassMIT
Microsoft Docsmicrosoft/ai-agents-for-beginners77k3 repos~1.2kAutomated safety check: PassMIT
Microsoft Docsmicrosoft/ai-agents-for-beginners77k—~1.6kAutomated safety check: PassMIT
Microsoft Docsmicrosoft/ai-agents-for-beginners77k—~1.3kAutomated safety check: PassMIT

Similar skills

  • Microsoft Docs

    microsoft/ai-agents-for-beginners

    Official

    Küsib ametlikku Microsofti dokumentatsiooni, et leida mõisteid, juhendeid ja koodinäiteid Azure'i, .NET-i, Agent Frameworki, Aspire'i, VS Code'i, GitHubi ja muu kohta.

    77k GitHub stars~1.5k tokensUpdated 18 days ago
    Agent WorkflowsAuto-check passed
  • Microsoft Docs

    microsoft/ai-agents-for-beginners

    Official

    Kysy virallista Microsoftin dokumentaatiota löytääksesi käsitteitä, opetusohjelmia ja koodiesimerkkejä Azureen, .NET:iin, Agent Frameworkiin, Aspireen, VS Codeen, GitHubiin ja muihin liittyen.

    77k GitHub stars~1.5k tokensUpdated 18 days ago
    AI & LLM EngineeringAuto-check passed
  • Microsoft Docs

    microsoft/ai-agents-for-beginners

    Official

    Query official Microsoft documentation to find concepts, tutorials, and code examples across Azure, .NET, Agent Framework, Aspire, VS Code, GitHub, and more.

    77k GitHub starsUsed in 3 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Microsoft Docs

    microsoft/ai-agents-for-beginners

    Official

    Interroger la documentation officielle de Microsoft pour trouver des concepts, des tutoriels et des exemples de code couvrant Azure, .NET, Agent Framework, Aspire, VS Code, GitHub, et plus encore.

    77k GitHub stars~1.6k tokensUpdated 18 days ago
    AI & LLM EngineeringAuto-check passed
  • Microsoft Docs

    microsoft/ai-agents-for-beginners

    Official

    שאילתה בתיעוד הרשמי של Microsoft למציאת מושגים, מדריכים ודוגמאות קוד ב-Azure, .NET, Agent Framework, Aspire, VS Code, GitHub ועוד.

    77k GitHub stars~1.3k tokensUpdated 18 days ago
    AI & LLM EngineeringAuto-check passed
  • Microsoft Docs

    microsoft/ai-agents-for-beginners

    Official

    आधिकारिक Microsoft दस्तावेज़ों में क्वेरी करें ताकि Azure, .NET, Agent Framework, Aspire, VS Code, GitHub, और अन्य के बारे में अवधारणाएँ, ट्यूटोरियल और कोड उदाहरण मिल सकें। डिफ़ॉल्ट रूप से Microsoft…

    77k GitHub stars~1.4k tokensUpdated 18 days ago
    AI & LLM EngineeringAuto-check passed

More from MicrosoftDocs/mcp

  • Microsoft Skill Creator

    MicrosoftDocs/mcp

    Official

    Create agent skills for Microsoft technologies using official documentation.

    1.9k GitHub starsUsed in 3 repos~2.1k tokens
    Auto-check passed
  • Microsoft Code Reference

    MicrosoftDocs/mcp

    Official

    Find working code samples, verify API signatures, and fix Microsoft SDK errors using official docs.

    1.9k GitHub starsUsed in 4 repos~1.1k tokens
    Auto-check passed
  • Microsoft Learn CLI

    MicrosoftDocs/mcp

    Official

    Use the Microsoft Learn CLI to retrieve current official Microsoft documentation and code samples when Microsoft Learn MCP tools are unavailable.

    1.9k GitHub stars~852 tokensUpdated 8 days ago
    Auto-check passed

Categories

Questions about Microsoft Docs

What does Microsoft Docs do?

Understand Microsoft technologies by querying official documentation. Microsoft Docs is an agent skill from MicrosoftDocs/mcp, published by the product's own GitHub organization. Understand Microsoft technologies by querying official documentation.

When should I use Microsoft Docs?

Microsoft Docs fits situations like: the user asks how something works; wants tutorials; needs configuration options; best practices for any Microsoft technology (Azure.

How do I install Microsoft Docs in Claude Code?

Run `npx skills add MicrosoftDocs/mcp --skill microsoft-docs -a claude-code`. Or copy the skill folder (skills/microsoft-docs in MicrosoftDocs/mcp) into .claude/skills/microsoft-docs in your project. Claude Code loads it when a task matches its description.

How do I install Microsoft Docs in Codex?

Run `npx skills add MicrosoftDocs/mcp --skill microsoft-docs -a codex`. Or copy the skill folder (skills/microsoft-docs in MicrosoftDocs/mcp) into .agents/skills/microsoft-docs in your project. Codex loads it when a task matches its description.

Can I use Microsoft Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MicrosoftDocs/mcp --skill microsoft-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/microsoft-docs, .gemini/skills/microsoft-docs, .github/skills/microsoft-docs and .opencode/skills/microsoft-docs in your project.

What does Microsoft Docs need to run?

Going by SKILL.md and its folder, Microsoft Docs needs the command-line tools its instructions call (npx and npm). Our summary lists: Python 3; Node.js. Compatibility (from SKILL.md): Primarily uses the Microsoft Learn MCP Server (https://learn.microsoft.com/api/mcp); if that is unavailable, fall back to the mslearn CLI (`npx @microsoft/learn-cli`)..

Does Microsoft Docs access the network?

SKILL.md contains no URLs. Its commands use npx and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Microsoft Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Microsoft Docs use?

Microsoft Docs is published under the CC-BY-4.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Microsoft Docs use?

About 723 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Microsoft Docs?

Skills that share tags, products or a category with Microsoft Docs: Microsoft Docs (microsoft/ai-agents-for-beginners, 77k stars), Microsoft Docs (microsoft/ai-agents-for-beginners, 77k stars), Microsoft Docs (microsoft/ai-agents-for-beginners, 77k stars) and Microsoft Docs (microsoft/ai-agents-for-beginners, 77k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Microsoft Docs?

MicrosoftDocs (a GitHub organization, an official publisher) maintains it in MicrosoftDocs/mcp, which has 1,936 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 29, 2026.

Source: MicrosoftDocs/mcp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.