Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计提醒

configure-canvas-mcpconfigure canvas MCP 命令行

Agent Skill

configure-canvas-mcp 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

576

周安装

24

GitHub Stars

228

下载量

192
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:configure-canvas-mcp(configure canvas MCP 命令行)
来源仓库:https://github.com/microsoft/power-platform-skills
仓库路径:skills/configure-canvas-mcp
安装命令:
npx skills add https://github.com/microsoft/power-platform-skills --skill configure-canvas-mcp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/microsoft/power-platform-skills --skill configure-canvas-mcp

简介

configure-canvas-mcp 用于注册 Canvas Authoring MCP 服务器,支持在 Codex、Claude、Cursor 和 Gemini CLI 中集成 Power Platform 环境。

  • 适用于需要连接 Power Platform 环境的开发场景,如自动化配置或远程协作。
  • 通过安装命令添加技能后,需验证 .NET 10 SDK 是否已安装并完成环境 ID 配置。
  • 使用前请确认权限范围、维护状态及是否会触发联网或文件读写操作。
  • 建议结合来源仓库和原始 README 核验具体用法与兼容性。

SKILL.md

Configure the Canvas Authoring MCP Server

This skill registers the Canvas Authoring MCP server with Claude Code, VS Code Copilot, or GitHub Copilot CLI using the user's Power Platform environment ID.

Instructions

0. Check prerequisites

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.

1. Determine which tool to configure

Determine whether the user needs to configure MCP for VS Code Copilot, GitHub Copilot CLI, or Claude Code:

  • If explicitly mentioned in prompt, use that.
  • Otherwise, determine which tool the user is running from the context.
  • Only if choosing based on the context is impossible, ask the user:
Which tool would you like to configure the Canvas Authoring (canvas-authoring) MCP server for? 1. VS Code Copilot 2. GitHub Copilot CLI 3. Claude

Based on the result, set the TOOL_TYPE variable to vscode-copilot, copilot, or claude. Store this for use in all subsequent steps.

2. Determine the MCP scope

Choose the configuration scope based on the tool. Use the scope explicitly mentioned by the user, or ask the user to choose.

If TOOL_TYPE is vscode-copilot:

There is only one configuration path: .vscode/mcp.json (relative to the current working directory).

Set CONFIG_PATH = .vscode/mcp.json. No scope selection is needed.

Store this path for use in steps 4 and 5.

If TOOL_TYPE is copilot:

The options are:

  1. Globally (default, available in all projects)
  2. Project-only (available only in this project)

Based on the scope, set the CONFIG_PATH variable:

  • Global: ~/.copilot/mcp-config.json (use the user's home directory)
  • Project: .mcp.json (relative to the current working directory)

Store this path for use in steps 4 and 5.

If TOOL_TYPE is claude:

The options are:

  1. User (available in all projects for this user)
  2. Project (default, available only in this project)
  3. Local (scoped to current project directory)

Based on the scope, set the CLAUDE_SCOPE variable:

  • User: CLAUDE_SCOPE = user
  • Project: CLAUDE_SCOPE = project
  • Local: CLAUDE_SCOPE = local

Store this value for use in step 5.

3. 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 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_canvas and sync_canvas from working and means you can't see or save generated changes.

Then extract from the 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-id query 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)
  • CLUSTER_CATEGORY: determined from MAKER_HOSTNAME (see table below)

Determine CLUSTER_CATEGORY from MAKER_HOSTNAME:

MAKER_HOSTNAMECLUSTER_CATEGORY
make.powerapps.comprod
make.preview.powerapps.comprod
make.gov.powerapps.usgov
make.high.powerapps.ushigh
make.apps.appsplatform.usdod
make.powerapps.cnchina
Any other hostnametest

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
  • CLUSTER_CATEGORY → prod

Store these as ENV_ID, APP_ID, and CLUSTER_CATEGORY for use in step 4.

4. Register the MCP server

If TOOL_TYPE is claude: Run the following command to register the server with Claude Code:

claude mcp add --scope {CLAUDE_SCOPE} canvas-authoring \
  -e CANVAS_ENVIRONMENT_ID={ENV_ID} \
  -e CANVAS_APP_ID={APP_ID} \
  -e CANVAS_CLUSTER_CATEGORY={CLUSTER_CATEGORY} \
  -- dnx Microsoft.PowerApps.CanvasAuthoring.McpServer --yes --prerelease --source https://api.nuget.org/v3/index.json

If the command fails because canvas-authoring is already registered, remove it first, then re-add:

claude mcp remove canvas-authoring
claude mcp add --scope {CLAUDE_SCOPE} canvas-authoring \
  -e CANVAS_ENVIRONMENT_ID={ENV_ID} \
  -e CANVAS_APP_ID={APP_ID} \
  -e CANVAS_CLUSTER_CATEGORY={CLUSTER_CATEGORY} \
  -- dnx Microsoft.PowerApps.CanvasAuthoring.McpServer --yes --prerelease --source https://api.nuget.org/v3/index.json

If TOOL_TYPE is vscode-copilot or copilot:

  1. Ensure the parent directory exists:

- If CONFIG_PATH is .vscode/mcp.json, run: mkdir -p.vscode - If CONFIG_PATH is the global ~/.copilot/mcp-config.json or .mcp.json, no directory creation is needed.

  1. Read the existing configuration file at CONFIG_PATH, or create a new empty config if it doesn't exist: {}
  2. Determine which top-level key to use:

- If the config already has "servers", or if the TOOL_TYPE is vscode-copilot, use that - Otherwise, use "mcpServers"

  1. Add or update the server entry: {"mcpServers": {"canvas-authoring": {"type": "stdio", "command": "dnx", "args": ["Microsoft.PowerApps.CanvasAuthoring.McpServer", "--yes", "--prerelease", "--source", "https://api.nuget.org/v3/index.json"], "env": {"CANVAS_ENVIRONMENT_ID": "{ENV_ID}", "CANVAS_APP_ID": "{APP_ID}", "CANVAS_CLUSTER_CATEGORY": "{CLUSTER_CATEGORY}"}}}}
  2. Write the updated configuration back to CONFIG_PATH with proper JSON formatting (2-space indentation).

Important notes:

  • Do NOT overwrite other entries in the configuration file
  • Preserve the existing structure and formatting

5. Confirm and provide next steps

If TOOL_TYPE is claude:

Tell the user:

✅ Canvas Authoring MCP server configured (canvas-authoring, scope: {CLAUDE_SCOPE}). Restart Claude Code to activate it. Remember to use claude --continue to resume this session without losing context. After restarting, verify the setup: - canvas-authoring should appear in the MCP server list - Ask Claude: "List available Canvas App controls" — should invoke list_controls

If TOOL_TYPE is vscode-copilot:

Tell the user:

✅ Canvas Authoring MCP server configured (canvas-authoring, configPath: {CONFIG_PATH}). After saving, verify the setup: - canvas-authoring should appear in the MCP server list - Ask Copilot: "List available Canvas App controls" — should invoke list_controls

If TOOL_TYPE is copilot:

Tell the user:

✅ Canvas Authoring MCP server configured (canvas-authoring, configPath: {CONFIG_PATH}). Restart GitHub Copilot CLI to activate it. After restarting, verify the setup: - canvas-authoring should appear in the MCP server list - Ask Copilot: "List available Canvas App controls" — should invoke list_controls

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.81%
按下载量换算69

Claude

30.96%
按下载量换算59

Cursor

18.08%
按下载量换算35

Gemini CLI

9.29%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills