Power Automate MCP Server
by sapientsaiio.github.sapientsai/power-automate-mcp-serverv0.2.4
Inspect, operate, and author Microsoft Power Automate cloud flows from an agent context.
context tax
queued
security
queued
cold start
queued
freshness
Active26d ago
Install Power Automate MCP server
Install in Claude Code
claude mcp add power-automate-sapientsai -e AZURE_CLIENT_ID='<azure-client-id>' -e AZURE_TENANT_ID='<azure-tenant-id>' -e AZURE_CLIENT_SECRET='<azure-client-secret>' -- npx -y power-automate-mcp-serverInstall in Cursor
{
"mcpServers": {
"power-automate-sapientsai": {
"command": "npx",
"args": [
"-y",
"power-automate-mcp-server"
],
"env": {
"AZURE_CLIENT_ID": "<azure-client-id>",
"AZURE_TENANT_ID": "<azure-tenant-id>",
"AZURE_CLIENT_SECRET": "<azure-client-secret>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"power-automate-sapientsai": {
"command": "npx",
"args": [
"-y",
"power-automate-mcp-server"
],
"env": {
"AZURE_CLIENT_ID": "<azure-client-id>",
"AZURE_TENANT_ID": "<azure-tenant-id>",
"AZURE_CLIENT_SECRET": "<azure-client-secret>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"power-automate-sapientsai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"power-automate-mcp-server"
],
"env": {
"AZURE_CLIENT_ID": "<azure-client-id>",
"AZURE_TENANT_ID": "<azure-tenant-id>",
"AZURE_CLIENT_SECRET": "<azure-client-secret>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"power-automate-sapientsai": {
"command": "npx",
"args": [
"-y",
"power-automate-mcp-server"
],
"env": {
"AZURE_CLIENT_ID": "<azure-client-id>",
"AZURE_TENANT_ID": "<azure-tenant-id>",
"AZURE_CLIENT_SECRET": "<azure-client-secret>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| AZURE_CLIENT_ID | yes | — | Application (client) ID of your Entra app registration (multi-tenant public client). |
| AZURE_TENANT_ID | yes | — | Tenant GUID. Required for the Flow audience ('common' fails with AADSTS50059). |
| FLOW_SCOPES | — | — | Comma-separated OAuth scopes (e.g. .../Flows.Read.All,.../Flows.Manage.All). |
| AZURE_AUTH_MODE | — | — | interactive (device-code, default) or clientCredentials (app-only). |
| AZURE_CLIENT_SECRET | — | yes | Client secret — only for clientCredentials mode. |
| ENABLE_WRITE_OPS | — | — | Set to 'true' to enable mutating tools (default read-only). |
| DEFAULT_ENVIRONMENT | — | — | Environment id used when a tool omits 'environment'. |
Freshness
Active — last maintenance signal 26d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-13 · 26d ago · GitHub
Latest release
2026-06-26 · 4mo ago · GitHub · v0.2.4
Package published
no data · npm/PyPI
Registry entry updated
2026-06-26 · 4mo ago · official registry · v0.2.4
FAQ
›How do I install the Power Automate MCP server in Claude Code?
Run: claude mcp add power-automate-sapientsai -e AZURE_CLIENT_ID='<azure-client-id>' -e AZURE_TENANT_ID='<azure-tenant-id>' -e AZURE_CLIENT_SECRET='<azure-client-secret>' -- npx -y power-automate-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Power Automate require an API key?
Yes. It expects AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, of which 1 is a secret.
›Can I use Power Automate as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Power Automate in the official MCP registry?
Yes, as io.github.sapientsai/power-automate-mcp-server.