SP

synergy2test/powerautomate-mcp-docs

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

0 stars 7 forks 品質 66 トレンド 0MIT

An MCP (Model Context Protocol) server that connects Claude to Microsoft Power Automate. Create, manage, and deploy Power Automate flows using natural language.

概要

An MCP (Model Context Protocol) server that connects Claude to Microsoft Power Automate. Create, manage, and deploy Power Automate flows using natural language. - - Build flows from natural language descriptions with guided wizard - - Automatic testing with intelligent error diagnosis - - Pre-flight checks with best practices scoring (0-100) - - List, update, clone, and delete flows - - Interactive Power Automate expression reference - - Full knowledge of 400+ connectors and schemas - - Works on Windows, macOS, and Linux - Node.js 20+ - Microsoft 365 work account with Power Automate access - Azure AD app registration (see below) - : libsecret for secure token storage This interactive wizard will: 1. Sign you in via browser 2. Discover your Power Automate environments 3. Create the configuration file : ~/Library/Application Support/Claude/claude_desktop_config.json : %APPDATA%\Claude\claude_desktop_config.json : ~/.config/Claude/claude_desktop_config.json Restart Claude.

README

以下は原文 README の抜粋です。原文を見る。

Power Automate MCP Server

An MCP (Model Context Protocol) server that connects Claude to Microsoft Power Automate. Create, manage, and deploy Power Automate flows using natural language.

Features

  • Create Flows - Build flows from natural language descriptions with guided wizard
  • Test & Debug - Automatic testing with intelligent error diagnosis
  • Validate - Pre-flight checks with best practices scoring (0-100)
  • Manage Flows - List, update, clone, and delete flows
  • Expression Help - Interactive Power Automate expression reference
  • Connector Intelligence - Full knowledge of 400+ connectors and schemas
  • Cross-Platform - Works on Windows, macOS, and Linux

Installation

Prerequisites

  • Node.js 20+
  • Microsoft 365 work account with Power Automate access
  • Azure AD app registration (see below)
  • Linux only: libsecret for secure token storage
    # Ubuntu/Debian
    sudo apt-get install libsecret-1-dev gnome-keyring
    
    # Fedora/RHEL
    sudo dnf install libsecret-devel gnome-keyring
    

Install from npm

npm install -g powerautomate-mcp

First-Time Setup

powerautomate-mcp --setup

This interactive wizard will:

  1. Sign you in via browser
  2. Discover your Power Automate environments
  3. Create the configuration file

Register with Claude

Add to your Claude configuration:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "powerautomate": {
      "command": "powerautomate-mcp"
    }
  }
}

Restart Claude. The Power Automate tools will appear automatically.


Azure AD App Registration (Required)

Before using this MCP server, an Azure AD app registration must be configured in your tenant. This requires Global Administrator or Application Administrator role.

Who Needs to Do This?

Role Action Required
IT Admin / Global Admin Create app registration, grant admin consent
End Users Just run powerautomate-mcp --setup after admin completes setup
# Requires: Azure CLI (https://aka.ms/installazurecli)
# Requires: Global Admin or Application Administrator role

az login
./scripts/Register-PublishedApp.ps1

The script will:

  1. Create the app registration
  2. Configure required permissions
  3. Output the admin consent URL

Option 2: Manual Setup

  1. Go to Azure Portal > Microsoft Entra ID > App registrations > New registration

  2. Configure basic settings:

    • Name: Power Automate MCP
    • Supported account types: Accounts in any organizational directory (multi-tenant)
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "powerautomate": { "command": "powerautomate-mcp" } } }