Power Automate in Your IDE with Flow Studio MCP
Power Automate has always meant the browser portal. You click into the designer, drag actions one at a time, and switch tabs to check a run. If you write code for a living, you had to leave your editor to do it.
That's changing. Flow Studio MCP connects VS Code to your Power Automate tenant, so an AI agent in your editor reads your flows, builds new ones, fixes broken ones, and deploys them. You stay in the IDE you already use. No browser portal.
Start free 100 calls, 21 days, no credit card.
Video: AI agent debugs Power Automate in VS Code (3 min)
Power Automate in your IDE
Flow Studio MCP gives GitHub Copilot or Claude in VS Code the tools to read, build, debug, and deploy your flows. No designer, no tab-switching.
For the full agent install matrix across Claude, GitHub Copilot, Copilot Studio, and Codex, see Install Flow Studio MCP for Power Automate.
Why work on Power Automate in VS Code
You stop tab-switching. Your code, your terminal, and your flows live in one window, instead of an editor plus a browser you keep alt-tabbing to.
Your AI agent comes with you. GitHub Copilot and Claude already run in VS Code. Give them Flow Studio MCP and they work on Power Automate the way they work on your code: read it, change it, ship it. You review the result, you don't drive the designer by hand.
How to set up Power Automate in VS Code
Before you start: a Power Platform account with at least one environment, and an editor running GitHub Copilot or Claude.
- Get a Flow Studio MCP API key at mcp.flowstudio.app. Free to start: 100 calls over 21 days, no credit card. One call is one tool action, like reading run history or updating a flow. A single build can use several.
- Install the Power Automate MCP extension from the VS Code Marketplace. Cursor, VSCodium, and Windsurf: install from Open VSX.
- Run the Add Tenant Connection command and paste your API key. Reload the window.
- Ask your agent: "List my Power Automate flows." That's it. All 30+ Flow Studio MCP tools work from the editor.
What you can do from the IDE
| You say | What the agent does |
|---|---|
| "List my flows" | ✓ Reads your environments and flows without the portal. |
| "Why did this flow fail?" | ✓ Reads the run, drills into the failed action, returns the real error and inputs. |
| "Build a flow that..." | ✓ Constructs the flow JSON, reuses connections you've authorized, deploys it. New connectors need a one-time sign-in. |
| "Edit the flow definition and redeploy" | ✓ Changes the Workflow Definition Language JSON and redeploys. |
Power Automate as code
A Power Automate flow is Workflow Definition Language JSON under the designer, the JSON Microsoft uses to define a flow. Flow Studio MCP hands that definition to your agent, so you can work with the flow as code from your editor. You don't hand-edit the JSON yourself. You describe the change in plain English, and the agent rewrites the definition and deploys it for you to review.
Which editors and agents work
Flow Studio MCP works with Copilot, Claude, and any MCP-compatible agent, in any editor that runs one, through a single API key. It's listed on GitHub's awesome-copilot.
- GitHub Copilot in VS Code
- Claude (Claude Code in VS Code, and Claude Desktop)
- Cursor, VSCodium, and Windsurf, via Open VSX
- OpenAI Codex from the CLI, no editor required
Frequently asked questions
Can you use Power Automate in VS Code?
Yes. Install Flow Studio MCP, then connect VS Code through the GitHub Copilot or Claude Code extension. Your agent reads, builds, debugs, and deploys Power Automate flows from the editor, without opening the browser portal.
Can you edit a Power Automate flow as code?
Yes. A flow is Workflow Definition Language JSON. Flow Studio MCP exposes that to your agent, so you can change the flow as code from your editor. You describe the change, and the agent rewrites the definition and deploys it for you to review.
Which editors work with Flow Studio MCP?
VS Code, plus Cursor, VSCodium, and Windsurf via Open VSX. Any editor that runs GitHub Copilot, Claude Code, or another MCP-compatible agent. Codex works from the CLI. One API key works across all of them.
Is Flow Studio MCP free?
Yes, in two ways. The personal evaluation gives you 100 calls over 21 days, no credit card. Our Microsoft 365 Copilot Cowork plugin runs on the free Tenant Starter plan, which renews every month with no time limit. Paid plans add more calls and Pro features. Get a key at mcp.flowstudio.app.
You already live in your editor. Now Power Automate can too. Install the extension, point your agent at your tenant, and build your next flow without opening a browser tab.
Next steps
- Vibe code Power Automate flows with AI agents
- Worked example: build a Power Automate flow with an AI agent
- Install Flow Studio MCP for any agent (Claude, GitHub Copilot, Copilot Studio, Codex)
- Start your free evaluation: 100 calls, 21 days, no credit card
Flow Studio is an independent product and is not affiliated with, endorsed by, or sponsored by Microsoft Corporation, GitHub, or Anthropic. Microsoft, Power Automate, Power Platform, Visual Studio Code, and Copilot are trademarks of the Microsoft group of companies. Claude is a trademark of Anthropic.