Skip to main content

PnP PowerShell

io.github.pnp/pnp-powershell-mcp-server

v0.1.7-betaUpdated Oct 5, 2026stdio · NuGet

Manage Microsoft 365 in natural language with PnP PowerShell and author PnP PowerShell scripts.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add pnp-powershell-mcp-server -e PNP_MCP_READONLY=false -e PNP_MCP_ALLOW_SETUP=false -- dnx [email protected] --yes

Configuration

2 settings.

  • PNP_MCP_READONLY
    Env var· optional
    Read-only mode: true refuses every command that would change Microsoft 365.Default: false
  • PNP_MCP_ALLOW_SETUP
    Env var· optional
    true lets pnp_setup_environment install the PnP.PowerShell module for the current user when it is missing.Default: false

Listed in the official MCP Registry since Oct 5, 2026. Mirrored daily; last checked Nov 26, 2026.