PO

power automate MCP Server

Published by sapientsai

Inspect, operate, and author Microsoft Power Automate cloud flows from an agent context.

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.2.4
SOURCE CHECKED
Dec 2, 2026

Quick answers

How do I add power automate MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'AZURE_CLIENT_ID=<your-azure-client-id>' --env 'AZURE_TENANT_ID=<your-azure-tenant-id>' --env 'AZURE_CLIENT_SECRET=<your-azure-client-secret>' --transport stdio power-automate -- npx -y power-automate-mcp-server

Replace the <your-…> placeholder with your own AZURE_CLIENT_ID and AZURE_TENANT_ID and AZURE_CLIENT_SECRET.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "power-automate": {
      "command": "npx",
      "args": [
        "-y",
        "power-automate-mcp-server"
      ],
      "env": {
        "AZURE_CLIENT_ID": "<your-azure-client-id>",
        "AZURE_TENANT_ID": "<your-azure-tenant-id>",
        "AZURE_CLIENT_SECRET": "<your-azure-client-secret>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own AZURE_CLIENT_ID and AZURE_TENANT_ID and AZURE_CLIENT_SECRET.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add power-automate --env 'AZURE_CLIENT_ID=<your-azure-client-id>' --env 'AZURE_TENANT_ID=<your-azure-tenant-id>' --env 'AZURE_CLIENT_SECRET=<your-azure-client-secret>' -- npx -y power-automate-mcp-server

Replace the <your-…> placeholder with your own AZURE_CLIENT_ID and AZURE_TENANT_ID and AZURE_CLIENT_SECRET.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "power-automate": {
      "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>",
        "AZURE_CLIENT_SECRET": "<your-azure-client-secret>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own AZURE_CLIENT_ID and AZURE_TENANT_ID and AZURE_CLIENT_SECRET.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "power-automate": {
      "command": "npx",
      "args": [
        "-y",
        "power-automate-mcp-server"
      ],
      "env": {
        "AZURE_CLIENT_ID": "<your-azure-client-id>",
        "AZURE_TENANT_ID": "<your-azure-tenant-id>",
        "AZURE_CLIENT_SECRET": "<your-azure-client-secret>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own AZURE_CLIENT_ID and AZURE_TENANT_ID and AZURE_CLIENT_SECRET.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use power automate MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does power automate MCP Server need an API key?

To run it on your computer, set AZURE_CLIENT_ID, AZURE_TENANT_ID and AZURE_CLIENT_SECRET first, with values from the publisher.

Is power automate MCP Server official?

It's published by sapientsai. The Official MCP Registry accepts names under io.github.sapientsai only from the GitHub account or organisation sapientsai. We last checked its listing on Dec 2, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · power-automate-mcp-server@0.2.4
View source repository