Power Automate MCP
Enables AI assistants to edit Power Automate cloud flows live, including reading/writing flow definitions, managing connectors, and syncing changes, with no admin rights or app registration required.
README
pa-flow-mcp
Free, open MCP server to edit Power Automate cloud flows live from GitHub Copilot, Codex, or Claude Code — like Power Apps external tools, but for flows. Open a flow in the browser, paste its URL, and your AI assistant reads/writes the flow definition, manages connectors, and syncs changes back.
Why
No official "external tools" exist for Power Automate. This MCP gives any AI assistant authenticated access to the same APIs the Designer uses. Free for everyone.
Features
- Plugin for Copilot & Claude Code: ships skills (
/configure-pa-flow-mcp,/edit-flow,/add-connector-action,/manage-runs,/report-issue) and aflow-buildersubagent — same plugin shape as Microsoft's Power Platform skills. - Auth: interactive browser login (loopback port), Azure CLI public client, token cached. No az CLI, no app registration.
- 1250+ connectors: discover live (
list_connectors) + curated catalog (SharePoint, Dataverse, SQL, Outlook, Excel, Teams). - No connection-reference errors:
add_connector_actionwiresconnectionReferences+parameters.$connectionsautomatically. - Local ↔ flow sync: pull to
.pa-flow/<id>.json, edit, validate, push. - Setup wizard: URL + login + assistant (Copilot / Codex / Claude).
- Clear errors on no access / not found.
Requirements (end user)
- Node.js 18+ (
node -v). - A Power Automate license + access to the flow you want to edit.
- GitHub Copilot CLI/Chat or Claude Code (latest).
- A browser for one-time sign-in. No admin rights, no Azure CLI.
Install
A. As a plugin (recommended)
Clone and build once, then register the local marketplace in your AI tool.
git clone https://github.com/Mr-M-tastic/Power-Automate-MCP && cd pa-flow-mcp
npm install && npm run build
Claude Code — from the repo folder:
/plugin marketplace add .
/plugin install power-automate@pa-flow
The plugin auto-registers the pa-flow MCP server (.mcp.json uses ${CLAUDE_PLUGIN_ROOT}) and loads the skills. Then run /configure-pa-flow-mcp or just say "edit my flow".
GitHub Copilot — copy .vscode/mcp.json into your project (already provided). Reload VS Code; the pa-flow tools and the skills under skills/ are picked up automatically.
B. Manual MCP config
If you don't use the plugin loader, point your assistant at the built server directly:
{ "servers": { "pa-flow": { "command": "node", "args": ["dist/index.js"] } } }
Claude Code / Codex use the mcpServers key and an absolute path to dist/index.js. AGENTS.md / CLAUDE.md are auto-read for usage.
Run it against your flow (step by step)
You don't run commands by hand — you chat with your assistant and it calls the tools.
- Open your flow in Power Automate and copy the URL from the address bar:
https://make.powerautomate.com/environments/<env>/flows/<flowId> - Start a session — tell the assistant: "Configure session for
<paste URL>" → runsconfigure_session. - Pull the flow — "Pull the flow" →
sync_pull. First time a browser opens — sign in with your work account. The token is cached, so login is one-time. A working copy is written to.pa-flow/<flowId>.json. - Edit — either ask in plain English ("add a SharePoint Get items action" →
add_connector_action, which auto-wires the connection) or edit.pa-flow/<flowId>.jsondirectly. - Validate & push — "validate then push" →
validate_flowthensync_push. - Refresh the browser tab — your edits are now live in the Designer.
What gets created on your machine
- Working copy:
.pa-flow/<flowId>.json(safe to hand-edit) - Cached login:
~/.pa-flow-mcp-token.json
Notes
- No Azure CLI, admin rights, or app registration needed.
- If a connector says "create connection in maker portal", make it once in Power Automate, then retry the push.
Optional env vars
PA_CLIENT_ID, PA_PORT, PA_API_BASE, PA_API_VERSION — override defaults if needed.
Skills (slash commands)
| Command | Description |
|---|---|
/configure-pa-flow-mcp |
Connect to a flow from its Designer URL, sign in, pull locally |
/edit-flow |
Pull → edit (action/condition/trigger) → validate → push |
/add-connector-action |
Add a SharePoint/Dataverse/SQL/Outlook/Excel/Teams (or any) connector step |
/manage-runs |
Turn flows on/off, list runs, resubmit, cancel |
/report-issue |
Open a prefilled GitHub issue with diagnostics |
Reference docs the agents read live in references/ (FlowAuthoring.md, Connectors.md); the flow-builder subagent in agents/ applies one approved change at a time.
Tools
configure_session, setup_wizard, list_environments, list_flows, get_flow, update_flow, turn_on/off_flow, list_runs, resubmit_run, cancel_run, list_connectors, list_connections, ensure_connection, add_connector_action, sync_pull, validate_flow, sync_push
Related Microsoft tooling
This plugin follows the conventions of Microsoft's power-platform-skills (canvas-apps, model-apps, power-pages). It focuses on cloud flows; for solution ALM, environments, and Dataverse use the Power Platform CLI (PAC) and the Power Platform Tools VS Code extension.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。