mcpbeat Sign in

MCP Copilot Studio Server Generator Agent Skill

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

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
1
copies elsewhere
how many repositories repackaged it
37394
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/github/awesome-copilot --skill mcp-copilot-studio-server-generator

The instruction itself

6 sections, as written by the author

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
  • 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
  • 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

Other skills for the same job

different authors, same section of the catalogue
Skill Creator
by anthropics
vendor ×10

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

56k tokens scripts
Skill Creator
by vercel-labs
vendor ×10

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

12k tokens scripts
Skill Creator
by JayZeeDesign
×9

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

10k tokens scripts
Template Skill
by JayZeeDesign
×7

Replace with description of the skill and when Claude should use it.

35 tokens
Dispatching Parallel Agents
by ZhanlinCui
×5

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

2k tokens
Skill Development
by anthropics
vendor ×4

This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.

9k tokens
Find Skills
by sanity-io
vendor ×4

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

1k tokens
Writing Skills
by ZhanlinCui
×4

Use when creating new skills, editing existing skills, or verifying skills work before deployment

26k tokens scripts

How to use it

Copy the folder

Take github/mcp-copilot-studio-server-generator from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.