mcp
Official Microsoft Learn MCP Server and CLI tool – powering LLMs and AI agents with real-time, trusted Microsoft docs & code samples.
3 outside reports on file
mcp is distributed via npm (@microsoft/learn-cli); review its source code, dependencies, and requested permissions before use.
Based on public adoption and transparency signals as of Oct 24, 2026. Our opinion, not a code audit or security guarantee.
What it can access
- Local filesNo local folder access notedLOW
- Command executionRuns shell or system commandsREVIEW
- Network reachConnects to outside service APINOTED
- CredentialsNo API token requiredLOW
- Package sourcenpm (@microsoft/learn-cli)PUBLIC
Inferred from this listing’s public package details and description. Check the project’s source before installing.
Install
npx -y @microsoft/learn-cliAbout MCP
MCP is an agent skill focused on Developer tools and Files & documents: Official Microsoft Learn MCP Server and CLI tool – powering LLMs and AI agents with real-time, trusted Microsoft docs & code samples.
It is published on npm as @microsoft/learn-cli and hosted on GitHub at MicrosoftDocs/mcp (1,953 GitHub stars, 280 weekly npm downloads). Based on its public metadata, it operates with standard local or API scope without broad shell execution flags noted.
Setup
Check these steps against the project’s own instructions before running anything.
Install the npm package @microsoft/learn-cli with post-install scripts disabled:
npm install --ignore-scripts @microsoft/learn-cli
Review the upstream instructions at https://github.com/MicrosoftDocs/mcp (opens external site) before enabling in your agent workspace.
Why this grade
Signal-based grade (4/7 points): well starred on GitHub, listed in several sources, public source code. This reflects adoption and transparency, not a code review.
Popularity and upkeep
- GitHub stars
- 2k
- Weekly npm downloads
- 280
- Listing last refreshed
- 2026-10-29
These are public popularity signals, not a maintenance check. Look at the repository’s commit history and open issues.
Security reports
Reports from our research that name this package. We list them as published and do not rate them.
- CVE-2026-59951: MCP Python SDK unbounded session accumulation in StreamableHTTP transportAgentArmorHQ Incident Library · 2026-10-15
- Researcher demo (General Analysis): a support ticket led an MCP assistant to expose private tablesAgentArmorHQ Incident Library · 2025-07-01
- Researchers show prompt injection via a public GitHub issue can make an agent expose private repo data (Invariant Labs, May 26, 2025)AgentArmorHQ Incident Library · 2025-05-26
Risks to watch for
- Dependency & version pinning: Distributed via npm (@microsoft/learn-cli). Pin an exact release version or commit SHA rather than floating tags so upstream updates are reviewed first.
How to lower the risk
Least-privilege permissions
- Give it access only to the specific folders, accounts or projects it needs, never your whole drive or admin account.
- Use a separate, limited API key or login just for this tool so you can switch it off without affecting anything else.
Network isolation
- Run it on a work computer or sandbox account, not one holding personal or company-sensitive data.
- If your IT team can, limit which websites and services it is allowed to contact.
Monitoring
- Check its activity history or logs weekly at first, and look at what it changed or sent.
- Turn on alerts for new logins or unusual usage on any account it connects to.
Red flags to watch for
- It asks for more access than its job requires, or prompts you to paste passwords.
- It suddenly updates with new owners, or starts contacting unfamiliar websites.
Questions
How do I install MCP?
Install MCP with npm install @microsoft/learn-cli or run it directly with npx -y @microsoft/learn-cli. For agent integration and configuration flags, see the documentation at github.com/MicrosoftDocs/mcp. Pin an exact version and pass --ignore-scripts if you want to block post-install hooks.
Are there security reports about MCP?
3 reports were found for this package in our research. Titles and dates (AgentArmorHQ Incident Library) are listed in the Reports section above. MCP currently holds Grade B (Some risk signals) based on public adoption and transparency signals. Key risk areas to watch include dependency & version pinning:.
Is MCP actively maintained?
MCP has 2k GitHub stars and 280 weekly npm downloads. Our directory data was last refreshed on 2026-10-29. Check recent commit activity, release tags, and open issues at github.com/MicrosoftDocs/mcp before pinning it in production.
What are alternatives to MCP?
Compare MCP side by side with similar skills in the Related tools section on this page, or browse all skills on AgentArmorHQ.
Key facts
- Type
- AI agent skill
- Publisher
- MicrosoftDocs
- Source code
- github.com/MicrosoftDocs/mcp
- Install command
- npm install @microsoft/learn-cli
- Est. context load
- ~58 tokens idle · ~450 tokens when active (on-demand skill)
- Popularity
- 2k GitHub stars, 280 weekly npm downloads
- Last updated
- 2026-10-29
- Last graded
- 2026-10-24
Community
Discussions for MCP
Ask questions or share configuration tips. Governed by our Community Rules & Terms.
No posts match this filter yet.
Be the first to ask a question or share a working tip.
Check before you install, in Claude
Your assistant answers Block, Review or No known issues for any package before it installs it.
Get this check inside Claude