All skills
github avatar

/flowstudio-power-automate-mcp

@0ccadfd official
by githubgithub/awesome-copilot40k stars
5,040

Foundation skill for Power Automate via FlowStudio MCP — auth setup, the reusable MCP helper (Python + Node.js), tool discovery via `list_skills` / `tool_search`, and oversized-response handling. Load this skill first when connecting an agent to Power Automate. For specialized workflows, load `flowstudio-power-automate-build`, `flowstudio-power-automate-debug`, `flowstudio-power-automate-monitoring` (Pro+), or `flowstudio-power-automate-governance` (Pro+) — each contains the workflow narrative, this skill provides the plumbing they all rely on. Requires a FlowStudio MCP subscription or compatible server — see https://mcp.flowstudio.app

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/flowstudio-power-automate-mcp

This session only. Nothing lands on disk.

referencesMCP-BOOTSTRAP.md

≈604 tokens on demand. Your agent reads this file only when SKILL.md points to it.

MCP Bootstrap — Quick Reference

Everything an agent needs to start calling the FlowStudio MCP server.

Endpoint:  https://mcp.flowstudio.app/mcp
Protocol:  JSON-RPC 2.0 over HTTP POST
Transport: Streamable HTTP — single POST per request, no SSE, no WebSocket
Auth:      x-api-key header with JWT token (NOT Bearer)

Required Headers

Content-Type: application/json
x-api-key: <token>
User-Agent: FlowStudio-MCP/1.0    ← required, or Cloudflare blocks you

Step 1 — Discover Tool Bundles

Preferred cold-start call:

POST {"jsonrpc":"2.0","id":1,"method":"tools/call",
      "params":{"name":"list_skills","arguments":{}}}

Returns the current bundles (build-flow, create-flow, debug-flow, monitor-flow, discover, governance) and their member tool names. Free — not counted against plan limits.

Then load the relevant schemas:

POST {"jsonrpc":"2.0","id":2,"method":"tools/call",
      "params":{"name":"tool_search","arguments":{"query":"skill:create-flow"}}}

Use query:"select:tool1,tool2" to load exact tools and keyword search such as query:"send email" when the user intent is ambiguous.

Fallback for very low-level MCP clients:

POST {"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}

tools/list returns all tools with names, descriptions, and input schemas, but it is heavier and should not be the first choice for agents that know the FlowStudio meta-tools.

Step 2 — Call a Tool

POST {"jsonrpc":"2.0","id":1,"method":"tools/call",
      "params":{"name":"<tool_name>","arguments":{...}}}

Response Shape

Success → {"result":{"content":[{"type":"text","text":"<JSON string>"}]}}
Error   → {"result":{"content":[{"type":"text","text":"{\"error\":{...}}"}]}}

Always parse result.content[0].text as JSON to get the actual data.

Key Tips

  • Tool results are JSON strings inside the text field — double-parse needed
  • "error" field in parsed body: null = success, object = failure
  • environmentName is required for most tools, but not for: list_live_environments, list_live_connections, list_store_flows, list_store_environments, list_store_makers, get_store_maker, list_store_power_apps, list_store_connections
  • When in doubt, check the required array in each tool's schema from tool_search (or tools/list as a fallback)

Source: SKILL.md on GitHub

2 warnings16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides a foundation for connecting an AI agent to the FlowStudio MCP server for Power Automate management. It includes reusable helper functions and instructions for handling large data payloads. The low-risk rating is due to the inherent nature of third-party data ingestion and communication with a service outside the core trusted infrastructure.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    4/5 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 0ccadfd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 20 hours ago.

Activeupdated 4 weeks ago

README badge

README badge for github/awesome-copilot/flowstudio-power-automate-mcp

Provides authentication setup, JSON-RPC request/response handling, and tool discovery for Power Automate via FlowStudio MCP server. Load this skill first when connecting an agent to Power Automate; specialized workflow skills (build, debug, monitoring, governance) depend on it.

Generated from the current SKILL.md.

Do I need a FlowStudio subscription to use this skill?
Yes. This skill requires a FlowStudio MCP subscription or compatible Power Automate MCP server, along with an MCP endpoint, API key, and Power Platform environment name.
What should I load first when connecting an agent to Power Automate?
Load this foundation skill first. It provides auth setup, the MCP helper, and tool discovery. Then load one of the specialized skills (build, debug, monitoring, or governance) based on what the user is trying to accomplish.
Does this skill work with Python and Node.js?
Yes. The skill includes recommended helpers for both Python (using urllib.request) and Node.js 18+ (using built-in fetch). PowerShell is not recommended for flow operations due to JSON truncation issues.
How do I discover which tools are available?
Call `list_skills` for available bundles, then use `tool_search` with `query: "skill:<name>"` to load the full schema set for a specific bundle, or use free-text search for ambiguous requests.
What do I do if a tool response is too large for the context window?
The harness saves oversized responses to a file and returns the path. Parse the file by reading it as JSON, then parsing the escaped payload inside it; always extract only the fields you need and pass `actionName` to `get_live_flow_run_action_outputs` to limit results.

Generated from the current SKILL.md. These answers refresh after source changes.