PnP PowerShell

Level CLocal

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

⭐ 9OtherC#Repo ↗Updated 2026-10-15

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "pnp-powershell-mcp-server": {
      "command": "npx",
      "args": [
        "PnP.PowerShell.MCPServer"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/pnp/pnp-powershell-mcp-server

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "pnp-powershell-mcp-server": {
      "command": "npx",
      "args": [
        "PnP.PowerShell.MCPServer"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers