PluginBench
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_ID
    required

    Application (client) ID of your Entra app registration (multi-tenant public client).

  • AZURE_TENANT_ID
    required

    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
    secret

    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'.

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-server

Related MCP servers

Dokploy MCP server: manage apps, Docker Compose, databases, domains, backups, and servers.

View repository →