Skip to main content
Glama
andrewcharlwood

power-automate-mcp

power-automate-mcp

An MCP server for Microsoft Power Automate (cloud flows), driven entirely by the Azure CLI (az rest). It is the Power Automate sibling of microsoft-planner-mcp and uses the same azRest pattern.

Why az rest?

The Azure CLI can mint tokens for both because you authorize as yourself acting on your own flows. Every call goes through az rest, which is CAE (conditional-access aware), so the only prerequisite is a logged-in Azure CLI:

az login

Related MCP server: Azure AI Foundry MCP Server

Build

npm install
npm run build      # tsc -> dist/index.js

Register with Claude Code

Either add a project-scoped .mcp.json:

{
  "mcpServers": {
    "power-automate": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/power-automate-mcp/dist/index.js"],
      "env": { "POWER_AUTOMATE_ENV": "<your-default-environment-id>" }
    }
  }
}

…or globally with the CLI:

claude mcp add power-automate -s user -- node /path/to/power-automate-mcp/dist/index.js

POWER_AUTOMATE_ENV is optional: set it to a default environment id so the flow tools can be called without repeating it. Discover ids with list-environments.

Tools

Environments

  • list-environments — all environments you can access (use name as the environment arg)

Flows

  • list-flows — flows in an environment (name, display name, state)

  • get-flow — full flow record (definition + connectionReferences)

  • get-flow-definition — just the workflow definition (triggers + actions)

  • create-flow — create a flow from a definition (+ optional connectionReferences)

  • update-flow — PATCH a flow's full properties

  • enable-flow / disable-flow — start / stop a flow's triggers

  • delete-flow — delete a flow

Triggers / on-demand runs

  • list-flow-triggers — a flow's triggers (name + type)

  • run-flow — trigger a flow on demand (manual or Recurrence, etc.)

Run history / diagnostics

  • list-runs — recent runs (status, start/end, error) — a health probe

  • get-run — one run's full record

  • list-run-actions — per-action results + inputs/outputs SAS links

Connections

  • list-connections — connector connections (ids to build connectionReferences)

Notes

  • The flow internal name is a GUID (from list-flows), not the display name.

  • create-flow / update-flow take the definition / properties as JSON strings (the Logic Apps workflow JSON is too freeform for a strict schema). A typical edit is: get-flow → tweak propertiesupdate-flow.

  • connectionReferences must bind to existing connector connections — the API will not mint OAuth connections for you. Connector-less flows (recurrence + HTTP) need none.

Install Server
A
license - permissive license
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andrewcharlwood/power-automate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server