Skip to content

Flow Studio MCP Tools for Power Automate

Overview

Flow Studio MCP, the MCP server for Power Automate, provides 30+ tools organized into two tiers. Live tools are available to all MCP subscribers and call the Power Automate API directly, data is always current. Store tools are available to Teams subscribers and read from the Flow Studio data store, the same Azure Storage backend that powers Flow Studio for Teams monitoring, enriched with governance metadata and run statistics.

A small number of tools are tagged DEPRECATED, they still work but are scheduled for removal. Prefer the active alternatives.

Your agent can discover all available tools automatically by calling tools/list at the start of a session. This returns the authoritative schema for every tool, parameter names, types, and required flags.

Live Tools, All Plans

These tools call the Power Automate API directly. Data is always real-time.

Environment and Connection Discovery
ToolWhat it does
list_live_environmentsList all Power Platform environments visible to your account. Returns environment IDs, display names, regions, and SKUs. Use the id value as environmentName in all other tools.
list_live_connectionsList all connections in an environment. Returns connection IDs, connector names, status, and creator info. Use the id value as connectionName in connection references.
Connector Discovery

Use these when building or modifying a flow, they tell the agent what operations a connector exposes and how to fill dynamic dropdown parameters (Team IDs, SharePoint site IDs, etc.).

ToolWhat it does
describe_live_connectorDescribe a connector and its operations. Use mode=summary (default) for a compact operation catalog, or pass an operationId to get expanded inputs, outputs, and dynamic-parameter metadata. Mode=full returns the raw OpenAPI metadata.
get_live_dynamic_optionsResolve dynamic dropdown values for a connector operation parameter. Works with x-ms-dynamic-list and x-ms-dynamic-values metadata returned by describe_live_connector, for example Teams team/channel IDs, SharePoint site/list IDs, or other connector-specific selectable values.
Flow Management
ToolWhat it does
list_live_flowsList flows in an environment. Returns flow IDs, display names, state, trigger type, and timestamps. The response includes a flows array, access via result["flows"].
get_live_flowFetch the complete flow definition, triggers, actions, parameters, and connection references. This is the full JSON you would see in the Power Automate code view.
update_live_flowCreate a new flow or update an existing flow definition. Pass the full definition and connection references. Omit flowName to create; include it to update.
set_live_flow_stateStart or stop a flow. Use this instead of update_live_flow for state changes.
add_live_flow_to_solutionMigrate a non-solution flow into a solution for ALM.
Run Inspection and Debugging
ToolWhat it does
get_live_flow_runsList recent run history with status, timestamps, trigger name, and error summary. Returns newest first. Default: 30 runs; supports higher values with auto-pagination.
get_live_flow_run_errorGet structured error details for a failed run. Returns per-action failure breakdown with error codes and messages. The last entry in failedActions is typically the root cause.
get_live_flow_run_action_outputsInspect the inputs and outputs of any action in a run. Omit actionName to get all actions; provide it to get one. Supports loop iteration inspection.
Run Execution
ToolWhat it does
trigger_live_flowPOST to an HTTP-triggered flow’s callback URL. Only works for Request (HTTP) triggers. AAD authentication is handled automatically.
resubmit_live_flow_runRe-run a failed or cancelled run using its original trigger payload.
cancel_live_flow_runCancel a currently running flow execution. Do not cancel runs waiting for an adaptive card response, that status is normal.
HTTP Trigger Tools (Deprecated)

Both tools below are scheduled for removal, they still work but new code should not depend on them.

ToolWhat it does
DEPRECATEDget_live_flow_http_schemaInspect the JSON body schema and response schemas of an HTTP-triggered flow. Returns the expected request body, headers, and defined response schemas.
DEPRECATEDget_live_flow_trigger_urlGet the signed callback URL for an HTTP-triggered flow.

Note: Flow Studio MCP does not include a delete flow tool. Deleting flows must be done through the Power Automate portal. This is intentional, delete operations are irreversible and should require manual confirmation.

Store Tools, Teams Plans

These tools read from the Flow Studio data store, the same Azure Storage backend used by Flow Studio for Teams. This includes governance metadata, run statistics, maker information, and flow run history retained beyond Microsoft’s 28-day limit.

Flow Governance
ToolWhat it does
list_store_flowsSearch flows with governance flags, run failure rates, and owner metadata.
get_store_flowFull details for a single flow including run stats, governance fields, complexity, and connector list.
get_store_flow_summaryAggregated run statistics: total runs, fail rate, average/max duration, and remediation hints.
get_store_flow_runsRun history for the last N days with duration and remediation hints.
DEPRECATEDget_store_flow_errorsFailed-only runs with failed action names and remediation hints.
DEPRECATEDget_store_flow_trigger_urlTrigger URL from the data store (instant, no PA API call needed).
update_store_flowUpdate governance metadata: description, tags, monitor flag, notification rules, business impact.
DEPRECATEDset_store_flow_stateStart/stop a flow via the PA API and sync the result back to the data store. Use set_live_flow_state instead.
Tenant Discovery
ToolWhat it does
list_store_environmentsList all environments from the data store.
list_store_makersList all makers (citizen developers) with their flow/app counts.
get_store_makerGet a specific maker’s flow and app counts and account status.
list_store_power_appsList all Power Apps canvas apps from the data store.
list_store_connectionsList all Power Platform connections from the data store.
Which tool should I use?

When in doubt, use live tools, they work for all subscription tiers and return real-time data.

TaskRecommended toolWhy
List my flowslist_live_flowsAlways current from the PA API
Read a flow definitionget_live_flowAlways fetched live from the PA API
Debug a failureget_live_flow_runsget_live_flow_run_errorLive run data with per-action errors
Check overall flow healthget_store_flow_summaryAggregated stats over time (Teams)
Find who owns a flowlist_store_flowsOwner metadata from data store (Teams)
Start or stop a flowset_live_flow_stateDirect API call, not update_live_flow
Tool discovery

Your agent can discover all available tools automatically at the start of each session by calling tools/list. This returns the complete schema for every tool, parameter names, types, and required flags. The tools/list call is free and does not count against your plan limits.

If any documentation on this page differs from what tools/list returns, trust tools/list, it is always the authoritative source.

API usage and limits

Each tool call (except tools/list) counts as one MCP call against your plan. If you hit your plan limit, tool calls return MCP error -32000: Plan limit reached. Check your usage on your dashboard.

Related guides

Flow Studio is an independent product and is not affiliated with, endorsed by, or sponsored by Microsoft Corporation. Microsoft, Power Automate, Power Platform, and Copilot are trademarks of the Microsoft group of companies.