Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

mcp-configureMCP configure 搜索

Agent Skill

mcp-configure 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

166,320

周安装

7,039

GitHub Stars

31,675

下载量

58,240
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/github/awesome-copilot --skill mcp-configure

简介

为 GitHub Copilot 的 MCP 服务器集成配置 Dataverse 环境。

  • 支持全局(所有项目)和项目范围的配置路径,并自动创建目录
  • 通过 Power Apps API 从您的 Azure 帐户自动发现 Dataverse 环境,或接受手动 URL 输入作为后备
  • 根据组织标识符生成唯一的服务器名称,并使用 GA 或预览端点选项在 MCP 配置文件中注册服务器
  • 验证现有配置以标记已注册的环境并防止意外覆盖其他服务器条目

SKILL.md

Configure Dataverse MCP for GitHub Copilot

This skill configures the Dataverse MCP server for GitHub Copilot with your organization's environment URL. Each organization is registered with a unique server name based on the org identifier (e.g., DataverseMcporgbc9a965c). If the user provided a URL it is: $ARGUMENTS.

Instructions

0. Ask for MCP scope

Ask the user whether they want to configure the MCP server globally or for this project only:

Would you like to configure the Dataverse MCP server: 1. Globally (available in all projects) 2. Project-only (available only in this project)

Based on their choice, set the CONFIG_PATH variable:

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

Store this path for use in steps 1 and 6.

1. Check already-configured MCP servers

Read the MCP configuration file at CONFIG_PATH (determined in step 0) to check for already-configured servers.

The configuration file is a JSON file with the following structure:

{
  "mcpServers": {
    "ServerName1": {
      "type": "http",
      "url": "https://example.com/api/mcp"
    }
  }
}

Or it may use "servers" instead of "mcpServers" as the top-level key.

Extract all url values from the configured servers and store them as CONFIGURED_URLS. For example:

["https://orgfbb52bb7.crm.dynamics.com/api/mcp"]

If the file doesn't exist or is empty, treat CONFIGURED_URLS as empty ([]). This step must never block the skill.

2. Ask how to get the environment URL

Ask the user:

How would you like to provide your Dataverse environment URL? 1. Auto-discover — List available environments from your Azure account (requires Azure CLI) 2. Manual entry — Enter the URL directly

Based on their choice:

  • If Auto-discover: Proceed to step 2a
  • If Manual entry: Skip to step 2b

2a. Auto-discover environments

Check prerequisites:

  • Verify Azure CLI (az) is installed (check with which az or where az on Windows)
  • If not installed, inform the user and fall back to step 2b

Make the API call:

  1. Check if the user is logged into Azure CLI: az account show If this fails, prompt the user to log in: az login
  2. Get an access token for the Power Apps API: az account get-access-token --resource https://service.powerapps.com/ --query accessToken --output tsv
  3. Call the Power Apps API to list environments: GET https://api.powerapps.com/providers/Microsoft.PowerApps/environments?api-version=2016-11-01 Authorization: Bearer {token} Accept: application/json
  4. Parse the JSON response and filter for environments where properties?.linkedEnvironmentMetadata?.instanceUrl is not null.
  5. For each matching environment, extract:

- properties.displayName as displayName - properties.linkedEnvironmentMetadata.instanceUrl (remove trailing slash) as instanceUrl

  1. Create a list of environments in this format: [{"displayName": "My Org (default)", "instanceUrl": "https://orgfbb52bb7.crm.dynamics.com"}, {"displayName": "Another Env", "instanceUrl": "https://orgabc123.crm.dynamics.com"}]

If the API call succeeds, proceed to step 3.

If the API call fails (user not logged in, network error, no environments found, or any other error), tell the user what went wrong and fall back to step 2b.

2b. Manual entry — ask for the URL

Ask the user to provide their environment URL directly:

Please enter your Dataverse environment URL. Example: https://myorg.crm10.dynamics.com You can find this in the Power Platform Admin Center under Environments.

Then skip to step 4.

3. Ask the user to select an environment

Present the environments as a numbered list. For each environment, check whether any URL in CONFIGURED_URLS starts with that environment's instanceUrl — if so, append (already configured) to the line.

I found the following Dataverse environments on your account. Which one would you like to configure? 1. My Org (default) — https://orgfbb52bb7.crm.dynamics.com (already configured) 2. Another Env — https://orgabc123.crm.dynamics.com Enter the number of your choice, or type "manual" to enter a URL yourself.

If the user selects an already-configured environment, confirm that they want to re-register it (e.g. to change the endpoint type) before proceeding.

If the user types "manual", fall back to step 2b.

4. Confirm the selected URL

Take the instanceUrl from the chosen environment (or the manually entered URL) and strip any trailing slash. This is USER_URL for the remainder of the skill.

5. Confirm if the user wants "Preview" or "Generally Available (GA)" endpoint

Ask the user:

Which endpoint would you like to use? 1. Generally Available (GA)/api/mcp (recommended) 2. Preview/api/mcp_preview (latest features, may be unstable)

Based on their choice:

  • If GA: set MCP_URL to {USER_URL}/api/mcp
  • If Preview: set MCP_URL to {USER_URL}/api/mcp_preview

6. Register the MCP server

Update the MCP configuration file at CONFIG_PATH (determined in step 0) to add the new server.

Generate a unique server name from the USER_URL:

  1. Extract the subdomain (organization identifier) from the URL

- Example: https://orgbc9a965c.crm10.dynamics.comorgbc9a965c

  1. Prepend DataverseMcp to create the server name

- Example: DataverseMcporgbc9a965c

This is the SERVER_NAME.

Update the configuration file:

  1. If CONFIG_PATH is for a project-scoped configuration (.mcp/copilot/mcp.json), ensure the directory exists first: mkdir -p.mcp/copilot
  2. Read the existing configuration file at CONFIG_PATH, or create a new empty config if it doesn't exist: {}
  3. Determine which top-level key to use:

- If the config already has "servers", use that - Otherwise, use "mcpServers"

  1. Add or update the server entry: {"mcpServers": {"{SERVER_NAME}": {"type": "http", "url": "{MCP_URL}"}}}
  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
  • If SERVER_NAME already exists, update it with the new MCP_URL

Proceed to step 7.

7. Confirm success and instruct restart

Tell the user:

✅ Dataverse MCP server configured for GitHub Copilot at {MCP_URL}. Configuration saved to: {CONFIG_PATH} IMPORTANT: You must restart your editor for the changes to take effect. Restart your editor or reload the window, then you will be able to: - List all tables in your Dataverse environment - Query records from any table - Create, update, or delete records - Explore your schema and relationships

8. Troubleshooting

If something goes wrong, help the user check:

  • The URL format is correct (https://<org>.<region>.dynamics.com)
  • They have access to the Dataverse environment
  • The environment URL matches what's shown in the Power Platform Admin Center
  • Their Environment Admin has enabled "Dataverse CLI MCP" in the Allowed Clients list
  • Their Environment has Dataverse MCP enabled, and if they're trying to use the preview endpoint that is enabled
  • For project-scoped configuration, ensure the .mcp/copilot/mcp.json file was created successfully
  • For global configuration, check permissions on the ~/.copilot/ directory

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.59%
按下载量换算20,728

Claude

29.3%
按下载量换算17,064

Cursor

19.45%
按下载量换算11,328

Gemini CLI

9.37%
按下载量换算5,457

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills