Skip to content

GitHub Copilot for Power Automate with FlowStudio MCP

Connect GitHub Copilot Chat in VS Code to your Power Automate cloud flows so it can read, debug, and modify them. This guide covers the install (VS Code extension or manual JSON) plus the official Copilot skill bundles, and takes about five minutes.

Choosing between agents? See Cowork vs IDE agents vs Copilot Studio for Power Automate.

Video: Power Automate Setup for AI Agents in 60 Seconds (2 min)

Use GitHub Copilot Chat in Visual Studio Code to read, debug, and modify Power Automate cloud flows. Connect via FlowStudio 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 FlowStudio 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 FlowStudio 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. FlowStudio MCP is the MCP server for Power Automate: 30+ tools for read, debug, deploy, monitor, and govern Power Automate cloud flows.

You install FlowStudio 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 FlowStudio MCP cannot do this kind of action-level debugging.

Install FlowStudio 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 FlowStudio 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"
      }
    }
  }
}
Most common mistake: the header name must be x-api-key, all lowercase with the hyphen. x-api-key   X-Api-Key   Authorization: Bearer

Replace YOUR_API_KEY with the API key from your FlowStudio 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

FlowStudio 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-mcpFoundation: how to connect, list flows, read run history, trigger flows.
power-automate-debugDiagnostic process for finding and fixing flow failures end to end.
power-automate-buildConstructs valid Workflow Definition Language JSON and deploys flows from natural language.
power-automate-monitoringTenant-wide flow health monitoring, failure-rate analytics, asset inventory.
power-automate-governanceTag 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 FlowStudio 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

Frequently asked questions

How do I use GitHub Copilot with Power Automate?

Install FlowStudio MCP, an MCP server for Power Automate, and add it to GitHub Copilot Chat in VS Code. The fastest path is the Power Automate MCP Server VS Code extension from the Marketplace: open VS Code, search for FlowStudio MCP in extensions, install, paste your API key. Copilot Chat then has access to 30+ Power Automate tools.

Does GitHub Copilot work with Power Automate natively?

Not natively. GitHub Copilot Chat does support the Model Context Protocol, which means it can call any registered MCP server. FlowStudio MCP is the MCP server for Power Automate. Once registered, Copilot Chat can read flows, debug runs, deploy new flows, and govern flow estates.

Are there official GitHub Copilot skills for Power Automate?

Yes. FlowStudio publishes 5 GitHub Copilot agent skill bundles via the official github/awesome-copilot repository: power-automate-mcp (foundation), power-automate-debug, power-automate-build, power-automate-monitoring, and power-automate-governance. Install via the awesome-copilot listing or via the FlowStudio MCP for Claude Code extension.

What can GitHub Copilot do once connected to Power Automate?

1. Read flow definitions and run history. 2. Inspect action-level inputs and outputs from real runs, including loop iterations and nested child flows, via get_live_flow_run_action_outputs. 3. Deploy new flows from natural language descriptions via the update_live_flow MCP tool. 4. Modify existing flow definitions and redeploy. 5. Find orphaned resources and audit connector usage tenant-wide (Pro+ tier). 6. Apply governance metadata such as business impact tags and notification rules. All from Copilot Chat in VS Code, without opening the Power Automate portal.

Is FlowStudio MCP a Microsoft product?

No. FlowStudio MCP is an independent product made by FlowStudio. It is not affiliated with, endorsed by, or sponsored by Microsoft Corporation or GitHub. The skills are listed in github.com/github/awesome-copilot, which is a community-curated index, not an official Microsoft endorsement.

How much does it cost?

Free evaluation: 100 API calls over 21 days, no credit card required. Paid plans for higher quotas, governance store access, and tenant-wide monitoring are available at mcp.flowstudio.app.

What does FlowStudio MCP show that the Graph API doesn’t?

The Graph and Web APIs tell your agent a run failed. FlowStudio MCP tells it which action failed, the inputs that triggered it, and the exact error, so the agent can fix it.

FlowStudio 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.