power-automate-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@power-automate-mcpshow me recent runs of my flows"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 loginRelated MCP server: Azure AI Foundry MCP Server
Build
npm install
npm run build # tsc -> dist/index.jsRegister 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.jsPOWER_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 (usenameas theenvironmentarg)
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 fullpropertiesenable-flow/disable-flow— start / stop a flow's triggersdelete-flow— delete a flow
Triggers / on-demand runs
list-flow-triggers— a flow's triggers (name + type)run-flow— trigger a flow on demand (manualorRecurrence, etc.)
Run history / diagnostics
list-runs— recent runs (status, start/end, error) — a health probeget-run— one run's full recordlist-run-actions— per-action results + inputs/outputs SAS links
Connections
list-connections— connector connections (ids to buildconnectionReferences)
Notes
The flow internal
nameis a GUID (fromlist-flows), not the display name.create-flow/update-flowtake the definition / properties as JSON strings (the Logic Apps workflow JSON is too freeform for a strict schema). A typical edit is:get-flow→ tweakproperties→update-flow.connectionReferencesmust bind to existing connector connections — the API will not mint OAuth connections for you. Connector-less flows (recurrence + HTTP) need none.
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
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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