
Principal Program Manager at Microsoft Power CAT Team | Power Platform Content Creator
The YouTube video by Reza Dorrani titled NEW Power Automate Flow Agent MCP Server | Full Tutorial walks viewers through a hands-on test of a new open-source plugin for Power Automate. First, Dorrani demonstrates how the plugin integrates with AI agents to build, edit, run, and debug cloud flows using plain English prompts. Then, he highlights practical scenarios including building flows from scratch, optimizing existing flows, and troubleshooting failed runs to show how the tool behaves in real environments.
Throughout the video, Dorrani emphasizes that the plugin operates alongside the standard Power Automate designer rather than replacing it, so users retain final control over what is published. Moreover, he points out built-in safety measures like creating flows in an inactive state and running validation checks before saving. Consequently, the tutorial aims to show both everyday convenience and the guardrails the authors built into the system.
Dorrani runs the Power Automate plugin from a marketplace and then asks an AI agent to build a complete flow from a plain-English description, showing how the agent converts intent into a working workflow. He next edits and optimizes an existing flow, demonstrating how the AI can refine logic and improve performance, which saves time on repetitive assembly tasks. Later in the video, he builds a more complex flow to import large datasets into a SharePoint list using batch APIs, illustrating how the agent handles multi-step, data-heavy operations.
In addition to construction and optimization, Dorrani steps through debugging a failed flow run and uses the agent to inspect action-level inputs and outputs to trace the root cause. He also demonstrates documenting flows and managing multiple flows in bulk, which helps teams maintain consistent records and deploy governance practices. As a result, viewers get a practical sense of the plugin’s end-to-end capabilities.
The core of the system is a Model Context Protocol (MCP) server that exposes tools enabling AI agents to interact with Power Automate programmatically. In simple terms, the agent discovers available connections, constructs valid workflow definitions, and invokes deployment tools to update or create flows in the target environment. To use the plugin, Dorrani shows steps like installing the extension in a development environment, obtaining an API key, and granting the server access to the tenant so the AI can call platform APIs securely.
Practically speaking, the flow build process follows three main steps: discovery of connectors and resources, construction of a Workflow Definition JSON, and deployment through an update tool that publishes the flow. Dorrani stresses that authentication and permission setup are essential because the agent needs explicit access to live connections and tenant resources. Therefore, while setup is straightforward for experienced administrators, it still requires careful configuration to maintain security.
The tutorial makes clear that the major benefit of the approach is automation of repetitive or tedious tasks, which accelerates flow creation and reduces manual errors. Moreover, converting natural language into a valid flow allows non-experts to prototype solutions faster, while developers can focus on higher-value work. At the same time, the video notes tradeoffs: relying on AI for structure generation can introduce subtle mistakes if prompts are vague, and teams must balance speed with rigorous testing and review before publishing to production.
Additionally, the plugin can increase operational scale by enabling agents to manage many flows, but that scalability requires stronger governance. For instance, granting broad API access simplifies automation but raises potential risks around unintended or excessive changes, so organizations must weigh convenience against tighter controls. Thus, governance policies and role-based permissions become important complements to any AI-driven workflow automation.
Dorrani discusses several challenges that organizations must manage when using an AI-driven MCP server, including ambiguity in natural language requests and the need for robust validation of generated Workflow Definition JSON. Even though the plugin offers validation before saving flows, edge cases and connector-specific constraints can still cause runtime failures that require human intervention. Therefore, teams should plan for a feedback loop that combines automated generation with manual review and testing.
Finally, the video highlights governance and auditing needs: enterprise environments benefit from tenant-wide monitoring, audit logs, and enforced compliance checks to reduce risk. While the new tool can streamline development and debugging, Dorrani concludes that best results come when teams pair agent-driven automation with clear policies, regular reviews, and staged deployments. Consequently, organizations that embrace the technology should also strengthen controls and training to make the most of its advantages while managing its risks.
power automate flow agent tutorial, mcp server setup for power automate, install flow agent mcp server, power automate agent installation guide, configure mcp server for flows, power automate on-premises flow agent, full tutorial power automate flow agent, troubleshoot power automate mcp server