Power Platform MCP Server
285 tools for Microsoft Power Platform, authenticated by the Azure CLI: no app registration or server-owned token cache. Build, run, diagnose, and govern Power Automate flows, Dataverse, SharePoint, Power Apps, Power Pages, RPA, Copilot Studio agents, and tenant administration in natural language. Access remains subject to the Azure CLI client's permissions and your tenant roles.
Works with any MCP-compatible AI client: Claude Desktop, Claude Code, VS Code Copilot, Cursor, Google Gemini CLI, and more.
npm install -g powerplatform-mcp-server # 1. install
powerplatform-mcp-server --setup # 2. sign in + connect your AI app
powerplatform-mcp-server --doctor # 3. confirm everything works
Preview hook inspection, validation and guarded draft edits use the existing component tools. See the Copilot hooks guide.
Quick Start
The three commands at the top of this page are the whole install. The --setup wizard does it all: checks the Azure CLI (running az login if needed), picks your environment, and wires the server into your AI app for you — no hand-editing JSON. It ends by verifying the whole chain (config, Azure CLI session, live API) before declaring success. Then restart your app and ask it to build a flow.
Signed out later (expired token, MFA policy change)? powerplatform-mcp-server --login re-authenticates without re-running the wizard — or just ask your AI assistant to run the sign_in tool and finish the sign-in from chat, no terminal needed.
Not very technical? Follow the step-by-step Easy Path with checkpoints.
| Want to… | Do this |
|---|
| Connect a specific app during setup | powerplatform-mcp-server --setup --client claude |
| Connect an app later (or a second one) | powerplatform-mcp-server --client cursor |
| Skip the global install | npx -y powerplatform-mcp-server@latest --setup (add --npx so your app uses npx too) |
| Configure your app by hand | Manual client configs |
Supported apps: Claude Desktop, Claude Code, Cursor, VS Code (Copilot), Gemini CLI, Windsurf, ChatGPT (via --http).
Authentication (Azure CLI)
This server authenticates entirely through the Azure CLI — there is no Microsoft Entra app registration, no admin consent URL, and no token cache owned by this server. Tokens come from az account get-access-token, riding the CLI's own signed-in session.
What you need
| Requirement | How |
|---|
| Azure CLI installed | macOS: brew install azure-cli · Windows: winget install Microsoft.AzureCLI · Linux: aka.ms/azure-cli |
| A signed-in session | az login (the setup wizard runs it for you if needed) |
If a tool reports missing credentials, run powerplatform-mcp-server --login or ask your AI assistant to run sign_in, which offers device code or browser sign-in.
Choose how to sign in
Both sign-in methods work on Windows, macOS and Linux. Setup and --login offer a choice in an interactive terminal; these commands select a route directly:
powerplatform-mcp-server --login --auth-method browser
powerplatform-mcp-server --login --auth-method device-code