Power Automate MCP
Use this skill when the user wants AI help with Microsoft Power Automate flows through the local MCP server and Chromium extension from this repository.
The extension is a passive capture and status surface. Do not ask the user to click extension buttons to make normal MCP work proceed. The AI should operate through MCP tools.
Provider notes live in references/providers.md.
Operating Rules
- Start with
doctororget_context. - Use
connect_flowwhen the target is not already explicit. - Prefer browser-captured flows, explicit
flowId, or a narrownameQuery; ifconnect_flowreturns candidates, choose byflowIdor ask the user which flow is intended. - Call
get_flowbefore edits. - Call
preview_flow_updatebefore saving. - Call
validate_flowbefore and after save when available. - Call
apply_flow_updateonly for the smallest intended change. - Call
get_last_updateafter save and summarize the review diff. - Use
revert_last_updateif the saved result is wrong. - Prefer test or staging flows before production flows.
Recommended Workflows
Inspection
doctorget_contextconnect_flowif neededget_flowlist_runsorget_latest_runif run history mattersget_run_actionswhen a run needs action-level triage
Solution Work
Use solution write tools only for unmanaged solutions and only when adding cloud flows is the intended change.
doctorget_context- Confirm
canManageSolutions.availableis true, or follow its reason before retrying. list_solutionslist_solution_componentswhen a specific solution needs component inventory.list_environment_variableswhen environment variable definitions or current values matter.add_flow_to_solutionfor an existing flow, orcreate_flow_in_solutionwhen a new blank flow should be created and added.
Safe Edit
doctorconnect_flowget_flow- Build the smallest candidate flow change.
preview_flow_updatevalidate_flowapply_flow_updateget_last_updatevalidate_flowagain when available
Manual Trigger Test
Use only when the trigger is manual/request based and the payload is safe.
get_flowget_trigger_callback_urlinvoke_triggerwait_for_runget_runget_run_actions
Public v1 Tools
get_contextdoctorconnect_flowlist_flowslist_solutionslist_solution_componentslist_environment_variablesadd_flow_to_solutionget_flowpreview_flow_updatevalidate_flowapply_flow_updateget_last_updaterevert_last_updatelist_runsget_latest_runget_runget_run_actionswait_for_runget_trigger_callback_urlinvoke_triggercreate_flowcreate_flow_in_solutionclone_flow
Error Guidance
LEGACY_TOKEN_MISSING: deeper flow-service operations need a compatible browser token. Focus or reopen a real flow page so the extension can capture it automatically.AUTHENTICATION_FAILED: the captured token was rejected for that endpoint. Reopen or focus the flow page and retry after capture.BAP_TOKEN_MISSING: solution inspection needs a Power Platform/BAP token. Open make.powerapps.com or make.powerautomate.com in the target environment with the extension enabled.DATAVERSE_TOKEN_MISSING: solution inspection needs a token for the Dataverse org. Open the Dataverse org or a model-driven app in that environment with the extension enabled.SCHEMA_VALIDATION_FAILED: fix the candidate flow JSON. If details include a rejected member such asretryPolicy, remove or relocate that field intentionally.CONNECTION_AUTHORIZATION_FAILED: stop retrying saves. The user must fix the named connector or connection permissions in Power Automate.FLOW_NOT_FOUND: calllist_flowsandconnect_flow; browser-captured flows may still be usable even when the live catalog is stale.- Bridge port already in use: stop the existing bridge process or restart this MCP with a different
POWER_AUTOMATE_BRIDGE_PORT. Do not assume an unknown local process is safe to reuse.
Good Prompts
- "Inspect the connected flow and explain what it does."
- "Connect to the flow whose name contains invoices, then validate it."
- "Preview the smallest change needed, validate it, save it, and show me the review diff."
- "Run a safe test payload through this request-triggered flow and tell me which action failed."
Production Warning
This MCP can perform real edits. Keep production work supervised, review diffs after save, and use staging flows whenever possible.
Solution writes are limited to add_flow_to_solution and create_flow_in_solution for unmanaged solutions. Do not invent or simulate unsupported write operations such as creating solutions, setting environment variable values, publishing customizations, deleting solution components, or deleting flows.