帮助你为当前协作会话配置 Canvas Authoring MCP 服务器并排查连接问题
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "configure-canvas-mcp" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md 2. 保存为 ~/.claude/skills/configure-canvas-mcp/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为当前协作会话配置 Canvas Authoring MCP 服务器,并告诉我需要完成的步骤与配置结果。
返回当前会话的 Canvas MCP 配置结果、关键步骤,以及是否已成功可用的说明。
Canvas Authoring MCP 显示未配置,请帮我检查并完成连接;如果缺少前置条件,请先明确指出。
给出问题诊断、配置修复动作;若缺少依赖,则提示需先安装 .NET 10 SDK。
请帮我连接 Canvas Apps MCP,并确认当前 coauthoring 会话中 canvas-authoring 是否可用。
输出连接与可用性检查结果,说明 canvas-authoring 是否已正常启用。
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.
Verify that .NET 10 SDK or higher is installed:
dotnet --list-sdks
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 first to use this skill. https://dotnet.microsoft.com/download/dotnet/10.0
Then wait for the user to install it before continuing. If they say it's installed, run the command again to confirm. If it's still not found, repeat the message until they have it installed.
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 like
https://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 prevents
compile_canvasand from working and means you can't see or save generated changes.
sync_canvasParse the following from the studio URL:
/e/ and the next / (e.g. Default-91bee3d9-0c15-4f17-8624-c92bb8b36ead).app-id query parameter value, then take the last segment after the final / (e.g. 6fc3e3d1-292b-4281-8826-577f78512e56)make.powerapps.com)Determine CLUSTER_CATEGORY from MAKER_HOSTNAME:
| MAKER_HOSTNAME | CLUSTER_CATEGORY |
|---|---|
make.powerapps.com | prod |
make.preview.powerapps.com | prod |
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
Default-91bee3d9-0c15-4f17-8624-c92bb8b36ead6fc3e3d1-292b-4281-8826-577f78512e56make.powerapps.comprodCall the connect MCP tool to connect the server to the user's coauthoring session:
mcp__canvas-authoring__connect(
environment_id: ENV_ID,
app_id: APP_ID,
cluster_category: CLUSTER_CATEGORY,
// Optional — include only if the user has expressed a preference (see below):
auth_flow: "broker" | "browser",
login_hint: "[email protected]"
)
Optional parameters — do NOT prompt the user for these. Only include them if the user has already expressed a preference earlier in the conversation:
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 [email protected]"). These values cannot be derived from the maker portal URL — never guess. Omit otherwise to use the first signed-in user.auth_flow: Pass "browser" or "broker" only if the user has explicitly stated a preferred auth flow (e.g. "use browser sign-in"). Omit otherwise to use the default.…
帮助你为 Power Apps 代码应用添加数据源或连接器,并引导到合适操作流程。
通过交互确认、会话追踪与提示管理,优化反馈驱动的开发流程