Power Platform MCP Server
Docs: Overview · Installation & Upgrading · Changelog · Report an issue
An MCP (Model Context Protocol) server for Microsoft Power Platform — 291 tools spanning Power Automate flows, canvas app authoring, model-driven apps, SharePoint, Excel, Dataverse/Dynamics 365, Power Pages, Copilot Studio, and tenant administration. Build, run, diagnose, and govern automations in natural language.
How this became a Power Platform server. It started as a Power Automate MCP — cloud flows, and not much else. What broadened it was other people: issues filed by users who needed Dataverse and DLP tooling, a discussion thread that turned into the connections work, a reported admin-API breakage that led to the whole governance surface, and a lot of troubleshooting against real tenants where the interesting bugs only show up. Power Apps, Power Pages, desktop flows, and work queues each arrived because someone asked or something broke. The npm package is still
powerautomate-mcp— renaming it would break every existing install — but the scope is the platform now.
Works with any MCP-compatible AI client: Claude Desktop, Claude Code, VS Code Copilot, Cursor, Google Gemini CLI, and more.
Documentation Map
| Page | What you'll find |
|---|---|
| README (this page) | Features · Quick Start · App Registration · CLI Reference · How It Works · All 290 Tools · Security · Architecture |
| Installation Guide | Choose your path · Easy Path · Fast Path · Connect your AI app · Updating · Troubleshooting · Glossary · Admin & enterprise |
| Changelog | Release history with per-version upgrade notes |
| Privacy Policy | What runs locally, what talks to Microsoft, what we collect (nothing) |
| Issues | Bug reports and feature requests — every one gets read |
Features
291 tools, 25 groups — everything at a glance (full list with descriptions: Available Tools):
| Setup & Authentication (1) | Core Flow Operations (15) | Testing & Debugging (10) |
| Planning & Help (5) | Connections & Custom Connectors (15) | Approvals (3) |
| Dataverse CRUD (7) | Dataverse Depth (queries, metadata, schema, bulk) (11) | SharePoint (11) |
| Excel (OneDrive) (2) | Power Apps (12) | Canvas App Authoring (Preview) (13) |
| Model-driven Apps (13) | Power Apps Administration (4) | Power Pages — Site Configuration (9) |
| Power Pages — Site Management (36) | Power Pages — PAC CLI (8) | Environment Administration (11) |
| DLP Policies (6) | Solutions ALM (10) | Managed Environments & Capacity (6) |
| Desktop Flows / RPA (13) | Work Queues (RPA orchestration) (8) | Billing & AI Builder (3) |
| Copilot Studio Agents (59) |
Beyond the tool count:
- Natural-language flow building — describe the automation;
plan_flowgathers the specifics,build_flowcreates it (even before its connections are configured), and pre-flight validation scores it against best practices (0–100) - Real diagnosis, not error dumps — failed runs are drilled to the failing step with the actual API error and a proposed fix
- Complete model-driven app lifecycle — create AppModules, add or remove components, validate, publish, and manage security-role access through documented Dataverse operations
- Canvas source authoring (preview) — create and edit supported
.pa.yamlsource, discover live controls/APIs/data sources, synchronize from Studio, and compile back through Microsoft's official Canvas Authoring MCP server - Power Pages from content to hosting — edit Dataverse configuration, provision and poll websites, manage domains/certificates/WAF/security, and run supported
pac pagesdeployment workflows - Real Solution ALM — asynchronous solution export/import, component add/remove, clone, and publish-all operations use documented Dataverse actions instead of placeholders
- Sign in from the chat — the
sign_intool completes Microsoft device-code auth without a terminal; every action runs under your own work account - Everything annotated — all 291 tools declare read-only/destructive hints, so AI hosts can apply the right guardrails
- Cross-platform — Windows, macOS, and Linux
Install as a Claude Code plugin
If you use Claude Code, one command installs the server and ten guided skills (setup, build-flow, debug-flow, manage-connections, desktop-flows, work-queues, power-pages, dataverse, govern-tenant, report-issue):
bash/plugin marketplace add rcb0727/powerplatform-mcp-docs /plugin install powerautomate-mcp@powerautomate-mcp
The plugin runs the server via npx, so there is nothing else to install. You
still run powerautomate-mcp --setup once to sign in — or use the in-chat
sign_in tool if you'd rather not open a terminal.
Quick Start
Three commands — run them in a terminal:
bashnpm install -g powerautomate-mcp # 1. install powerautomate-mcp --setup # 2. sign in + connect your AI app powerautomate-mcp --doctor # 3. confirm everything works
The --setup wizard does it all: lets you choose a least-privilege permission set, creates the Entra app registration (or takes one you provide), signs you in, handles admin consent, picks your environment, and wires the server into your AI app for you — no hand-editing JSON. Then restart your app and ask it to build a flow.
Not very technical? Follow the step-by-step Easy Path with checkpoints.
| Want to… | Do this |
|---|---|
| Connect a specific app during setup | powerautomate-mcp --setup --client claude |
| Connect an app later (or a second one) | powerautomate-mcp --client cursor |
| Skip the global install | npx -y powerautomate-mcp@latest --setup (add --npx so your app uses npx too) |
| Configure your app by hand | Manual client configs |
Supported apps: Claude Desktop, Claude Code, Cursor, VS Code (Copilot), Gemini CLI, Windsurf, ChatGPT (via --http).
Microsoft Entra App Registration
The setup wizard (--setup) detects your situation and only asks when it can't know: it looks for an existing setup, your organization's org.json, or an app visible through an already-signed-in Azure CLI — and if nothing is found, asks exactly one question: paste your Client ID, or press Enter to create a new app registration. Creating (the IT/first-person path) signs into Azure, registers the app with only the permissions you pick, and grants org-wide admin consent when your account is allowed to.
New tenants work too (v0.13.0+): if your tenant has never used Power Platform, setup creates the missing first-party service principals and resolves the permission ids your tenant actually publishes — the old
AADSTS650052/AADSTS65006sign-in failures repair themselves on a re-run of--setup.
Who Needs to Do What?
| Role | Action |
|---|---|
| IT / first person at the org | Run --setup, press Enter to create the app, then --emit-org-config to hand the rollout to MDM |
| Someone with a Client ID from IT | Run --setup, paste it — it's verified against Microsoft on the spot |
| Everyone else (org already deployed) | Nothing — with the org file on the machine, the first in-chat sign_in is the whole onboarding |
Rolling out to a team? See Mass deployment — IT sets up once, pushes
org.jsonmachine-wide, and users never see a wizard.PA_MCP_CLIENT_IDas an environment variable also works for host-managed installs.
Admin Consent
Consent is verified by doing, not asked about: the wizard attempts sign-in, and only if Microsoft reports the app isn't approved (AADSTS65001) does the approval link appear. On the create path, tenant-wide consent is granted automatically when the signed-in Azure CLI account holds an admin role. Any of these Entra ID roles can approve: Global Administrator, Application Administrator, Cloud Application Administrator, or Privileged Role Administrator. If you don't have one of these roles, share the URL with your admin:
https://login.microsoftonline.com/{tenant-id}/adminconsent?client_id=YOUR_CLIENT_ID
After an administrator changes an existing app's Power Platform API consent, call
sign_in with {"resource":"power_platform_api","forceRefresh":true} to request
a fresh token for that audience without clearing other cached tokens. The default
no-argument check only checks Power Automate (Flow), not Copilot Studio. The
resource-specific result reports known Copilot permission membership, not proven
API access: refreshing cannot add missing consent or user roles. If Microsoft
requires sign-in again, complete the returned device code and call sign_in again.
Manual Setup (Optional)
If you prefer to create the app registration manually:
-
Go to Azure Portal > Microsoft Entra ID > App registrations > New registration
-
Configure basic settings:
- Name:
Power Automate MCP - Supported account types: Accounts in any organizational directory (multi-tenant)
- Redirect URI: Select "Public client/native" and enter:
https://login.microsoftonline.com/common/oauth2/nativeclient
- Name:
-
After creation, go to Authentication and enable:
- Allow public client flows: Yes
-
Go to API permissions > Add a permission and add only the permissions for the tool surfaces you want to enable. The setup wizard offers presets for All tool surfaces, Power Automate only, Power Automate + connectors, Dataverse, Power Pages, and Custom.
API Permission Type Used For Power Automate (Flow Service) Flows.Read.AllDelegated Read flows Power Automate (Flow Service) Flows.Manage.AllDelegated Create/update/delete flows Power Automate (Flow Service) Activity.Read.AllDelegated Flow run history Power Automate (Flow Service) Approvals.Manage.AllDelegated Approval management Microsoft Graph User.Read,Sites.ReadWrite.All,Files.ReadWrite.AllDelegated Optional: SharePoint, OneDrive, and Excel helpers PowerApps Service UserDelegated Optional: connections, connector metadata, custom connectors, and Power Apps maker APIs BAP Admin API user_impersonationDelegated Optional: admin tools, Dataverse URL discovery, and Power Pages configuration Dynamics CRM user_impersonationDelegated Optional: Dataverse table/row CRUD and Power Pages configuration Power Platform API ResourceQuery.Resources.Read,CopilotStudio.Copilots.Invoke,CopilotStudio.MakerOperations.Read,CopilotStudio.MakerOperations.ReadWrite,CopilotStudio.AdminActions.Invoke;PowerPages.Websites.ReadandPowerPages.Websites.Writewhen selectedDelegated Copilot Studio inventory, authenticated execution, evaluations, governance; optional Power Pages site management (Tier 2 — see note below) Least privilege: Power Automate-only setups need only the Flow Service permissions. Skipped feature scopes are saved in
features.enabled, hidden from the advertised MCP tool list, and skipped by--doctor/--validate.Dataverse and admin tools require the BAP Admin API delegated permission (appId
0e0bf3cc-3078-4fd4-9ef3-cb6dc0245b10). Without it, the server cannot resolve the real Dataverse org URL and falls back to a guessed*.crm.dynamics.comhostname that often fails DNS.Power Platform API: Copilot Studio inventory needs
ResourceQuery.Resources.Read; authenticated agent execution needsCopilotStudio.Copilots.Invoke; evaluations needCopilotStudio.MakerOperations.ReadandCopilotStudio.MakerOperations.ReadWrite; governance needsCopilotStudio.AdminActions.Invokeplus a supported admin role. Power Pages site-management tools (Tier 2) additionally needPowerPages.Websites.ReadandPowerPages.Websites.Write(appId8578e004-a5c6-46e7-913e-12f58912df43). Automatic--setupresolves these first-party scope IDs from the tenant's live service principal because the IDs can be tenant-local. An Entra administrator must grant consent; then refresh the signed-in session or restart the MCP server. Re-running--setupcannot grant admin consent. -
Click Grant admin consent for [Your Tenant] (requires Global Admin, Application Admin, Cloud Application Admin, or Privileged Role Admin)
CLI Reference
powerautomate-mcp [options]
| Flag | Description |
|---|---|
--setup, -s | Run the interactive setup wizard (signs in + connects your AI app) |
--login | Sign in again using your existing setup — no wizard (expired tokens, MFA/policy changes) |
--doctor | Check your setup and print exactly what to fix, then exit |
--validate | Verify config, auth, and API connectivity then exit |
--client <name> | Wire an AI app's config to this server, then exit (claude, claude-code, codex/chatgpt, cursor, vscode, gemini, windsurf) |
--emit-org-config | Print an org.json from your working setup for IT to push machine-wide — coworkers' setup finds the app automatically (Mass deployment) |
--npx | With --setup/--client, configure the app to run via npx (no global install) |
--update | Check for updates and install the latest version |
--version, -v | Print version and exit |
--http | Start with Streamable HTTP transport |
--port <N> | Port for HTTP transport (default: 3000) |
--env <name> | Override the default environment (alias or GUID) |
--config <path> | Use an alternate config file |
--debug | Enable debug-level logging |
--help, -h | Show help message |
Environment Variables:
| Variable | Description |
|---|---|
PA_MCP_CLIENT_ID | Microsoft Entra app client ID (overrides config file; with PA_MCP_ENVIRONMENT_ID, bootstraps a full config when no config.json exists — lets a host application supply configuration without a config file) |
PA_MCP_TENANT_ID | Microsoft Entra tenant ID or domain (overrides config file) |
PA_MCP_ENVIRONMENT_ID | Power Platform environment ID for the env-var config bootstrap |
PA_MCP_ENVIRONMENT_REGION | Azure region for the bootstrapped environment (default unitedstates) |
PA_MCP_ORG_CONFIG | Explicit path to an organization org.json (default locations: %ProgramData%\powerautomate-mcp\, /Library/Application Support/powerautomate-mcp/, /etc/powerautomate-mcp/). With an environmentId pinned, the server boots from it with no per-user config at all |
PA_CONFIG_PATH | Custom path to config.json |
PA_MCP_HTTP_TOKEN | With --http: require Authorization: Bearer <token> on every MCP request. Protects the HTTP endpoint itself (the tools run with your signed-in account) — required whenever the server is exposed beyond your own machine. See Installation → ChatGPT |
How It Works
Canvas source authoring (preview)
Canvas source authoring uses Microsoft's official prerelease Canvas Authoring MCP as an isolated child process. Install the .NET 10 SDK, open an existing blank or editable canvas app in Power Apps Studio, enable Settings → Updates → Coauthoring, and keep that Studio tab open. Then call connect_canvas_authoring with the Studio Designer URL before using discovery, sync, or compile tools.
The AI assistant creates or edits App.pa.yaml and one .pa.yaml file per screen, using live control/API/data-source metadata and compile_canvas_source for supported validation and live synchronization. Compilation changes the open draft, so it requires confirm=true. sync_canvas_source can overwrite local source and also requires confirmation. The preview does not provision the initial cloud app shell, add Studio data connections, save, or publish; those remain Power Apps Studio steps. See Microsoft's external-tools preview guide and Power Apps YAML reference.
More Example Prompts
Create a flow that sends me an email every morning with the weather forecast
Test my "Daily Report" flow and tell me if there are any errors
Help me write an expression to format a date as "January 1, 2024"
Show me all the flows that have been shared with me
Patch the "Compose" action inside the Default case of "If_Recognized_Form" — only that one node, leave the rest alone
List all items in the "Projects" list on our Marketing site
Upload this month's report to the Shared Documents library
Show me all active accounts in Dataverse with revenue over $1M
Create a new contact row for John Smith in the contacts table
List all canvas apps in my environment and who owns them
Share the "Expense Tracker" app with the Finance team
Create a new sandbox environment called "Dev Testing"
What DLP policies are applied to my default environment?
Export the "Sales Solution" as a managed solution for deployment
What connectors are available for working with SharePoint?
What parameters does the "Send an email (V2)" action need?
Tool scope and limitations
Desktop flows are operated here, not authored here. Microsoft exposes no API for creating or editing a desktop flow's definition — it is Robin script with companion binary records, and their own recovery guidance is to paste it into the Power Automate for desktop designer by hand. Author in the designer; use these tools to run, monitor, diagnose, and orchestrate. Moving an authored flow between environments is supported via
export_solution/import_solution.
Available Tools (291 total)
Every tool the server exposes, grouped by service. All 291 are listed here.
| Tool | Description |
|---|---|
sign_in | Sign in to Microsoft Power Platform when other tools report missing credentials. Starts Microsoft's device-code sign-in and returns a code plus a microsoft.com link for the user to complete in their own browser (MFA included) — no terminal needed. Call sign_in again after the user says they've finished to confirm. This tool only displays the code; it never asks for or accepts passwords. Optionally choose resource=power_platform_api for Copilot Studio/API authentication and forceRefresh=true after an administrator changes consent. Refreshing only requests a new token for the selected resource; it does not change app permissions, grant consent, or clear other cached tokens. Authentication does not prove access to every API. |
| Tool | Description |
|---|---|
list_flows | List Power Automate flows in an environment. Returns flow names, IDs, state (Started/Stopped), last modified dates, and owners. Use scope='shared' to find flows shared with you, scope='owned' for your flows only. Use this to discover what flows exist before getting details or making changes. |
get_flow | Get the complete definition of a Power Automate flow including triggers, actions, connection references, and description. Use list_flows first to find flow IDs. Set format='json' or format='both' to capture the FULL definition including nested actions inside Switch/If/Foreach/Scope (the default 'summary' format only shows top-level actions). |
create_flow | Create a new Power Automate flow. Provide a trigger, actions, and connection references. Use search_connectors and get_action_schema to understand the required parameters for connector actions. The flow is created enabled (Started); use toggle_flow to stop it. |
update_flow | Update an existing Power Automate flow. Three update modes: (1) full replace — pass 'actions' to replace all top-level actions (default; you must include nested actions you want kept), (2) merge — set mergeActions=true to deep-merge only the actions you provide, leaving the rest intact, (3) patch — use patchActions with path keys (e.g. 'If/cases/Default/actions/Compose') for surgical edits with the smallest payload. Use get_flow with format='json' first to see the full nested action tree. |
preview_update | Preview exactly what update_flow would change on a flow — display name, trigger, added/removed/modified actions, and connection references — without writing anything. Run this before update_flow on flows that matter. |
delete_flow | Delete a Power Automate flow permanently. This action cannot be undone. You must set confirm=true to proceed with deletion. Use get_flow first to verify you have the correct flow. |
toggle_flow | Enable or disable a Power Automate flow. Use 'start' to enable a stopped flow or 'stop' to disable a running flow. The flow must exist and you must have permission to modify it. |
clone_flow | Clone an existing Power Automate flow to create a copy with a new name. Optionally update connection references in the clone. The cloned flow will be created in a stopped state. |
export_flow | Export a flow as a package. Returns the flow definition and metadata that can be used to import into another environment or as a backup. |
share_flow | Share a flow with users, groups, or service principals. Grant them either 'CanEdit' (can modify the flow) or 'CanView' (run-only access) permissions. You need the Microsoft Entra object ID of the principal to share with. |
get_flow_permissions | Get the list of users, groups, and service principals that have access to a flow. Shows their role (Owner, CanEdit, CanView) and identity information. Use this to audit who can see or modify a flow. |
list_flow_versions | List all versions of a flow. Each version represents a saved state of the flow definition. Use this to track changes or restore to a previous version. |
get_flow_version | Read one saved version of a flow, including its full definition — inspect what a flow looked like before a change, or check a version before restoring it. |
restore_flow_version | Roll a flow back to a previous saved version — the undo for a bad edit. Previews the change unless confirm=true. The current definition is itself saved as a version first, so a restore can be undone. |
get_trigger_inputs | Get the trigger payload a past run actually fired with — the real inputs, not a hand-written guess. Feed it back through test_flow to reproduce a failure against the data that caused it. |
| Tool | Description |
|---|---|
test_flow | Test a Power Automate flow with guided feedback. This tool: 1. Gets the flow's expected input schema (if any) 2. Runs the flow with provided test data 3. Waits for completion 4. Reports success or provides diagnosis for failures Use this after creating or modifying a flow to verify it works correctly. |
run_flow | Trigger a Power Automate flow to run immediately. Works with any trigger type (manual, scheduled, event-based). Optionally pass input data and wait for the run to complete. |
get_runs | Get the execution history of a Power Automate flow. Shows run times, status (Succeeded/Failed/Running), and error information for failed runs. Useful for debugging flow issues. |
get_run_actions | Get detailed action-level information for a flow run. Shows each action's status, timing, inputs/outputs, and error details. Use 'failedOnly: true' to focus on failures, 'actionName' to drill into a specific action, 'includeInputs'/'includeOutputs' to see full data payloads. |
get_run_action_repetitions | Get iteration-level details for a for_each or do_until loop action in a flow run. Shows which iterations succeeded/failed, their inputs/outputs, and error details. Essential for debugging loops that partially fail. |
diagnose_flow | Diagnose issues with a Power Automate flow. Analyzes recent runs, identifies failures, and provides specific fixes. Use this when a flow fails or behaves unexpectedly. |
validate_flow | Validate a Power Automate flow definition for errors. Can validate either an existing flow by ID or a new definition. Checks for schema errors, expression syntax, circular dependencies, and missing connection references. |
resubmit_run | Resubmit a failed or cancelled flow run. This will re-execute the flow with the same trigger inputs. Only works for flows with manual triggers. |
cancel_run | Cancel a currently running flow execution. Use this to stop a flow that is taking too long or running incorrectly. |
cancel_all_runs | Cancel every in-flight run of a flow (Running, Waiting, Paused, Suspended). Without confirm=true it previews which runs would be cancelled. Cancelled runs cannot be resumed. |
| Tool | Description |
|---|---|
plan_flow | Interactive flow planning wizard. Call this FIRST when user wants to create or build a flow. IMPORTANT: This tool returns clarifying questions that you MUST present to the user before proceeding. Do NOT skip the questions or make assumptions. Workflow: 1. Call plan_flow with the user's description 2. Present ALL questions to the user (don't answer them yourself) 3. Collect user's answers 4. Call plan_flow again with answers to get the final plan 5. Use create_flow or build_flow with the resulting definition Questions cover: trigger timing, recipients, data sources, formatting preferences, etc. |
build_flow | Build a Power Automate flow from a description. RECOMMENDED: Use plan_flow FIRST to gather requirements through the interactive wizard, then use this tool to create the flow. This tool: 1. Analyzes the goal 2. Detects required connections 3. Creates the flow directly Missing connections do NOT block creation: the flow is built anyway (stopped, so it can't fail-run), and the response lists exactly which connections still need to be configured at make.powerautomate.com. Connections that already exist are used automatically. For complex flows with multiple data sources, approvals, or specific timing requirements, use plan_flow first to clarify details. |
get_expression_help | Get help with Power Automate expressions. Provides: - Common functions reference by category - Context-specific examples - Expression syntax validation - Best practices and tips Use when building flow actions that need expressions. |
search_connectors | Search for Power Automate connectors by name, description, or category. Returns matching connectors with their tier (Standard/Premium) and capabilities. Use this to discover available connectors before building flows. |
get_action_schema | Get the schema and parameters for a connector's actions/triggers. Use search_connectors first to find connector IDs. Without operationId, lists operations. With operationId, returns bounded parameter and response schemas plus actual trigger/async notification metadata. Set useCache=false to read live path-level notification metadata, which the operation cache does not store. Schema examples and defaults are omitted; truncation and unresolved references are explicit. |
| Tool | Description |
|---|---|
list_connections | List all connections in an environment. Shows connection names, statuses (Connected/Error), connector types, and who created them. Use this to troubleshoot connection issues or see what services are connected. |
ensure_connection | Get a working connection for a connector in one call: returns an existing Connected one if there is any, otherwise creates one and hands back sign-in instructions. Use this instead of stitching list/create/test together — it is the right first step before binding a connector into a flow. |
create_connection | Create a connection for a connector. OAuth connectors (SharePoint, Office 365, Teams…) are created unauthenticated and come back with sign-in instructions — a direct consent link where the environment offers one, otherwise a deep link to the connection in the maker portal — then test_connection confirms. API-key style connectors accept their values via parameters. Connectors publishing several authentication modes (Azure Key Vault, SQL Server, Azure Blob…) need parameterSet; omitting it is refused with the valid modes rather than creating a connection that can never be signed in. |
test_connection | Read a connection's Connected/error metadata — use after create_connection consent, or when a flow fails with connection/auth errors. Returns bounded structured identity, timestamps, status labels and test-link count only; missing metadata is explicit. This does not execute the connector or verify granted scopes, renewed consent, or runtime access. |
fix_connection | Get a user sign-in handoff for an existing connection. Defaults to no-op when metadata reports Connected; set reauthorize=true to request a fresh consent link even then, for example after connector scopes change. Verifies the existing connection ID, connector and environment before requesting the link; never recreates it, changes grants, or completes sign-in automatically. Only an explicit unavailable-route response falls back to its maker-portal link. A link or Connected metadata does not prove renewed consent, granted scopes, or runtime access. |
delete_connection | Permanently delete a connection. Flows bound to it will fail until re-bound. Requires confirm=true. |
list_custom_connectors | List all custom connectors in the environment. Shows connector names, IDs, and operation counts. |
diagnose_connector_auth | Inspect the OAuth scopes declared by a custom connector in the current environment. Optionally compare public RFC 9728 advertised scopes using an explicit verified resourceUrl; never infer a resource from its OAuth authority. Advertised scopes are not necessarily required or exhaustive, and this tool cannot inspect connection grants. Lists exactly associated connections without reauthorizing, changing permissions or recommending every advertised scope. |
update_connector_oauth_scopes | Change the OAuth 2.0 scopes declared by a custom connector and its top-level Swagger OAuth security, preserving credentials, non-OAuth security and explicit operation-level requirements. update_custom_connector cannot do this: any OAuth field there rotates the whole client and demands the client secret, which the platform never returns. Previews by default (confirm=false). No-change compares only connectionParameters declarations, not OpenAPI consistency or grants. Confirmed writes require the original uploaded Swagger 2.0 definition and refuse scopes that omit explicit OAuth operation requirements; rewritten proxy Swagger is never used as fallback. Two-read declaration confirmation requires both scope reads to match and modification timestamps to advance; it does not verify stored OpenAPI or runtime. Changing scopes does NOT grant them — every existing connection keeps the set it consented to until it is re-authorized. |
get_custom_connector | Get detailed information about a custom connector including its OpenAPI definition and all operations. |
create_custom_connector | Create a custom connector for any REST API. Define the base URL, authentication, and operations. Each operation specifies an HTTP method, path, and parameters. |
update_custom_connector | Update an existing custom connector's operations or description using its original uploaded Swagger, never its rewritten proxy definition. OAuth replacement requires an existing compatible generic confidential-client configuration and preserves unrelated authentication and explicit operation security; dynamic/public-client provider migrations are refused. Display names cannot be changed. Saved metadata does not prove renewed consent or runtime access. |
delete_custom_connector | Delete a custom connector. Requires confirm=true to proceed. |
plan_custom_connector | Get guidance on creating a custom connector. Describes what information you need to gather about your API. |
import_openapi_connector | Create a custom connector by importing an OpenAPI/Swagger specification. Provide the full spec and authentication details. |
| Tool | Description |
|---|---|
list_approvals | List pending approvals in the environment. Shows approval requests that are waiting for a response. |
list_approvals_dataverse | List pending approval requests from Dataverse. More reliable than the Flow API for approvals. Shows approval title, stage, and requester. |
respond_approval | Respond to a pending approval request. Use 'Approve' to approve or 'Reject' to reject the request. |
| Tool | Description |
|---|---|
list_dataverse_tables | List Dataverse tables (entities) in the environment. Returns table names, entity set names, and whether they are custom or system tables. Use the EntitySetName in row operations. |
get_dataverse_table | Get detailed metadata for a Dataverse table including all column definitions. Provide the table's logical name (e.g., 'account', 'contact'). Returns column names, types, and requirements. |
query_dataverse_rows | Query rows from a Dataverse table with OData filtering, selecting, and ordering. Use list_dataverse_tables first to get the EntitySetName. Returns matching rows with their field values. |
get_dataverse_row | Get a single Dataverse row by its ID. Returns all fields or selected fields for the specified row. |
create_dataverse_row | Create a new row in a Dataverse table. Use get_dataverse_table first to see available columns and required fields. Returns the created row with its new ID. |
update_dataverse_row | Update an existing Dataverse row. Only include fields you want to change. The row must exist. |
delete_dataverse_row | Delete a Dataverse row permanently. This action cannot be undone. You must set confirm=true to proceed with deletion. |
| Tool | Description |
|---|---|
execute_fetchxml | Run a FetchXML query against Dataverse — use this instead of query_dataverse_rows when you need aggregates (count, sum, avg, min, max), grouping, or joins across related tables (link-entity). Example: total opportunities by owner, cases grouped by status. Pass the entity set name and the full XML. |
search_dataverse | Full-text search across Dataverse tables (relevance search) — 'find anything mentioning Contoso'. Returns ranked matches with the table and record id for follow-up reads. Requires the environment's Dataverse search feature to be enabled (an ENV_LIMITATION error means it isn't). |
get_dataverse_option_set | Get the labels and integer values of a choice (option set) column or a global option set. ALWAYS use this before writing to a choice column (statuscode, statecode, custom picklists) — the integer values cannot be guessed, and a wrong value writes bad data silently. Pass table+column for a column's choices, or globalName for a shared option set. |
get_dataverse_relationships | List a table's relationships (1:N, N:1, N:N) with their schema names and navigation properties. Use before associate_dataverse_rows / disassociate_dataverse_rows or $expand queries — relationship names cannot be guessed. |
upsert_dataverse_row | Create-or-update a Dataverse row addressed by alternate key(s) instead of a GUID — ideal for syncing external data (e.g., rows keyed by an account number). Reports whether the row was created or updated. |
assign_dataverse_row | Change the owner of a Dataverse row to another user or team. Use list-type tools or search to find the new owner's id first. |
associate_dataverse_rows | Link two existing Dataverse rows through a named relationship (N:N or 1:N) — e.g., add a contact to a marketing list. Get the relationship's navigation property name from get_dataverse_relationships first. |
disassociate_dataverse_rows | Remove a relationship link between two Dataverse rows (the rows themselves are untouched). Set confirm=true to proceed. |
create_dataverse_column | Create a new column on a Dataverse table. Supports string, memo, integer, decimal, money, datetime, boolean, and picklist (choice) types. The schema name must carry your solution publisher's prefix (e.g., 'new_ProjectCode'). Requires confirm=true. After creating, run publish_all_customizations for the column to appear in apps. |
create_dataverse_lookup_column | Create a lookup (N:1 foreign-key) column on a table, pointing at another table — creates the column and the relationship together, which is the only way the Web API supports it. Requires confirm=true. |
batch_dataverse_operations | Execute up to 100 Dataverse operations in one request — the right tool for bulk work like 'add every approved row from this spreadsheet'. Set atomic=true to make it all-or-nothing (any failure rolls back everything; GETs not allowed in atomic mode). Batches containing DELETE operations require confirm=true. |
| Tool | Description |
|---|---|
search_sharepoint_sites | Search for SharePoint sites by name or keyword. Returns site IDs, names, and URLs. Use the site ID in subsequent SharePoint operations. |
get_sharepoint_site | Get a SharePoint site by its ID or by hostname and path. Returns site details including name, URL, and description. |
list_sharepoint_lists | List all lists and libraries in a SharePoint site. Returns list IDs, names, and types. Use the list ID for item operations. |
get_sharepoint_list_columns | Get column definitions for a SharePoint list. Shows column names, types, and whether they are required. Use this before creating or updating items. |
list_sharepoint_items | Get items from a SharePoint list with optional filtering and sorting. Returns item IDs, field values, and metadata. |
create_sharepoint_item | Create a new item in a SharePoint list. Use get_sharepoint_list_columns first to see available fields. Provide field values as key-value pairs. |
update_sharepoint_item | Update an existing SharePoint list item. Only include fields you want to change. |
delete_sharepoint_item | Delete a SharePoint list item permanently. This action cannot be undone. You must set confirm=true to proceed. |
list_sharepoint_files | List files in a SharePoint document library. Use list_sharepoint_lists first to find document libraries, then use list_sharepoint_lists with the site ID to get drive IDs via the library's driveType. |
upload_sharepoint_file | Upload a file to a SharePoint document library. Simple upload supports files up to 4MB. Provide the file content as a base64-encoded string. |
get_sharepoint_file_content | Download a file's content from a SharePoint document library. Returns base64-encoded content for text files under 1MB, metadata-only for larger or binary files. |
| Tool | Description |
|---|---|
search_excel_files | Search for Excel files in OneDrive by name. Returns matching files with their IDs and paths. |
inspect_excel_file | Inspect an Excel file to find tables and columns. Use search_excel_files first to find the file ID. |
| Tool | Description |
|---|---|
list_powerapps | List Power Apps canvas apps in an environment. Returns app names, IDs, owners, and last modified dates. |
list_canvas_apps | List Power Apps canvas apps stored in Dataverse. Shows app names, versions, and status. |
get_powerapp | Get detailed information about a Power App including owner, connections, and app URIs. |
publish_powerapp | Publish a Power App to make the latest version available to users. |
get_powerapp_versions | Get version history for a Power App. Shows all saved versions with dates. |
restore_powerapp_version | Restore a Power App to a previous version. |
get_powerapp_permissions | Get the list of users, groups, and service principals that have access to a Power App. |
share_powerapp | Share a Power App with a user, group, or service principal. Grant CanEdit or CanView permissions. |
unshare_powerapp | Remove a user or group's access to a Power App. |
set_powerapp_owner | Transfer ownership of a Power App to another user. Requires Power Platform admin role. |
set_powerapp_display_name | Change the display name of a Power App. |
delete_powerapp | Delete a Power App permanently. This action cannot be undone. Set confirm=true to proceed. |
| Tool | Description |
|---|---|
connect_canvas_authoring | Connect the preview Canvas authoring service to an existing app whose Power Apps Studio tab is open with coauthoring enabled. Accepts either a trusted Designer URL or explicit app/environment IDs and environment category. Device-code auth is not supported through this bridge. |
list_canvas_controls | List controls supported by the connected Canvas authoring session. |
describe_canvas_control | Describe one Canvas control and its authoring properties. |
list_canvas_apis | List connector APIs visible to the connected Canvas authoring session. |
describe_canvas_api | Describe one connector API visible to the connected Canvas app. |
list_canvas_data_sources | List data sources already present in the connected Canvas app. |
get_canvas_data_source_schema | Get the schema of a data source already present in the connected Canvas app. |
sync_canvas_source | Sync the connected live Canvas app into an existing local source directory. This can overwrite local files and requires confirmOverwrite=true. |
compile_canvas_source | Compile the local .pa.yaml workspace into the connected live Canvas app. This is a destructive tenant write even when validation fails and requires confirm=true. |
list_canvas_source_files | List safe .pa.yaml files in an existing local Canvas source directory, including size and SHA-256. |
read_canvas_source_file | Read one safe UTF-8 .pa.yaml file (maximum 1 MiB) and return its content, size, and SHA-256. |
write_canvas_source_file | Create one safe UTF-8 .pa.yaml file (maximum 1 MiB). Existing files are preserved unless overwrite=true; expectedSha256 can prevent lost updates. |
delete_canvas_source_file | Delete one safe local .pa.yaml file. Requires confirm=true; expectedSha256 can prevent deleting a changed file. |
| Tool | Description |
|---|---|
list_model_driven_apps | List published or unpublished model-driven Power Apps from Dataverse, including AppModule IDs and unique names. |
get_model_driven_app | Get a model-driven app's published or unpublished AppModule record. Optionally includes the complete descriptor/app graph/config XML definition. |
create_model_driven_app | Create a real model-driven AppModule in Dataverse. This creates the app shell; add components, validate, publish, and grant security roles with the companion tools. |
update_model_driven_app | Update supported properties on a published model-driven AppModule, creating unpublished changes. A newly-created app must be published once before its properties can be updated through the documented AppModule API. |
delete_model_driven_app | Permanently delete a model-driven AppModule. Requires confirm=true. |
get_model_driven_app_components | Retrieve all components currently included in a published model-driven app. |
add_model_driven_app_components | Add Dataverse components such as views, forms, workflows, dashboards, and sitemaps to a model-driven app through AddAppComponents. |
remove_model_driven_app_components | Remove one or more Dataverse components from a model-driven app through RemoveAppComponents. |
validate_model_driven_app | Run Dataverse ValidateApp and return dependency errors and warnings before publishing. |
publish_model_driven_app | Validate and publish one model-driven app via PublishXml. Validation blocks publishing unless skipValidation=true. |
list_model_driven_app_roles | List Dataverse security roles associated with a model-driven app. |
grant_model_driven_app_role | Associate a Dataverse security role with a model-driven app to grant access. |
revoke_model_driven_app_role | Disassociate a Dataverse security role from a model-driven app. |
| Tool | Description |
|---|---|
list_powerapps_admin | List all Power Apps in an environment as admin. Requires Power Platform admin role. |
get_powerapp_admin | Get Power App details as admin. Requires Power Platform admin role. |
delete_powerapp_admin | Delete a Power App as admin. Requires Power Platform admin role. Set confirm=true to proceed. |
quarantine_powerapp | Quarantine or unquarantine a Power App. Quarantined apps cannot be launched. Requires admin role. |
| Tool | Description |
|---|---|
list_powerpages_sites | List Power Pages sites as stored in Dataverse (the configuration plane). Returns enhanced-model sites (mspp_websites) and standard-model sites (adx_websites), each tagged with its data model and the site id to pass to the component tools. For hosting/status/URL use list_powerpages_websites instead. |
get_powerpages_site | Get a Power Pages site's Dataverse record and detected data model (standard vs enhanced) by its site id (from list_powerpages_sites). |
list_powerpages_components | List configuration components of a Power Pages site across the standard and enhanced data models. Directly site-scoped types are restricted to siteId automatically. Nested types (weblink, form metadata |




