github/awesome-copilot/skills/mcp-copilot-studio-server-generator/SKILL.md
mcp-copilot-studio-server-generator
Generate a complete MCP server implementation optimized for Copilot Studio integration with proper schema constraints and streamable HTTP support
- Source repository stars
- 37,126
- Declared platforms
- 0
- Static risk flags
- 0
- Last source update
- 2026-07-28
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
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.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/github/awesome-copilot --skill "skills/mcp-copilot-studio-server-generator"Inspect the Agent Skill "mcp-copilot-studio-server-generator" from https://github.com/github/awesome-copilot/blob/9933dcad5be5caeb288cebcd370eeeb2fc2f1685/skills/mcp-copilot-studio-server-generator/SKILL.md at commit 9933dcad5be5caeb288cebcd370eeeb2fc2f1685. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Instructions
Create a complete MCP server implementation that:
Uses Copilot Studio MCP Pattern:Implement x-ms-agentic-protocol: mcp-streamable-1.0Support JSON-RPC 2.0 communication protocol - 02
Example Usage
Review the “Example Usage” section in the pinned source before continuing.
Review and apply the “Example Usage” source section. - 03
Context Variables
Server Purpose: [Describe what the MCP server should accomplish]
Server Purpose: [Describe what the MCP server should accomplish]Tools Needed: [List of specific tools to implement]Resources: [Types of resources to provide] - 04
Expected Output
1. apiDefinition.swagger.json with: - Proper x-ms-agentic-protocol: mcp-streamable-1.0 - MCP endpoint at POST /mcp - Compliant schema definitions (no reference types) - McpResponse and McpErrorResponse definitions
apiDefinition.swagger.json with:Proper x-ms-agentic-protocol: mcp-streamable-1.0MCP endpoint at POST /mcp
Permission review
Static risk signals and limitations
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 80/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 37,126 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- github/awesome-copilot
- Skill path
- skills/mcp-copilot-studio-server-generator/SKILL.md
- Commit
- 9933dcad5be5caeb288cebcd370eeeb2fc2f1685
- License
- MIT
- Collected
- 2026-07-28
- Default branch
- main
View the original SKILL.md
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:
-
Uses Copilot Studio MCP Pattern:
- Implement
x-ms-agentic-protocol: mcp-streamable-1.0 - Support JSON-RPC 2.0 communication protocol
- Provide streamable HTTP endpoint at
/mcp - Follow Power Platform connector structure
- Implement
-
Schema Compliance Requirements:
- NO reference types in tool inputs/outputs (filtered by Copilot Studio)
- Single type values only (not arrays of multiple types)
- Avoid enum inputs (interpreted as string, not enum)
- Use primitive types: string, number, integer, boolean, array, object
- Ensure all endpoints return full URIs
-
MCP Components to Include:
- Tools: Functions for the language model to call (✅ Supported in Copilot Studio)
- Resources: File-like data outputs from tools (✅ Supported in Copilot Studio - must be tool outputs to be accessible)
- Prompts: Predefined templates for specific tasks (❌ Not yet supported in Copilot Studio)
-
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
- Server Purpose: [Describe what the MCP server should accomplish]
- Tools Needed: [List of specific tools to implement]
- Resources: [Types of resources to provide]
- Authentication: [Auth method: none, api-key, oauth2]
- Host Environment: [Azure Function, Express.js, FastAPI, etc.]
- Target APIs: [External APIs to integrate with]
Expected Output
Generate:
-
apiDefinition.swagger.json with:
- Proper
x-ms-agentic-protocol: mcp-streamable-1.0 - MCP endpoint at POST
/mcp - Compliant schema definitions (no reference types)
- McpResponse and McpErrorResponse definitions
- Proper
-
apiProperties.json with:
- Connector metadata and branding
- Authentication configuration
- Policy templates if needed
-
script.csx with:
- Custom C# code for request/response transformations
- MCP JSON-RPC message handling logic
- Data validation and processing functions
- Error handling and logging capabilities
-
MCP Server Code with:
- JSON-RPC 2.0 request handler
- Tool registration and execution
- Resource management (as tool outputs)
- Proper error handling
- Copilot Studio compatibility checks
-
Individual Tools that:
- Accept only primitive type inputs
- Return structured outputs
- Include resources as outputs when needed
- Provide clear descriptions for Copilot Studio
-
Deployment Configuration for:
- Power Platform environment
- Copilot Studio agent integration
- Testing and validation
Validation Checklist
Ensure generated code:
- No reference types in schemas
- All type fields are single types
- Enum handling via string with validation
- Resources available through tool outputs
- Full URI endpoints
- JSON-RPC 2.0 compliance
- Proper x-ms-agentic-protocol header
- McpResponse/McpErrorResponse schemas
- Clear tool descriptions for Copilot Studio
- Generative Orchestration compatible
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