/flowstudio-power-automate:power-apps-canvas-mcpfrom flowstudio-power-automate
Ground rules for Power Apps canvas apps via FlowStudio MCP: edit sessions, draft vs live, timeouts, and tool selection. Load before read/edit/ship skills for any canvas work.
Ships in flowstudio-power-automate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill is the ground rules for the canvas app tools. You open an edit session, stage edits, push them as a draft, and publish. Every canvas call follows the rules here, and the read, edit and ship skills build on them.
Requires: A FlowStudio MCP subscription. Connection setup (endpoint, key or sign-in) is the same as for the flow tools: see the
power-automate-mcpskill. The canvas tools are a preview and on for every plan; see "Cost".
If the canvas tools are missing or refused, read the message and tell the person; do not work around it. Canvas tools are on for every plan, so a refusal means the server has them off, the person's access in their workspace was turned off, or support has to set up their workspace ([email protected]).
| The person wants to | Load this skill |
|---|---|
| Inspect, audit or diagnose an app: formulas, data sources, quality, versions | power-apps-canvas-read |
| Build or change an app: screens, controls, formulas, data sources | power-apps-canvas-edit |
| Push and publish changes, or recover from a refused push | power-apps-canvas-ship |
| Understand sessions, versions, timeouts and costs | this skill (foundation) |
| Fix or build a flow the app calls | power-automate-debug or power-automate-build |
Always call
tool_searchwith"skill:canvas-app"first (and"skill:canvas-layout"for layout) to confirm tool names and parameter schemas. They change between server versions. This skill covers behavior the schemas cannot tell you. Most of it was checked against the production server on 2026-11-20 by building and pushing test apps; lines marked "on a real app" come from customer apps built between August and November 2026. If what a response shows actually happened disagrees with this file, the response wins. The server's general guidance text does not override the warnings here.
The server's canvas guidance changes with each release. Load it at the start of every canvas task:
tool_search with "skill:canvas-app": the tool definitions and the
server's workflow notes.tool_search with "skill:canvas-layout": layout tools, plus pointers to
Microsoft's layout guides ("page:ms-canvas-layout" and
"page:ms-canvas-grid").list_skills lists every bundle; dataverse, sharepoint, excel and
sql also cover canvas data sources.| Tool | Changes the app? | Use it for |
|---|---|---|
list_canvas_apps | no | find app ids in an environment |
create_canvas_app | creates one | a new app from a starting layout, or a copy |
get_canvas_app | no | open an app: screens, data sources, App Checker findings, session |
list_canvas_controls | no | the control tree (names and types), or the catalog of types you can add |
describe_canvas_control | no | one control's formulas, or one type's properties and variants |
get_canvas_app_sources | no | data sources with real column names and types |
check_canvas_formula | no | compile Power Fx against the app before writing it |
score_canvas_app | no | a 0-10 quality score with ranked fixes |
get_canvas_app_files | no | raw package files |
list_canvas_app_versions | no | version history; isLive marks what users run |
diff_canvas_app | no | compare two states per control and property |
update_canvas_app | stages, and pushes with push: true | every control, screen, formula and data source edit |
update_canvas_app_files | stages | images under Assets/, References/* |
discard_canvas_app_session | drops staged edits | start clean |
publish_canvas_app | yes, goes live | make the draft what users run |
add_to_solution | yes | put the app in a Dataverse solution |
get_task | no | poll a long call that returned a taskId |
There is no tool to delete an app or a version. Test apps and copies are deleted by the person in the Power Apps maker portal, so give them names that are easy to find.
environmentName (environment is accepted too). Pass
the environment id, for example Default-<tenant id> or a bare GUID. If you
pass the full display name of one environment, or Default, the server
swaps in the id and adds a hint. A name that matches no environment, or more
than one, is refused with a pointer to list_live_environments.app is the app GUID from list_canvas_apps.Every canvas response carries a session block. Read it on every call; do not
rely on memory, since you lose it across a context reset.
| Field | Meaning |
|---|---|
open | true once something is staged. A read starts a session even though open stays false until then |
basedOnVersion | the version your edits apply to |
startedAt | when the session opened |
pendingEdits | staged file writes waiting for a push. Not the number of edits: one edit usually writes two files |
baseMovedBy | shown once something is staged: how many versions were saved after your session started. Above 0 means a push will be refused, unless the newer versions change nothing in the app; then the push goes on top and the reply says savedOverNoChange |
rebasedFrom | present when a session with nothing staged was moved to the newest version for you |
expiresAt | 7 days after startedAt. After that the next call deletes the session and its staged edits, so push or record your edits before then |
import | an import still running on the platform (see "Long Calls and Timeouts") |
warning | plain-language explanation when something needs action |
How sessions behave:
definition, or with definition: "latest", shows your
session's base plus your staged edits. That is the head unless the app was
saved after you staged something (baseMovedBy above 0); then read the
head by its version id, or diff base to it. Only version,
"published" or "draft" show a saved state on its own.
get_canvas_app_files labels each file servedFrom: "session" or
"snapshot".discard_canvas_app_session drops staged edits and reports how many file
writes it dropped. The app itself is not touched.rebasedFrom says so), so an empty
session needs no action. At the start of a task, if pendingEdits is above
0 and you did not stage them (a session left from an earlier day, or someone
else in the workspace), diff base to session and ask the person before
discarding. If a push from a session left from an earlier day is refused
with base-moved, follow the base-moved steps in power-apps-canvas-ship.baseMovedBy shows it
and the push refuses (see power-apps-canvas-ship)."Head" in these skills means the newest saved version of an app, whatever its
state. list_canvas_app_versions rows carry lifeCycleId and isLive:
lifeCycleId | Meaning |
|---|---|
Published with isLive: true | what users run |
Published with isLive: false | an older publish |
Draft | pushed, not published |
Autosaved | Studio, or an authoring or validation tool, saved it in passing, without anyone pressing Save |
A push to an existing app creates a Draft version, and its users see nothing
until publish_canvas_app. Publish takes no version: it publishes the app's
newest version, whoever saved it, so check that the head is yours first (see
power-apps-canvas-ship). Two things are live straight away: a new app from
create_canvas_app, and a copy made with saveAsNewApp. The head is not
always the best version: judge damage by isLive. FlowStudio appends
#flowstudio-mcp to every commit message, so its versions are easy to tell
apart from Studio saves.
taskId and status: "working" means the work is still
running. Do not call the tool again. Wait pollIntervalMs, then call
get_task until status is completed or failed. The completed result
has the same shape the tool would have returned.importing, or session.import.state can read
running. Resume with update_canvas_app, push: true and no edits. If it
is still running after about five minutes, or the resume times out, keep
your edit list and discard_canvas_app_session (this drops staged edits).
Then check list_canvas_app_versions. A new version is not proof: Studio
or another writer can save one too. Read it by version id
(describe_canvas_control on the controls you changed) and send again only
the edits that are not in it. If you cannot tell, stop and tell the person. On 2026-11-20 a timed-out copy
left an import running on the source app for over five minutes; discarding
cleared it and no extra version had been saved.create_canvas_app has timed out, and once returned 404 OperationNotFound,
yet created the app. If a create from a starting layout fails, send it again
with exactly the same name. If the first one worked, the retry is refused
either by Power Apps (ApplicationDisplayNameIsInUse, quoting the existing
app id) or, once the app list has caught up, by FlowStudio ("An app named
... already exists in this environment. Pick another name."). Both mean the
first create worked: do not pick another name; find the app with
list_canvas_apps. That does not work for a fromApp copy: the retry timed
out too and left an import running on the source app. For a copy, wait a
few minutes and look for it with list_canvas_apps, or ask the person to
check the maker portal.list_canvas_apps can lag several minutes behind a create. A missing app
may still open with get_canvas_app by id.The canvas tools are free while they are in preview, except add_to_solution,
which is charged like a flow tool. Every canvas response carries a preview
note saying when the preview ends. After that, canvas calls count toward the
person's credits. When calls run out the reply starts Plan limit reached, Monthly call allowance reached (a shared team plan) or Your free evaluation ended; tell
the person and do not retry into it. score_canvas_app,
list_skills, tool_search and get_task are always free.
refused object (pushed: false).
It explains what happened and what to do next. Read it; never blindly retry.expectedAppVersion is one (see power-apps-canvas-ship).notMatched / wouldNotMatch on update_canvas_app lists edits that were
skipped, each with a reason. The others in the same batch still apply.power-apps-canvas-read: inspect, audit and diagnose canvas appspower-apps-canvas-edit: build and change canvas appspower-apps-canvas-ship: push, publish and recover from refused pushespower-automate-mcp: connection setup, the MCP helper and tool discoveryWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/power-apps-canvas-editBuild and change Power Apps canvas apps through FlowStudio MCP: create apps, add and restyle screens and controls, write Power Fx, build galleries, and connect Dataverse, SharePoint, connectors and flows, all as named edits the server checks. Load this skill when asked to: create an app, add or change a screen or control, write or fix a Power Fx formula, add a gallery or table, connect a data source or flow, fix a layout, or improve an app's quality score. Requires a FlowStudio MCP subscription; see https://mcp.flowstudio.app/power-apps-canvas-readInspect, audit and diagnose Power Apps canvas apps through FlowStudio MCP: control trees, formulas, data sources and their columns, formula checks, a quality score, version diffs, and what the published app actually contains. Load this skill when asked to: find the formula or control behind a behavior, check formulas for errors, list data sources and columns, score an app's quality, compare versions, find when something broke, or confirm what users are running. Requires a FlowStudio MCP subscription; see https://mcp.flowstudio.app/power-apps-canvas-shipPush and publish Power Apps canvas app changes through FlowStudio MCP, and get out of trouble: refused pushes, apps that call flows, damaged drafts and Power Apps Studio saving over your work. Load this skill when asked to: push or publish canvas app changes, recover from a push refused because the app moved, fix a push that fails on a deleted flow, spot a damaged draft or restore a good version, or work alongside an open Power Apps Studio session. Requires a FlowStudio MCP subscription; see https://mcp.flowstudio.app/power-automate-buildBuild, scaffold, and deploy Power Automate cloud flows using the FlowStudio MCP server. Your agent constructs flow definitions, wires connections, deploys, and tests — all via MCP without opening the portal. Load this skill when asked to: create a flow, build a new flow, deploy a flow definition, scaffold a Power Automate workflow, construct a flow JSON, update an existing flow's actions, patch a flow definition, add actions to a flow, wire up connections, or generate a workflow definition from scratch. Requires a FlowStudio MCP subscription — see https://mcp.flowstudio.app/power-automate-debugDebug failing Power Automate cloud flows using the FlowStudio MCP server. The Graph API only shows top-level status codes. This skill gives your agent action-level inputs and outputs to find the actual root cause. Load this skill when asked to: debug a flow, investigate a failed run, why is this flow failing, inspect action outputs, find the root cause of a flow error, fix a broken Power Automate flow, diagnose a timeout, trace a DynamicOperationRequestFailure, check connector auth errors, read error details from a run, or troubleshoot expression failures. Requires a FlowStudio MCP subscription — see https://mcp.flowstudio.app/power-automate-governanceGovern Power Automate flows and Power Apps at scale using the FlowStudio MCP cached store. Classify flows by business impact, detect orphaned resources, audit connector usage, enforce compliance standards, manage notification rules, and compute governance scores — all without Dataverse or the CoE Starter Kit. Load this skill when asked to: tag or classify flows, set business impact, assign ownership, detect orphans, audit connectors, check compliance, compute archive scores, manage notification rules, run a governance review, generate a compliance report, offboard a maker, or any task that involves writing governance metadata to flows. Requires an MCP Pro+ subscription — see https://mcp.flowstudio.appGenerated from the plugin's indexed repository (ninihen1/power-automate-mcp-skills) — no native marketplace selected
npx claudepluginhub p/ninihen1-flowstudio-power-automateOther plugins' skills for the same job