microsoft/power-platform-skills/configure-canvas-mcp
Claude Code and agent skill by microsoft/power-platform-skills
- vendor
Checking that the SKILL.md file is still in the repository.
Configure the Canvas Authoring MCP server for the current coauthoring session. Use before starting to edit a canvas app with the /canvas-app skill if not already connected. USE WHEN "configure MCP", "set up MCP server", "MCP not working", "connect Canvas Apps MCP", "canvas-authoring not available", "MCP not configured", "set up canvas apps".
Install
npx vskill@latest install microsoft/power-platform-skills/configure-canvas-mcpSKILL.md
The same SKILL.md was published earlier as microsoft/power-platform-skills/configure-canvas-mcp.
Configure the Canvas Authoring MCP Server
This skill configures the Canvas Authoring MCP server for the user's current Power Apps coauthoring session. The MCP server is auto-registered by the plugin — this skill connects it to a specific app session.
Instructions
1. Ask for the studio URL
Ask the user:
What is the URL of your canvas app studio session?Copy the URL from the browser address bar while your app is open in Power Apps Designer (it should look likehttps://make.powerapps.com/e/Default-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/canvas/?action=edit&app-id=...).Make sure coauthoring is enabled in the app (Settings → Updates → Coauthoring).Keep this browser tab open for the entire session. The MCP server communicates with Power Apps through the coauthoring session tied to that tab. Closing the tab ends the coauthoring session, which preventscompile_canvasandsync_canvasfrom working and means you can't see or save generated changes.
2. Extract parameters from the URL
Parse the following from the studio URL:
- ENV_ID: the path segment between
/e/and the next/(e.g.Default-91bee3d9-0c15-4f17-8624-c92bb8b36ead). - APP_ID: URL-decode the
app-idquery parameter value, then take the last segment after the final/(e.g.6fc3e3d1-292b-4281-8826-577f78512e56) - MAKER_HOSTNAME: the hostname of the URL (e.g.
make.powerapps.com) - ENVIRONMENT_CATEGORY: determined from MAKER_HOSTNAME (see table below)
Determine ENVIRONMENT_CATEGORY from MAKER_HOSTNAME:
| MAKER_HOSTNAME | ENVIRONMENT_CATEGORY | |
|---|---|---|
make.powerapps.com | prod | |
make.preview.powerapps.com | prod | |
make.preprod.powerapps.com | preprod | |
make.gov.powerapps.us | gov | |
make.high.powerapps.us | high | |
make.apps.appsplatform.us | dod | |
make.powerapps.cn | china | |
| Any other hostname | test |
Example:
Example URL: https://make.powerapps.com/e/Default-91bee3d9-0c15-4f17-8624-c92bb8b36ead/canvas/?action=edit&app-id=%2Fproviders%2FMicrosoft.PowerApps%2Fapps%2F6fc3e3d1-292b-4281-8826-577f78512e56
- ENV_ID →
Default-91bee3d9-0c15-4f17-8624-c92bb8b36ead - APP_ID →
6fc3e3d1-292b-4281-8826-577f78512e56 - MAKER_HOSTNAME →
make.powerapps.com - ENVIRONMENT_CATEGORY →
prod
3. Configure the MCP server
Call the connect MCP tool on the canvas-authoring server to connect to the user's coauthoring session.
Optional parameters — do NOT prompt the user for these. Only include them if the user has already expressed a preference earlier in the conversation, or if a prior connect attempt failed:
login_hint: Pass the user's UPN or email only if they have indicated they want to connect as a specific/different user (e.g. "log in as alice@contoso.com"). These values cannot be derived from the maker portal URL — never guess. Omit otherwise to use the first signed-in user. When reconnecting to switch environment/app, reuse the samelogin_hintvalue as the previous successful connect (if known) so the same user is reused without re-prompting.auth_flow: Pass"browser","broker", or"devicecode"if the user has explicitly stated a preferred auth flow (e.g. "use browser sign-in"), or use"browser"for the 404 recovery below. Use"devicecode"on headless/SSH hosts where neither broker nor browser flow can pop a UI — the verification URL and user code are surfaced via an MCP elicitation request and require a client that supports elicitation. Omit otherwise to use the default.tenant_id: Pass a tenant GUID only for Entra B2B guest access — set it to the host/resource tenant where the user is a guest so the token is issued by that tenant rather than the user's home tenant. Combine withlogin_hint(the guest's home UPN) to pre-fill the account. Omit for normal same-tenant sign-in.force_account_select: Passtrueonly to force the account picker instead of silently reusing a cached account — set this for the 404 recovery below, or when a previous connect failed with a 401/403 and nologin_hintwas given, so the user can pick the correct account. Omit otherwise.
If the Canvas Authoring connect tool is not available under the current host's name, run the following command to check whether the server failed to launch due to a missing .NET 10 SDK. Do not treat the absence of the other host's tool name as a server failure.
If a version 10.x.y or higher is not listed, tell the user:
⚠️ .NET 10 SDK is required to run the Canvas Authoring MCP server. It looks like you don't have it installed. Please install it from https://dotnet.microsoft.com/download/dotnet/10.0 and then try again.
If `connect` fails with HTTP 404, a likely cause is signing in with a different account from the one used for the Studio session. Report the error and recover in this order:
- Remind the user to sign in with the same account they used for the Power Apps Studio browser session.
- Run
connectagain with the same environment/app parameters andforce_account_select: trueso the user can select that account. - If that retry fails, run
connectonce more withauth_flow: "browser"andforce_account_select: true, keeping the same environment/app parameters. Remind the user to select their Studio account in the browser sign-in. On a headless/SSH host where browser sign-in is unavailable, useauth_flow: "devicecode"instead as described above.
Stop retrying after a successful connection. If both recovery attempts fail, report the final error and follow the checks below; do not claim the server is configured.
For other connection errors, or if 404 recovery fails, report the error and suggest checking that:
- The studio URL is correct and the browser tab is still open
- Coauthoring is enabled in the app settings
- If sign-in failed, the user may need to specify
auth_flow(broker,browser, ordevicecode) or alogin_hint(UPN/email) to authenticate as the correct account. On a headless/SSH host, useauth_flow: "devicecode". If a cached account keeps getting picked, retry withforce_account_select: true. For Entra B2B guest access, settenant_idto the host tenant.
4. Confirm
Only after connect succeeds, tell the user:
✅ Canvas Authoring MCP server configured for your coauthoring session.You can now use Canvas App skills like/canvas-appto create or edit your app.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 16 Nov 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md
Popularity
- Repository stars
- 947
- Repository forks
- 190
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/power-platform-skills/configure-canvas-mcp)