In short.
Microsoft Docs is a plugin for developers who want AI assistants to consult official Microsoft documentation, but its terminal fallback still requires the same hosted service. The captured plugin version 0.3.1 bundles documentation, code-reference and skill-creation instructions. The separate CLI version 1.0.0 adds terminal search, page fetching, code search and diagnostics. The source establishes concrete retrieval features; live reliability, answer accuracy and claims of error-free code remain unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete supplied repository-root plugin scope at revision f0a9478a954c9b3a7c6525a5183466902ca60731, including ecosystem manifests, configuration, all three skills and their supplied template, CLI source and tests, validation files, LICENSE, LICENSE-CODE and ThirdPartyNotices.md. Linked pages and repositories, unselected folders, published npm package bytes and the hosted service implementation are excluded. No installation, command, test, retrieval request or example was executed; runtime compatibility, performance, answer quality and service behavior remain unassessed.
The overview
What it is
Microsoft's microsoft-docs plugin connects AI assistants to the remote Microsoft Learn MCP Server at [https://learn.microsoft.com/api/mcp]. Its repository is [https://github.com/MicrosoftDocs/mcp]. The captured plugin manifests identify version 0.3.1, while the separate @microsoft/learn-cli package identifies version 1.0.0.
The repository supplies integration metadata, agent instructions and a terminal client. The implementation of the hosted documentation service is not included in the supplied files.
Where it fits
This is a useful fit for Microsoft-focused development when an assistant needs published API details, configuration guidance, service limits or implementation examples. It gives the assistant a defined route to Microsoft documentation and supplies instructions for using that route.
The README claims that the resource eliminates hallucinations, produces compiling code and is completely safe. The supplied material does not demonstrate those guarantees. Retrieved documentation can support an answer, but correct interpretation, version matching and working code remain separate requirements.
Who benefits
Beginners can use the documentation skill for explanations, tutorials, configuration options and quotas. Experienced developers can use the code-reference skill for API signatures, package names, SDK migrations and Microsoft-specific errors.
Teams creating specialized agent instructions can use the skill-creator package and its templates for SDKs, Azure services, frameworks and APIs. Repository plugins target Claude Code, GitHub Copilot and Codex; the README also documents direct server connections for clients including VS Code and Cursor.
What it provides
The documented server tools are microsoft_docs_search for semantic documentation search, microsoft_docs_fetch for retrieving a documentation page as Markdown, and microsoft_code_sample_search for official examples with an optional language filter.
The CLI exposes search, fetch and code-search commands. Search commands offer readable output or raw JSON. Fetch can extract a named section or truncate output by character count. The doctor command checks runtime support, endpoint reachability, MCP connection and tool discovery.
The bundled skills describe when to retrieve documentation, when to fetch full API details and how to create Microsoft-specific skills combining local reference material with live lookups. These are instruction packages; their presence does not establish that an assistant will follow them reliably.
Using it
What you need
Direct server access requires an internet connection and an MCP client supporting Streamable HTTP. The endpoint is intended for protocol clients; the README says opening it in a browser can return HTTP 405. Node.js is a requirement of the optional CLI, whose package declares Node.js 22 or later.
The README says the service requires no API key, login or signup. The local Codex marketplace metadata separately sets authentication to ON_INSTALL without explaining its effect. Actual installation behavior associated with that metadata is unknown.
How it works
The plugin supplies a remote server configuration and skills that guide an assistant's retrieval decisions. The assistant can search for relevant pages, fetch fuller context and request code examples. The CLI is another client of the same remote endpoint, so it provides an alternative access method when an agent lacks MCP integration.
The CLI uses the MCP SDK, discovers paginated tool definitions and maps capabilities using expected names or descriptions. It stores endpoint details, session identifiers and tool definitions in an operating-system cache file with a default 24-hour expiry. Cached sessions can support direct tool calls; recognized session or tool errors trigger recovery attempts. This cache does not provide an offline documentation collection.
Getting started
The captured README documents /plugin install microsoftdocs/mcp for GitHub Copilot CLI and /plugin install microsoft-docs@claude-plugins-official for Claude Code, followed by restarting Claude Code. Direct MCP configuration uses the microsoft-learn server name, HTTP transport and [https://learn.microsoft.com/api/mcp]; configuration field names vary by client.
For terminal access, the documented global installation is npm install -g @microsoft/learn-cli. Installing that package alone does not add agent discovery. For example, mslearn setup --cli --codex --project installs the CLI skill in the current repository. The --claude and --copilot targets are also available, and omitting --project selects the user profile. This setup adds a skill without configuring MCP.
Individual repository skills can also be copied into supported agent skill folders after configuring the server. Corresponding CLI discovery removal uses commands such as mslearn remove --cli --codex --project.
A practical example
The README gives npx @microsoft/learn-cli search "azure functions timeout" as a starting example. The search formatter is designed to display result titles, source addresses and excerpts. A user can then fetch a returned Learn page and request its relevant section. No actual search results or Azure timeout values are established here.
For an SDK task, the code-reference skill describes checking that the class or method exists, fetching full signatures when overloads matter, and finding an official sample in the intended language. This is a documented usage pattern; the commands, retrievals and sample code were not executed.
Assessment & evidence
Important limits
Its documented retrieval scope is Microsoft technical content. Coverage completeness, indexing delay, latency and answer accuracy are unknown. The CLI fallback cannot provide independent availability during an outage of the default Learn service.
Queries go to the configured remote endpoint. Service-side retention, data residency and domain enforcement are not established by the captured client source. The CLI also permits an endpoint override, so the destination can differ from Microsoft Learn.
CLI setup overwrites the designated SKILL.md, and removal deletes that file by path without checking its contents. Local edits to that file can therefore be replaced or deleted. Section extraction uses matching Markdown headings, while character truncation can cut a paragraph or code example midway.
Why the details matter
The practical benefit is access to source material for questions that depend on a particular Microsoft product, platform or SDK version. The skills encourage specific queries and fetching complete references when excerpts omit important context. That approach is useful for checking overloads and configuration details, although useful retrieval still depends on selecting the right documentation.
Dynamic discovery and session recovery address changing tool names and expired connections. The captured CLI still supplies fixed argument keys such as query, url and language, and recovery classification uses error-message matching. Those mechanisms do not establish compatibility with arbitrary future schema changes.
Other ways to access the material
For occasional questions, manually reading Microsoft Learn at [https://learn.microsoft.com] is a reasonable alternative. A compatible assistant can also connect directly to the MCP endpoint without installing the repository's skills.
Within this resource, choose the CLI for shell commands and structured output, or install only the documentation or code-reference skill when its narrower instructions fit the work. These options still use the same default service. Comparative quality or performance against third-party documentation tools is not established.
What the source establishes
The source snapshot is available at [https://github.com/MicrosoftDocs/mcp/tree/f0a9478a954c9b3a7c6525a5183466902ca60731]. It includes plugin manifests, endpoint configuration, skill packages, CLI implementation, dependency metadata, unit-test sources, validation scripts and legal notices.
The unit-test sources cover mocked retrieval, formatting, tool mapping, cache behavior and skill installation/removal. The CI configuration specifies builds and tests on Node.js 22 and 24, followed by repository validation. These files describe intended checks; no execution results establish that they passed.
No live MCP responses, end-to-end assistant sessions, benchmarks or security-audit results are supplied. Runtime behavior and the hosted backend remain unassessed.
Access & freshness
Costs and usage limits
The README describes the hosted service as free and requiring no key. It does not specify numeric request quotas, guaranteed throughput or a service-level commitment. Charges associated with the chosen AI client or model are unspecified, so total usage cost is unknown.
An experimental maxTokenBudget endpoint parameter is documented as truncating search responses to a token budget. The CLI's --max-chars option instead truncates fetched content locally after retrieval. Neither establishes a measured reduction in total model charges.
Reuse and licensing
ThirdPartyNotices.md assigns repository documentation and other content to Creative Commons Attribution 4.0 International, and repository code to MIT. The Codex manifest's MIT field should be read alongside that explicit distinction.
Sharing covered content requires the applicable attribution, license and notice obligations, including identifying modifications where required. MIT-covered software requires retaining its copyright and permission notice. The repository notices grant no rights to Microsoft names, logos or trademarks.
These repository licenses do not establish reuse rights for every page or code sample returned by the hosted service. Microsoft Learn terms are linked at [https://learn.microsoft.com/legal/termsofuse], but the linked terms and individual retrieved materials are outside the supplied evidence.
Version and freshness boundaries
The supplied snapshot was captured on 12 November 2026 at revision f0a9478a954c9b3a7c6525a5183466902ca60731. Plugin version 0.3.1 and CLI version 1.0.0 describe that snapshot; they do not identify the live server version.
The endpoint is a live service whose tools and documentation can change independently of the repository revision. The README marks the OpenAI-compatible endpoint and token-budget parameter as experimental. The standalone discovery skill invokes @microsoft/learn-cli@latest, which can resolve to a different package version over time.
How to decide
Choose the repository plugin when you want both MCP access and bundled agent instructions. Choose direct endpoint configuration when you need the retrieval tools alone, or the CLI when terminal access fits your work. Start with a specific question containing the relevant product, version, language and platform, then inspect the referenced documentation before relying on generated code.
Check that your assistant actually invokes the tools: the README notes that models can fail to call them automatically. CLI users can use mslearn doctor for connection and discovery diagnostics, but its checks do not establish useful search results or correct answers. Keep credentials and proprietary source out of queries, as the bundled CLI skill advises.
