mcp-copilot-studio-server-generator

人工智能 / Agent Agent 与技能管理 1 文件 EN 原文

'Generate a complete MCP server implementation o

'Generate a complete MCP server implementation optimized for Copilot Studio integration with proper schema constraints and streamable HTTP support'

说明语言:英文

来源githubawesome-copilot ↗ 查看原文件 ↗版权归原作者,请遵循原仓库许可
安装
npx skills add https://github.com/github/awesome-copilot --skill mcp-copilot-studio-server-generator

需要已安装 skills CLI。也可以直接从源仓库 clone。

在星云中查看 ↗
SKILL.md 原文

name: mcp-copilot-studio-server-generator description: 'Generate a complete MCP server implementation optimized for Copilot Studio integration with proper schema constraints and streamable HTTP support' ---

Power Platform MCP Connector Generator

Generate a complete Power Platform custom connector with Model Context Protocol (MCP) integration for Microsoft Copilot Studio. This prompt creates all necessary files following Power Platform connector standards with MCP streamable HTTP support.

Instructions

Create a complete MCP server implementation that:

  1. Uses Copilot Studio MCP Pattern:
  2. Implement x-ms-agentic-protocol: mcp-streamable-1.0
  3. Support JSON-RPC 2.0 communication protocol
  4. Provide streamable HTTP endpoint at /mcp
  5. Follow Power Platform connector structure
  1. Schema Compliance Requirements:
  2. NO reference types in tool inputs/outputs (filtered by Copilot Studio)
  3. Single type values only (not arrays of multiple types)
  4. Avoid enum inputs (interpreted as string, not enum)
  5. Use primitive types: string, number, integer, boolean, array, object
  6. Ensure all endpoints return full URIs
  1. MCP Components to Include:
  2. Tools: Functions for the language model to call (✅ Supported in Copilot Studio)
  3. Resources: File-like data outputs from tools (✅ Supported in Copilot Studio - must be tool outputs to be accessible)
  4. Prompts: Predefined templates for specific tasks (❌ Not yet supported in Copilot Studio)
  1. Implementation Structure:
   /apiDefinition.swagger.json  (Power Platform connector schema)
   /apiProperties.json         (Connector metadata and configuration)
   /script.csx                 (Custom code transformations and logic)
   /server/                    (MCP server implementation)
   /tools/                     (Individual MCP tools)
   /resources/                 (MCP resource handlers)

Context Variables

Expected Output

Generate:

  1. apiDefinition.swagger.json with:
  2. Proper x-ms-agentic-protocol: mcp-streamable-1.0
  3. MCP endpoint at POST /mcp
  4. Compliant schema definitions (no reference types)
  5. McpResponse and McpErrorResponse definitions
  1. apiProperties.json with:
  2. Connector metadata and branding
  3. Authentication configuration
  4. Policy templates if needed
  1. script.csx with:
  2. Custom C# code for request/response transformations
  3. MCP JSON-RPC message handling logic
  4. Data validation and processing functions
  5. Error handling and logging capabilities
  1. MCP Server Code with:
  2. JSON-RPC 2.0 request handler
  3. Tool registration and execution
  4. Resource management (as tool outputs)
  5. Proper error handling
  6. Copilot Studio compatibility checks
  1. Individual Tools that:
  2. Accept only primitive type inputs
  3. Return structured outputs
  4. Include resources as outputs when needed
  5. Provide clear descriptions for Copilot Studio
  1. Deployment Configuration for:
  2. Power Platform environment
  3. Copilot Studio agent integration
  4. Testing and validation

Validation Checklist

Ensure generated code:

Example Usage

Server Purpose: Customer data management and analysis
Tools Needed: 
  - searchCustomers
  - getCustomerDetails
  - analyzeCustomerTrends
Resources:
  - Customer profiles
  - Analysis reports
Authentication: oauth2
Host Environment: Azure Function
Target APIs: CRM System REST API
同类技能
add-new-opc-skillagent-architectureagent-browseragent-governanceagent-owasp-complianceagent-skill-stackagent-supply-chainagentcore
本页内容来自开源项目 github, 版权归原作者所有。
本站仅作技能索引与分享,所有 Skill 版权归其原作者所有。