Home / Market / flowstudio power apps canvas mcp

flowstudio power apps canvas mcp

Ground rules for Power Apps canvas apps through FlowStudio MCP: the canvas tools, edit sessions, draft versus live, and long calls and timeouts. Load this skill first for any canvas app work, before `flowstudio-power-apps-canvas-read`, `flowstudio-power-apps-canvas-edit` or `flowstudio-power-apps-canvas-ship`, and when a canvas call behaves strangely: a timeout that may still have created something, a push stuck importing, a session that moved, or draft-versus-live confusion. Requires a FlowStud

skill★ 417980 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- name: flowstudio-power-apps-canvas-mcp description: >- Ground rules for Power Apps canvas apps through FlowStudio MCP: the canvas tools, edit sessions, draft versus live, and long calls and timeouts. Load this skill first for any canvas app work, before flowstudio-power-apps-canvas-read, flowstudio-power-apps-canvas-edit or flowstudio-power-apps-canvas-ship, and when a canvas call behaves strangely: a timeout that may still have created something, a push stuck importing, a session that moved, or draft-versus-live confusion. Requires a FlowStudio MCP subscription; see https://mcp.flowstudio.app

---

Power Apps Canvas Apps via FlowStudio MCP: Foundation

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 flowstudio-power-automate-mcp skill. 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 (support@flowstudio.app).

---

Which Skill to Use When

| The person wants to | Load this skill | |---|---| | Inspect, audit or diagnose an app: formulas, data sources, quality, versions | flowstudio-power-apps-canvas-read | | Build or change an app: screens, controls, formulas, data sources | flowstudio-power-apps-canvas-edit | | Push and publish changes, or recover from a refused push | flowstudio-power-apps-canvas-ship | | Understand sessions, versions, timeouts and costs | this skill (foundation) | | Fix or build a flow the app calls | flowstudio-power-automate-debug or flowstudio-power-automate-build |

---

Source of Truth

> Always call tool_search with "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:

server's workflow notes.

Microsoft's layout guides ("page:ms-canvas-layout" and "page:ms-canvas-grid").

sql also cover canvas data sources.

---

The Tools

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

---

Parameters

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.

---

The Session

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:

workspace. Anyone working in the same workspace shares it, so staged edits you did not make can be someone else's.

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

session on the new version.

new edits.

writes it dropped. The app itself is not touched.

read when the app has been saved since (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 flowstudio-power-apps-canvas-ship.

FlowStudio server, can save a new version under you. baseMovedBy shows it and the push refuses (see flowstudio-power-apps-canvas-ship).

---

Draft Is Not Live

"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 flowstudio-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.

---

Long Calls and Timeouts

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.

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.

may still open with get_canvas_app by id.

creates ran at once.

---

Cost

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.

---

Errors Versus Refusals