Power Automate MCP Server by FlowStudio
v1.1.040+ tools to debug, build and monitor Power Automate flows and Power Apps canvas apps (Preview)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tool_search Search tools
Find a tool listed here instead of guessing its name, and get its definition. Query forms: (1) "skill:<name>" — a whole bundle; call list_skills for the names; (2) "select:name1,name2" — exact tools; (3) free text like "cancel run" — ranked against name and description. Non-billable.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query. Forms: "select:name1,name2", "skill:<name>", or free-text keywords. |
max_results | integer | Max tools to return for keyword queries (default 5). Ignored for select: and skill: queries. |
list_skills List skill bundles
Skill bundles: groups of the tools listed here that are used together for one task (diagnose-connection-references, build-flow, debug-flow, monitor-flow, discover, governance). Returns each bundle's name and one-line description. Use it when unsure which tools fit a request; tool_search "skill:<name>" returns the bundle's full guidance and definitions. Non-billable.
report_bug Report a bug
Report a Flow Studio MCP bug or missing capability, append text evidence, or check your reports. Free and available even after quota is reached. Do not include passwords, access tokens, secrets, or full flow definitions unless necessary.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
category | string | |
chunk | integer | Optional. Omit to append the next chunk automatically. |
contact_email | string | |
content | string | Text attachment body. Max 64 KB per call. |
content_base64 | string | Binary attachment body, base64-encoded. Max 256 KB decoded per call. Use for images/PDF; pass text through `content` instead. Do not send both. |
content_type | string | Media type of the attachment. text/plain (default), text/csv, text/markdown, application/json, application/har+json, application/xml, image/png, image/jpeg, image/gif, image/webp, application/pdf. |
details | string | |
environment_name | string | |
file_name | string | |
final_chunk | boolean | |
flow_name | string | |
include_diagnostics | boolean | |
notify | boolean | |
severity | string | |
summary | string | |
ticket | string | |
tool_name | string |
who_am_i Show connection details
Which user, workspace, plan and Flow Studio MCP server this connection is, which tool groups are on (and why one is off), what agents may do in each environment (agentAccess: off, read or read-write, and who set it), and this month's calls used against the limit. Call it first when you hold more than one Flow Studio MCP connection, or when a call is refused for access or quota. Free, and available after the quota is reached.
get_task Get task
Get the status and result of a long-running tool call. When a tool replies with a taskId and status "working", the work is still running on the server: do not call that tool again. Wait pollIntervalMs, then call this with the taskId until status is completed or failed. Free.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The taskId from the tool's reply. |
get_live_flow_runs List flow runs
Fetch run history for a flow directly from Power Automate. Returns { runs, runCount, triggerChecks }: each run has name, status, startTime, endTime, trigger name/code, and any top-level error. IMPORTANT — no runs does NOT mean the flow is healthy. A trigger that fires and evaluates to nothing, or fails to evaluate, records a TRIGGER CHECK and never becomes a run. When there are no runs (or when includeTriggerChecks is set) this tool also reports the trigger check history, so "nothing ran" can be told apart from "the trigger has been failing". Read triggerChecks.byStatus before concluding a f…
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | Name (ID) of the flow. |
includeTriggerChecks | boolean | Also report trigger check history when runs DO exist. Checks are always reported when there are no runs. Costs two extra API calls. |
startedAfter | string | ISO date-time. Only runs and checks that started at or after it. |
startedBefore | string | ISO date-time. Only runs and checks that started before it. |
status | string | Only runs with this status, e.g. Failed. |
top | number | Max runs to return. Paginates automatically. Default 30. |
triggerCheckStatus | string | Only trigger checks with this status; reads the checks. |
get_live_flow_run_error Get run error
Fetch error details for a specific flow run from the live Power Automate API. Lists every failed action with its error code and message to help diagnose what went wrong.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | Name (ID) of the flow. |
runName * | string | Run identifier (name field from get_live_flow_runs), or "latest" for the most recent run. |
top | number | Max actions to return. Paginates automatically. Omit for all. |
get_live_flow_run_action_outputs Get run action inputs and outputs
Read the recorded inputs and outputs of actions in one flow run. Without actionName: the top-level actions (optionally filtered by name). With actionName: every pass of that action through its loops (Apply to each, Do until), each with repetitionName, status, error, and resolved inputs/outputs. ONE PASS: repetitionName, as the list shows it ("000003-000001": one part per loop, outermost first). MANY PASSES: view "index" (names, status, sizes) or "links" (download links, no payload) keep replies small; top and skip page through any view. TRIGGER PAYLOADS: set trigger=true with a runName to get…
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | Name (ID) of the flow. |
actionName | string | Action name. Without repetitionName: every pass of this action through its loops. With repetitionName: that pass. Omit entirely for the top-level action list. |
checkId | string | Trigger check id (checkId from get_live_flow_runs -> triggerChecks). Returns that check's inputs/outputs, including the failure reason. Not a run id — the two are different, which is why a check id… |
iterationIndex | number | Zero-based pass of an action in ONE loop: 4 is read as repetitionName "000004". As soon as loops nest, use repetitionName, e.g. "1-2". |
repetitionName | string | One pass of actionName, as the list shows it: one zero-padded part per loop, outermost first, e.g. "000004" (one loop) or "000003-000001" (pass 1 of the inner loop in pass 3 of the outer). A string at… |
runName | string | Run identifier (name field from get_live_flow_runs), or "latest" for the most recent run. Required unless checkId is given. |
skip | number | Passes (or actions) to skip before top, for the next page: pass next.skip from the previous reply. |
top | number | Max actions or passes to return. Omit for all. The reply carries next: { skip } while more remain. |
trigger | boolean | Return the RUN's trigger inputs/outputs instead of its actions. Requires runName. |
view | string | Omit for inputs and outputs in full. "index": per pass (or action) its name, status, error and payload sizes, nothing downloaded; pick passes from it. "links": the inputs/outputs download links with s… |
trigger_live_flow Run flow
Run a flow on demand — the same as the maker portal's "Run flow" button. Works with Request triggers (HTTP request, manual Button, PowerApps) and with scheduled RECURRENCE flows, which run immediately; a scheduled flow takes no inputs, so passing `body` to one is refused. Pass trigger inputs as `body`. Automated connector triggers only fire from their source event.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | Name (ID) of the flow. |
body | object | JSON body to POST to the trigger URL. Omit for flows that expect an empty body. |
connections | object | Only for a flow whose connections are provided by whoever runs it. Map of connection-reference name to the connection id to run it with, e.g. {"shared_office365users":"shared-office365user-…"}. Omit… |
cancel_live_flow_run Cancel run
Cancel a currently running Power Automate flow run via the live PA API. Use after get_live_flow_runs to obtain the run name. Only runs with status "Running" can be cancelled.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | Name (ID) of the flow. |
runName * | string | Run identifier (name field from get_live_flow_runs). |
resubmit_live_flow_run Resubmit run
Resubmit failed or cancelled runs of one flow, re-using each run's original trigger payload. One run (runName) or up to 20 (runNames), sent 4 at a time. A run already resubmitted is skipped unless allowRepeat; a 429 stops the batch and the reply names the runs not sent. A child flow's run is resubmitted with a warning naming its parent run. Each run gets its own result line.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | Name (ID) of the flow. |
allowRepeat | boolean | Resubmit a run even when it was resubmitted before. Default false: such runs are skipped and named. |
runName | string | One run: its name from get_live_flow_runs, or "latest" for the most recent run. Give this or runNames. |
runNames | array | Up to 20 run names from get_live_flow_runs, all of this flow. Give this or runName. |
set_live_flow_state Turn flow on or off
Start or stop the flow you name. Reads the current state first and only calls Power Automate if a change is actually needed.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | Name (ID) of the flow. |
state * | string | Desired state for the flow. |
get_live_flow Get flow definition
Fetch the full native Power Automate flow JSON from the PA API, including the complete flow definition (triggers, actions, parameters, outputs). Returns the raw properties object exactly as the PA API returns it. Use this to inspect the full definition before calling update_live_flow with a modified definition.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | Name (ID) of the flow. |
actions | array | Return only these actions, found at any nesting depth and each reported with the scopes it sits in, plus triggers. Combine with depth:"summary" to get the tree as well. |
depth | string | full (default): the whole definition. summary: the action tree — name, type, operation, runAfter, nesting — with no inputs. Use summary on a large flow, then ask for the actions you need. |
includeTriggerUrl | boolean | Also return the HTTP trigger URL. It is a credential: anyone holding it can run the flow. |
version | string | An earlier version to read instead of the current flow: a version from get_live_flow_versions, or a date. |
get_live_flow_versions List flow versions
List a flow's versions, newest first. A flow in a solution lists every published version. Any other flow lists only versions that ran.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | Name (ID) of the flow. |
top | number | Max versions to return. Default 30. |
diff_live_flow Compare flow versions
Compare two versions of a flow. Returns the actions added, removed and changed.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | Name (ID) of the flow. |
from * | string | The earlier version: a version from get_live_flow_versions, or a date. |
to | string | The later version, in the same form. Default: the current flow. |
update_live_flow Create or update flow
Update or create a flow. Use `dryRun: true` to preview any change without writing. Omit flowName to create: definition and displayName are required. Give flowName to update: displayName and/or definition and/or connectionReferences. SURGICAL EDIT: pass `operations` — an ordered list of set/add/remove/merge ops on array-of-keys paths — to change one action or parameter without resending the whole definition. Provide EITHER operations OR definition; connectionReferences may accompany either and lands in the same save. WHOLE definition: call get_live_flow, mutate properties.definition, pass i…
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
connectionReferences | object | Connection references map copied from get_live_flow. Direct-flow entries use { connectionName, id }. Solution-aware entries also include { connectionReferenceLogicalName, source } and must retain thos… |
definition | object | Full flow definition as a JSON object (triggers + actions + parameters + outputs + description). MUST be a JSON object — strings are rejected. Do not JSON.stringify the definition; pass the parsed o… |
discardDraft | boolean | If an unpublished draft blocks the save, discard it and save again. The draft stays in the flow's version history. |
displayName | string | Display name for the flow. Required when creating. |
dryRun | boolean | Preview only, on BOTH paths: with flowName, apply the change to the live definition and return the result + what changed; without flowName, return the flow that WOULD be created. Nothing is written ei… |
expectedLastModifiedTime | string | With a whole definition: refuse if the flow changed since you read it. Pass get_live_flow's lastModifiedTime. |
flowName | string | Name (ID) of the flow to update. Omit or leave blank to create a new flow. |
operations | array | SURGICAL EDIT of an existing flow (requires flowName; do not combine with definition). An ordered list applied to the LIVE definition. Each item = { op, path, value? }. path is an ARRAY of literal key… |
list_live_environments List environments
List all Power Platform environments you belong to, directly from Power Automate. Returns id, displayName, sku, location, and state for each environment. mode=all (default) and mode=member: every environment you are a member of. mode=admin: only those you administer; errors rather than guessing if admin access cannot be determined. isAdmin means you hold the ListAnyFlow permission there — the capability list_live_flows mode=admin needs. It is null, never false, when the platform did not tell us. isMember is true for every environment returned.
| Parameter | Type | Description |
|---|---|---|
mode | string | all (default) and member: every environment you belong to. admin: only those where you hold ListAnyFlow; errors rather than returning a shorter list if admin access cannot be determined. |
top | number | Max environments to return. Paginates automatically. Omit for all. |
list_live_flows List flows
List Power Automate flows in an environment. Returns id, displayName, state, triggerType, and lastModifiedTime for each flow. mode=owner (default): flows you own plus flows shared with you (personal + team), with full definitions. mode=admin: all flows in the environment (requires an admin account). mode=admin with includeDeleted=true also returns soft-deleted flows (state=Deleted) — the only way to find a deleted flow. If search is provided, results are filtered to flows whose displayName contains the search text. For large environments pagination is time-bounded — if nextLink is returned…
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
continuationUrl | string | nextLink value returned by a previous call. Pass to resume pagination from where the last call stopped. Must match the same mode as the original call. |
includeDeleted | boolean | Include soft-deleted flows, which come back with state=Deleted and can be restored with restore_live_flow. Requires mode=admin — the user-scoped listing never returns deleted flows. Off by default. |
mode | string | owner (default): user-scoped — owned + shared-with-me flows (personal + team), with full definitions. admin: admin-scoped endpoint, all flows. |
search | string | Optional case-insensitive filter applied to flow displayName. |
timeoutSeconds | number | Stop collecting pages after this many seconds and return a nextLink for the next batch. Default 25. Max 55. |
top | number | Max flows to return. Paginates automatically. Omit for all. |
list_live_connections List connections
List Power Platform connections in an environment directly from Power Automate. Returns id, displayName, connectorName, environment, createdBy (full object), authenticatedUser, statuses, overallStatus, createdTime, expirationTime, and connectionParameters for each connection. Pass search=<term> to narrow the list and receive a paste-ready connectionReferenceTemplate plus action-side hostTemplate per connection — drop these into update_live_flow's connectionReferences and inputs.host without further edits.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Required. Name of the Power Platform environment (a GUID, or a name like "Default-<tid>"). Call list_live_environments if you do not have one — the platform cannot list connections across environmen… |
search | string | Optional case-insensitive substring filter applied to id, displayName, connectorName, and accountName. Adds connectionReferenceTemplate + hostTemplate to each returned connection. |
top | number | Max connections to RETURN, applied after search. Paginates automatically. Omit for all. |
describe_live_connector Describe connector
Describe a live Power Platform connector/API and its operations. Use depth=summary (default) to get a compact operation catalog. Use operationId to describe one operation, including inputs, outputs, dynamic parameter metadata, nextTool hints to call resolve_live_parameters, and an authored hint + canonical example shape (when one exists) to copy into update_live_flow. Use search without connectorName/apiName to search operations across connectors and get connection-aware suggestions. Use depth=full only when raw OpenAPI connector metadata is required.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
apiName | string | Alias for connectorName. |
connectorName | string | Connector logical name, for example shared_teams. Either connectorName/apiName is required, unless search is provided for cross-connector operation search. |
depth | string | summary (default): compact operation catalog. full: raw OpenAPI metadata. |
operationId | string | Optional operation ID to describe with expanded inputs and outputs. |
search | string | Optional operation search text. With connectorName, filters that connector summary. Without connectorName, searches operations across connectors. |
top | number | Max operations to return in connector summary mode, or max top search results to show in cross-connector search. Default 250 for summary, 10 for search display. |
type | string | Operation usage to include in summary mode. Default Action. |
variant | string | When an operation has multiple authored variants (e.g. shared_teams/PostMessageToConversation has channel/groupchat/flowbot_chat), pass a specific variantKey to get that variant's hint and exampleDefi… |
add_to_solution Add to solution
Add a flow or a canvas app to a solution. Pass flowName or app. A flow not yet in a solution moves into `solution`, or into the default solution when it is omitted. A flow or app already in a solution is added to `solution` as well, and stays in the one it is in.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
app | string | The canvas app (ID). Not with flowName. |
flowName | string | The flow (ID). Not with app. |
solution | string | The solution: its unique name, or its solutionid GUID. Required for an app, and for a flow already in a solution. |
resolve_live_parameters Resolve action inputs
Resolve a connector action's inputs the way the flow designer does: dropdown options, list and table columns, folder and file pickers — every input in one call, or one with parameterName. Reads only: it runs the lookups the designer runs, never an action. Pass values you have in parameters; pass a display name in match to get back the value to write into the flow. An input whose parent is not known yet has status "needs". Inputs inside an object are addressed by key (body/recipient/groupId). Omit connectionName and one is chosen.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
actionName | string | Action (or trigger) name in flowName. |
apiName | string | Alias for connectorName. |
browse | object | Open a folder: { "field": "<input>", "id": "<folder value>" }. |
connectionName | string | Connection to run as. Omit to have one chosen. |
connectorName | string | Connector name, e.g. shared_sharepointonline. |
detail | string | Column detail. Default compact. |
flowName | string | With actionName: take the connector, operation and connection from this flow action. |
include | array | Add "outputs" to get the fields this action returns. |
match | object | Exact display name, or the value itself, per input, e.g. { "folderPath": "Inbox" }. Case-insensitive, never fuzzy. Folders also take /path. matchCount 0 answers status "nomatch". |
operationId | string | Operation ID, e.g. PostItem. Not needed with flowName + actionName. |
parameterName | string | Resolve only this input. Omit for every input. |
parameters | object | Values already chosen, e.g. { "dataset": "<site url>" }. |
search | string | Narrow long option or column lists by name (a filter, not a pick). |
skip | number | Options to skip, to page through a truncated list (use nextSkip). |
top | number | Max options per dropdown (default 200). A longer list is marked truncated. |
test_live_connection Test connection
Test a connection, or run one operation on it. Without operationId it runs the connector's own connection test. With operationId it runs that operation and returns the raw reply: a GET operation, or a lookup the connector itself declares for a dropdown, list, schema or folder picker. Anything else is refused before a call is made. connectionName comes from list_live_connections; operation ids from describe_live_connector.
| Parameter | Type | Description |
|---|---|---|
connectionName * | string | The connection, from list_live_connections. |
connectorName * | string | Connector name, e.g. shared_sharepointonline. |
environmentName * | string | Name of the Power Platform environment. |
continuationUrl | string | The nextLink from the previous reply, to fetch the next page. |
operationId | string | Omit to run the connector's own connection test. |
parameters | object | The operation's inputs by name (path, query, header or body). |
create_live_connection Create connection
Create a connection, or sign an existing one in again (pass connectionName). Shows a sign-in card where the person signs in; you never sign in for them. Without the card, give the person signInLink to open. Connectors that use a key or account details instead of a sign-in are refused: create those in Power Automate.
| Parameter | Type | Description |
|---|---|---|
connectorName * | string | Connector name, e.g. shared_sharepointonline. |
environmentName * | string | Name of the Power Platform environment. |
connectionName | string | An existing connection to sign in again, instead of creating one. |
read_live_table Read table rows
Read rows from a Dataverse table, SharePoint list, SQL table or Excel table. Read-only. Returns rows, columns and nextLink.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment. |
table * | string | Dataverse: the set name, e.g. accounts. SharePoint: the list title or id. SQL or Excel: the table. |
connection | string | The connection name, when you have more than one. |
connector | string | Omit for Dataverse. |
continuationUrl | string | The nextLink from the previous reply, for the next page. |
dataset | string | Where the table lives. SharePoint: the site URL. SQL: server,database. Excel: drive,file. |
filter | string | An OData filter. |
select | string | Comma-separated columns. |
skip | number | SQL and Excel: rows to skip, for the next page. |
top | number | Rows, 1 to 100. Default 20. |
grant_flow_studio_access Grant Flow Studio access
Shows a sign-in card; the person signs in, or signs in again when expired. Flow Studio keeps the sign-in for later calls.
delete_live_flow Delete flow
Delete a Power Automate cloud flow. DESTRUCTIVE and not discoverable afterwards. Requires confirmDisplayName (the flow's exact displayName, from get_live_flow) and a reason, which is recorded in the audit log. A deleted flow CAN be restored with restore_live_flow using the flowName returned here. If the id is lost, only an environment admin can recover it — list_live_flows mode=admin includeDeleted=true is the only listing that returns deleted flows. If you only want the flow to stop running, use set_live_flow_state with state=Stopped instead. Works only while the user has Delete Lock off; o…
| Parameter | Type | Description |
|---|---|---|
confirmDisplayName * | string | The flow's exact displayName, as returned by get_live_flow. Must match, or the call is refused and nothing is deleted. |
environmentName * | string | Name of the Power Platform environment. |
flowName * | string | The flow id to delete. |
reason * | string | Short note on why this flow is being deleted. Recorded in the audit log. |
restore_live_flow Restore deleted flow
Restore a deleted Power Automate cloud flow, using its flow id. Take the id from the delete_live_flow response, your own notes, or — with an admin account — list_live_flows with mode=admin and includeDeleted=true, the only listing that returns deleted flows (they come back with state=Deleted). The user-scoped listing never shows them. Restore can complete asynchronously — confirm with get_live_flow. The restore window is limited and its length is not documented, so restore promptly.
| Parameter | Type | Description |
|---|---|---|
environmentName * | string | Name of the Power Platform environment the flow was deleted from. |
flowName * | string | The id of the deleted flow. Cannot be looked up — nothing lists deleted flows. |