GitHub Copilot for Power Automate with Flow Studio MCP
Use GitHub Copilot Chat in Visual Studio Code to read, debug, and modify Power Automate cloud flows. Connect via Flow Studio MCP, an open-source-listed MCP server with 5 official Copilot skill bundles via github.com/github/awesome-copilot.
GitHub Copilot Power Automate skills
GitHub Copilot Power Automate skills come from Flow Studio MCP, an independent MCP server listed on github.com/github/awesome-copilot. Install the Power Automate MCP Server VS Code extension, then GitHub Copilot Chat picks up the 30+ Power Automate tools and 5 official Copilot skill bundles automatically.
For the full agent install matrix across Copilot Studio, Codex, and other agents, see Install Flow Studio MCP for Power Automate.
How GitHub Copilot works with Power Automate
GitHub Copilot Chat in VS Code supports the Model Context Protocol. That means Copilot can call any registered MCP server as a tool. Flow Studio MCP is the MCP server for Power Automate: 30+ tools for read, debug, deploy, monitor, and govern Power Automate cloud flows.
You install Flow Studio MCP once, and Copilot Chat picks it up automatically. From that point on, Copilot can answer questions like "Why did my HR Sync flow fail?" by actually inspecting the run history, drilling into the failed action, and returning the specific error and input that caused it. The Microsoft Graph API only returns top-level run status, so Copilot without Flow Studio MCP cannot do this kind of action-level debugging.
Install Flow Studio MCP for GitHub Copilot
Option 1: VS Code Marketplace extension (recommended)
Install the Power Automate MCP Server extension from the VS Code Marketplace. Open VS Code, press Ctrl+Shift+X, search for Flow Studio MCP, click Install.
The extension walks you through adding your API key and stores it securely in your OS keychain (Windows Credential Manager or macOS Keychain). It supports multiple tenant connections and registers the MCP server with Copilot Chat automatically. No JSON config files needed.
Option 2: Manual JSON config
If you want full control over the config, create or open .vscode/mcp.json in your project root and add:
{
"servers": {
"flowstudio": {
"url": "https://mcp.flowstudio.app/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}
Replace YOUR_API_KEY with the API key from your Flow Studio dashboard. Add .vscode/mcp.json to your .gitignore to avoid committing the key. VS Code will show Running with 30+ tools when the connection succeeds.
Official Copilot skill bundles
Flow Studio publishes 5 GitHub Copilot agent skill bundles in the official github/awesome-copilot repository. A skill is an instruction file that teaches Copilot a curated workflow. Without skills, Copilot still has access to all 30+ MCP tools but figures out the steps on its own. With skills installed, it follows a tested recipe.
| Skill | What it teaches Copilot |
|---|---|
power-automate-mcp | Foundation: how to connect, list flows, read run history, trigger flows. |
power-automate-debug | Diagnostic process for finding and fixing flow failures end to end. |
power-automate-build | Constructs valid Workflow Definition Language JSON and deploys flows from natural language. |
power-automate-monitoring | Tenant-wide flow health monitoring, failure-rate analytics, asset inventory. |
power-automate-governance | Tag flows by business impact, detect orphans, audit connectors, manage notification rules. |
Install the skills by cloning github.com/ninihen1/power-automate-mcp-skills into your project's .github/skills/ directory, or via the Flow Studio MCP for Claude Code VS Code extension which writes them to ~/.claude/skills/ for Claude users.
Sample prompts you can copy into GitHub Copilot Chat
- "List my Power Automate flows in the Default environment"
- "Why is my Invoice Approval flow failing? Read the latest run."
- "Build a flow that triggers on new SharePoint list items in my Issues list and posts a card to #issues in Teams"
- "Show me action-level inputs and outputs of the latest HR Sync run"
- "Find all flows owned by users who have left the company" (requires governance skill plus Pro+ tier)
Next steps
- Full Flow Studio MCP setup guide for all agents (GitHub Copilot, Claude, Microsoft Copilot Studio, OpenAI Codex, and others)
- Browse the 5 Copilot skill bundles in detail
- Full Flow Studio MCP tools reference
- Worked example: build a Power Automate flow with an AI agent
- Flow Studio Power Automate MCP listing on github/awesome-copilot
- 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, and Copilot are trademarks of the Microsoft group of companies. GitHub Copilot is a trademark of GitHub, Inc. (a Microsoft subsidiary). The skills listing in github/awesome-copilot is community-curated, not an official Microsoft endorsement.