MCP Server
io.github.sapientsai/power-automate-mcp-server MCP Server
io.github.sapientsai/power-automate-mcp-server
What is the io.github.sapientsai/power-automate-mcp-server MCP server?
Inspect, operate, and author Microsoft Power Automate cloud flows from an agent context.
How to install io.github.sapientsai/power-automate-mcp-server
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
AZURE_CLIENT_IDrequiredApplication (client) ID of your Entra app registration (multi-tenant public client).
AZURE_TENANT_IDrequiredTenant GUID. Required for the Flow audience ('common' fails with AADSTS50059).
FLOW_SCOPESComma-separated OAuth scopes (e.g. .../Flows.Read.All,.../Flows.Manage.All).
AZURE_AUTH_MODEinteractive (device-code, default) or clientCredentials (app-only).
AZURE_CLIENT_SECRETsecretClient secret — only for clientCredentials mode.
ENABLE_WRITE_OPSSet to 'true' to enable mutating tools (default read-only).
DEFAULT_ENVIRONMENTEnvironment id used when a tool omits 'environment'.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"power-automate-mcp-server": {
"command": "npx",
"args": [
"-y",
"power-automate-mcp-server"
],
"env": {
"AZURE_CLIENT_ID": "<YOUR_AZURE_CLIENT_ID>",
"AZURE_TENANT_ID": "<YOUR_AZURE_TENANT_ID>",
"FLOW_SCOPES": "<YOUR_FLOW_SCOPES>",
"AZURE_AUTH_MODE": "<YOUR_AZURE_AUTH_MODE>",
"AZURE_CLIENT_SECRET": "<YOUR_AZURE_CLIENT_SECRET>",
"ENABLE_WRITE_OPS": "<YOUR_ENABLE_WRITE_OPS>",
"DEFAULT_ENVIRONMENT": "<YOUR_DEFAULT_ENVIRONMENT>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"power-automate-mcp-server": {
"command": "npx",
"args": [
"-y",
"power-automate-mcp-server"
],
"env": {
"AZURE_CLIENT_ID": "<YOUR_AZURE_CLIENT_ID>",
"AZURE_TENANT_ID": "<YOUR_AZURE_TENANT_ID>",
"FLOW_SCOPES": "<YOUR_FLOW_SCOPES>",
"AZURE_AUTH_MODE": "<YOUR_AZURE_AUTH_MODE>",
"AZURE_CLIENT_SECRET": "<YOUR_AZURE_CLIENT_SECRET>",
"ENABLE_WRITE_OPS": "<YOUR_ENABLE_WRITE_OPS>",
"DEFAULT_ENVIRONMENT": "<YOUR_DEFAULT_ENVIRONMENT>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"power-automate-mcp-server": {
"command": "npx",
"args": [
"-y",
"power-automate-mcp-server"
],
"env": {
"AZURE_CLIENT_ID": "<YOUR_AZURE_CLIENT_ID>",
"AZURE_TENANT_ID": "<YOUR_AZURE_TENANT_ID>",
"FLOW_SCOPES": "<YOUR_FLOW_SCOPES>",
"AZURE_AUTH_MODE": "<YOUR_AZURE_AUTH_MODE>",
"AZURE_CLIENT_SECRET": "<YOUR_AZURE_CLIENT_SECRET>",
"ENABLE_WRITE_OPS": "<YOUR_ENABLE_WRITE_OPS>",
"DEFAULT_ENVIRONMENT": "<YOUR_DEFAULT_ENVIRONMENT>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"power-automate-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"power-automate-mcp-server"
],
"env": {
"AZURE_CLIENT_ID": "<YOUR_AZURE_CLIENT_ID>",
"AZURE_TENANT_ID": "<YOUR_AZURE_TENANT_ID>",
"FLOW_SCOPES": "<YOUR_FLOW_SCOPES>",
"AZURE_AUTH_MODE": "<YOUR_AZURE_AUTH_MODE>",
"AZURE_CLIENT_SECRET": "<YOUR_AZURE_CLIENT_SECRET>",
"ENABLE_WRITE_OPS": "<YOUR_ENABLE_WRITE_OPS>",
"DEFAULT_ENVIRONMENT": "<YOUR_DEFAULT_ENVIRONMENT>"
}
}
}
}Claude Code
claude mcp add power-automate-mcp-server --env AZURE_CLIENT_ID=<YOUR_AZURE_CLIENT_ID> --env AZURE_TENANT_ID=<YOUR_AZURE_TENANT_ID> --env FLOW_SCOPES=<YOUR_FLOW_SCOPES> --env AZURE_AUTH_MODE=<YOUR_AZURE_AUTH_MODE> --env AZURE_CLIENT_SECRET=<YOUR_AZURE_CLIENT_SECRET> --env ENABLE_WRITE_OPS=<YOUR_ENABLE_WRITE_OPS> --env DEFAULT_ENVIRONMENT=<YOUR_DEFAULT_ENVIRONMENT> -- npx -y power-automate-mcp-serverRelated MCP servers
Dokploy MCP server: manage apps, Docker Compose, databases, domains, backups, and servers.
View repository →