Generate complete Power Platform custom connector with MCP integration for Copilot Studio - includes schema generation, troubleshooting, and validation
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-power-platform-mcp-connector-suite-1c3abf0ce94c ,按照其中的说明把「power-platform-mcp-connector-suite」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Generate comprehensive Power Platform custom connector implementations with Model Context Protocol integration for Microsoft Copilot Studio.
Currently Supported:
Not Yet Supported:
Create complete Power Platform connector with:
Core Files:
apiDefinition.swagger.json with x-ms-agentic-protocol: mcp-streamable-1.0apiProperties.json with connector metadata and authenticationscript.csx with custom C# transformations for MCP JSON-RPC handlingreadme.md with connector documentationMCP Integration:
/mcp endpoint for JSON-RPC 2.0 communicationValidate schemas for Copilot Studio compliance:
$ref) in tool inputs/outputs["string", "number"])Common issues and fixes:
x-ms-agentic-protocol headerGenerate all files for a new Power Platform MCP connector from scratch, including CLI validation setup.
Analyze and fix existing schemas for Copilot Studio compliance using paconn and validation tools.
Diagnose and resolve MCP integration issues with Copilot Studio using CLI debugging tools.
Add MCP capabilities to existing Power Platform connector with proper validation workflows.
Prepare connector for Microsoft certification submission with complete metadata and validation compliance.
Implement OAuth 2.0 authentication enhanced with MCP security best practices and advanced token validation.
1. apiDefinition.swagger.json
POST /mcp with proper protocol header2. apiProperties.json
iconBrandColor required)3. script.csx
4. Implementation guidance
x-ms-agentic-protocol: mcp-streamable-1.0 in MCP endpointpaconn validate --api-def apiDefinition.swagger.json passes without errorspac connector create/updateConnectorPackageValidator.ps1 runs successfullyMode: Complete New Connector
Connector Name: Customer Analytics MCP
Server Purpose: Customer data analysis and insights
Tools Needed:
- searchCustomers: Find customers by criteria
- getCustomerProfile: Retrieve detailed customer data
- analyzeCustomerTrends: Generate trend analysis
Resources:
- Customer profiles (JSON data)
- Analysis reports (structured data)
Authentication: oauth2
Host Environment: Azure Function
Target APIs: CRM REST API