PnP PowerShell MCP server
io.github.pnp/pnp-powershell-mcp-server·v0.1.7-beta·8 starsManage Microsoft 365 in natural language with PnP PowerShell and author PnP PowerShell scripts.
8 stars
Reviews
Write oneNobody has reviewed PnP PowerShell yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
PnP PowerShell tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-14 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 9 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
How PnP PowerShell compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 90/100
- higher than 83% of 48,255 servers
- GitHub stars
- 8
- more than 86% of 28,688 servers
Install PnP PowerShell in Claude Code, Cursor or VS Code
The registry entry has no remote endpoint or installable package.
What the publisher says
From the PnP PowerShell repository's README, as published. We do not edit it. Read it on GitHub
PnP PowerShell MCP Server
<!-- mcp-name: io.github.pnp/pnp-powershell-mcp-server -->
💡 Description
This MCP server allows the use of natural language to run PnP PowerShell commands and to author complex PnP PowerShell scripts. It may handle complex prompts that are executed as a chain of PnP PowerShell cmdlets that try to fulfill the user's request, and it can search the community's PnP Script Samples library for ready-to-adapt scripts. This way you can manage many different areas of Microsoft 365 — SharePoint Online, Microsoft Teams, Entra ID, OneDrive, Planner, Power Platform, Microsoft 365 Groups, taxonomy, search, and tenant administration — straight from your MCP client, and use it as a jump-start for writing your own automation scripts.
📦 Prerequisites
- .NET 10 SDK (only required to build/run from source — published tool releases are self-contained)
- PowerShell 7.4 or above (pwsh) installed and available on PATH
- The PnP.PowerShell module installed:
Install-Module -Name PnP.PowerShell -Scope CurrentUser -Force -AllowClobber🚀 Installation & Usage
This MCP server shells out to the locally installed PnP PowerShell module — it does not do any authentication for you. Authenticate first using Connect-PnPOnline (see Best Practices for the recommended auth methods), then the MCP server will reuse the same PnP PowerShell connection context.
- TYPE: Local (stdio)
- INSTALL:
The one-click buttons above register the server under the name pnp-powershell and point it at the pnp-powershell-mcp-server command, so install the tool first (below) — otherwise the client will register a server it cannot start.
Install as a .NET global tool
dotnet tool install --global PnP.PowerShell.MCPServer --prereleaseThis installs a self-contained, native AOT executable named pnp-powershell-mcp-server on your PATH. Supported platforms: Windows (x64, arm64), macOS (arm64, x64) and Linux (x64, arm64, musl x64).
To update an existing install:
dotnet tool update --global PnP.PowerShell.MCPServer --prereleaseShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
PnP PowerShell: common questions
- Is PnP PowerShell MCP server safe?
- Yes, by our scan: it is graded A (90/100). Read the PnP PowerShell safety report
- Does PnP PowerShell need an API key?
- No secret keys are declared. It reads 2 settings from the environment.
- Is PnP PowerShell maintained?
- The last commit was 30 days ago (2026-10-05). The latest release is v0.1.7-beta.
- How does PnP PowerShell compare with other MCP servers?
- safety score 90/100 (higher than 83% of 48,255 servers); github stars 8 (more than 86% of 28,688 servers). Full comparison.