Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Power automate mcp/MCP-BOOTSTRAP
Reference · Power automate mcp

MCP-BOOTSTRAP

Part of Power automate mcp. Install the skill and your agent reads this page when it needs the depth.

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 your FlowStudio key (Authorization: Bearer <key> also works)

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 each bundle's name and one-line description — no tool names. 13 bundles on production as of 2026-11-20 (discover, create-flow, build-flow, flow-versions, debug-flow, monitor-flow, diagnose-connection-references, dataverse, sharepoint, excel, sql, canvas-app, canvas-layout), plus governance for Pro+ callers (not in Microsoft 365 Copilot). 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>"}]}}
Tool error → {"result":{"content":[{"type":"text","text":"Error: <message>"}],"isError":true}}
Protocol   → {"error":{"code":-32602,"message":"<unknown tool name …>"}}

Check result.isError first: a tool error's text is prose (Error: …, Microsoft error: …) or, for an HTTP error from Microsoft, JSON with statusCode and data, sometimes with hint text after it. Otherwise parse result.content[0].text as JSON to get the actual data.

Key Tips

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.