/powerplatform-mcp-server:setupfrom powerplatform-mcp-server
Guides setup and repair of the Power Automate MCP server, including sign-in, environment listing, and diagnosis of auth/consent errors.
Ships in powerplatform-mcp-server. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Get the server working, or diagnose why it isn't.
sign_in · list_environments
powerplatform-mcp-server --setup in a terminal. If not, that is the fastest path — it creates the app registration, signs them in, and wires their AI client.sign_in. It returns a device code and URL; the user completes sign-in in a browser, then you continue.list_environments. If that returns environments, the server is working.Match the symptom before suggesting a fix:
| Symptom | Cause | Fix |
|---|---|---|
AADSTS65001 / "consent missing" | The app registration lacks a permission, or an admin never consented | An Entra admin must grant consent. Name the specific API from the error — re-running --setup does NOT grant consent |
| Tool is not in the list at all | Its feature is disabled in the permission profile | Re-run --setup and pick a profile that includes it |
403 on Dataverse, desktop flow, or work-queue tools | Missing the Dynamics CRM delegated permission | Add it in Entra and consent |
403 on connection create/test | Missing Power Platform API connectivity scopes | Add Connectivity.Connections.Read/Write and consent |
| Everything fails after months of working | Expired refresh token | powerplatform-mcp-server --login |
Never tell the user to re-run --setup for a consent problem — it cannot fix one.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/build-flowBuild a Power Automate cloud flow from a description. Use when the user wants to create, author, or generate a new cloud flow, or describes an automation they want built./dataverseQuery and modify Dataverse data and solutions. Use for Dataverse or Dynamics 365 tables, rows, records, solutions, or model-driven apps./debug-flowDiagnose and fix a failed flow run. Use when a flow failed, is erroring, stopped working, or the user asks why a run did not do what they expected./desktop-flowsRun and troubleshoot desktop flows (RPA). Use for desktop flows, RPA, UI automation, unattended bots, or machine problems./govern-tenantAdminister environments, DLP policies, and tenant capacity. Use for tenant administration, environment lifecycle, DLP policies, capacity, billing, or governance questions./manage-connectionsCreate, test, and repair Power Platform connections. Use when connections are broken, expired, missing, or when a flow fails with authentication or connection errors.npx claudepluginhub rcb0727/powerplatform-mcp-server --plugin powerplatform-mcp-serverOther plugins' skills for the same job