
Power Automate Mcp Server
Brings Microsoft Power Automate cloud flows into your agent workflow through the same unofficial API the Power Automate portal uses. You can list flows across environments, inspect definitions and connection references, debug run history with error details, and check permissions. Write operations (create, update, delete flows, manage owners, cancel runs) are gated behind an explicit environment flag. Ships with device code auth out of the box, requires you to register your own Azure app with Flow Service delegated permissions. Built for management and debugging rather than replacing the visual designer, though programmatic authoring is possible. Targets M365 entitlements without needing Premium licenses, sees personal flows that Dataverse APIs miss.
- GitHub stars
- 2
- tools
- 18
- auth
- Secret needed
- transport
- STDIO
- env vars
- 7
- last updated
- Jun 26, 2026
Tools
18 toolsPublic tool metadata for what this MCP can expose to an agent.
list_environmentsLists the Power Automate environments available to the signed-in user.
Lists the Power Automate environments available to the signed-in user.
No parameter schema in public metadata yet.
list_flowsLists flows in an environment, optionally filtered by owner.
Lists flows in an environment, optionally filtered by owner.
No parameter schema in public metadata yet.
get_flowReturns the full flow, including its definition, connection references, and trigger/action names.
Returns the full flow, including its definition, connection references, and trigger/action names.
No parameter schema in public metadata yet.
list_flow_runsLists run history for a flow, optionally filtered by status.
Lists run history for a flow, optionally filtered by status.
No parameter schema in public metadata yet.
get_flow_runReturns run detail with the first failure and raw properties for debugging.
Returns run detail with the first failure and raw properties for debugging.
No parameter schema in public metadata yet.
list_connectionsLists connections in an environment.
Lists connections in an environment.
No parameter schema in public metadata yet.
list_flow_ownersLists the owners and roles of a flow.
Lists the owners and roles of a flow.
No parameter schema in public metadata yet.
create_flowCreates a new flow from a workflow definition (write operation, requires ENABLE_WRITE_OPS=true).
Creates a new flow from a workflow definition (write operation, requires ENABLE_WRITE_OPS=true).
No parameter schema in public metadata yet.
update_flowUpdates a flow's display name, definition, state, or connection references (write operation, requires ENABLE_WRITE_OPS=true).
Updates a flow's display name, definition, state, or connection references (write operation, requires ENABLE_WRITE_OPS=true).
No parameter schema in public metadata yet.
delete_flowDeletes a flow; requires confirm set to true (write operation, requires ENABLE_WRITE_OPS=true).
Deletes a flow; requires confirm set to true (write operation, requires ENABLE_WRITE_OPS=true).
No parameter schema in public metadata yet.
enable_flowEnables a flow (write operation, requires ENABLE_WRITE_OPS=true).
Enables a flow (write operation, requires ENABLE_WRITE_OPS=true).
No parameter schema in public metadata yet.
disable_flowDisables a flow (write operation, requires ENABLE_WRITE_OPS=true).
Disables a flow (write operation, requires ENABLE_WRITE_OPS=true).
No parameter schema in public metadata yet.
cancel_flow_runCancels a running flow run (write operation, requires ENABLE_WRITE_OPS=true).
Cancels a running flow run (write operation, requires ENABLE_WRITE_OPS=true).
No parameter schema in public metadata yet.
resubmit_flow_runResubmits a flow run using a trigger (write operation, requires ENABLE_WRITE_OPS=true).
Resubmits a flow run using a trigger (write operation, requires ENABLE_WRITE_OPS=true).
No parameter schema in public metadata yet.
add_flow_ownerAdds an owner with CanEdit or CanView role to a flow (write operation, requires ENABLE_WRITE_OPS=true).
Adds an owner with CanEdit or CanView role to a flow (write operation, requires ENABLE_WRITE_OPS=true).
No parameter schema in public metadata yet.
remove_flow_ownerRemoves an owner from a flow (write operation, requires ENABLE_WRITE_OPS=true).
Removes an owner from a flow (write operation, requires ENABLE_WRITE_OPS=true).
No parameter schema in public metadata yet.
infoReturns server name, version, git SHA, and capability counts.
Returns server name, version, git SHA, and capability counts.
No parameter schema in public metadata yet.
report_feedbackFiles API-drift or bug reports as GitHub issues.
Files API-drift or bug reports as GitHub issues.
No parameter schema in public metadata yet.
Sponsors
Configuration
AZURE_CLIENT_ID*Application (client) ID of your Entra app registration (multi-tenant public client).
AZURE_TENANT_ID*Tenant GUID. Required for the Flow audience ('common' fails with AADSTS50059).
FLOW_SCOPESComma-separated OAuth scopes (e.g. .../Flows.Read.All,.../Flows.Manage.All).
AZURE_AUTH_MODEinteractive (device-code, default) or clientCredentials (app-only).
AZURE_CLIENT_SECRETsecretClient secret — only for clientCredentials mode.
ENABLE_WRITE_OPSSet to 'true' to enable mutating tools (default read-only).
DEFAULT_ENVIRONMENTEnvironment id used when a tool omits 'environment'.
Readme
power-automate-mcp-server
An MCP server that lets agents inspect, operate, and author Microsoft Power Automate cloud flows from a CLI/agent context — list and inspect flows, debug runs, check connections and owners, and (when explicitly enabled) enable/disable flows, cancel/resubmit runs, manage owners, and create/update/delete flows.
Details
- Repository
- github.com/sapientsai/power-automate-mcp-server
- Categories
- AI & LLM Tools, Automation & Workflows
- Package
power-automate-mcp-server- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active