MCP directory
PP

PnP PowerShell

by github.com/pnp · v0.1.7-beta · updated Oct 5, 2026

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

NuGet

Run it locally

Install the package and point your AI client at it.

NuGet

dnx PnP.PowerShell.MCPServer --yes

Environment variables

  • PNP_MCP_READONLY

    Read-only mode: true refuses every command that would change Microsoft 365.

  • PNP_MCP_ALLOW_SETUP

    true lets pnp_setup_environment install the PnP.PowerShell module for the current user when it is missing.

More from github.com/pnp

More MCP servers