К основному содержанию
скилл GitHub Copilot официальный · GitHub

mcp-copilot-studio-server-generator — скилл для GitHub Copilot

Генерирует MCP-сервер и файлы Power Platform для интеграции с Copilot Studio. Нужен при создании custom connector со streamable HTTP.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add github/awesome-copilot --skill mcp-copilot-studio-server-generator -a claude-code
Открыть на GitHub

Что делает mcp-copilot-studio-server-generator

Скилл подготавливает структуру Power Platform custom connector с MCP-интеграцией: apiDefinition.swagger.json, apiProperties.json, script.csx, код сервера, инструменты и обработчики ресурсов. Он задаёт endpoint POST /mcp, протокол JSON-RPC 2.0 и заголовок x-ms-agentic-protocol: mcp-streamable-1.0.

Схемы строятся без reference types, с одним значением в поле type и примитивными типами. Enum предлагается передавать строкой с валидацией. Ресурсы нужно возвращать из инструментов, потому что так они доступны в Copilot Studio; промпты там пока не поддерживаются.

Перед запуском задайте назначение сервера, набор tools, ресурсы, метод аутентификации, окружение хостинга и целевые API. Скилл стоит ставить командам, которые собирают MCP-коннектор именно для Copilot Studio; для другого MCP-хоста его ограничения будут лишними.

Какие задачи решает

  • создать custom connector для Power Platform
  • добавить endpoint POST /mcp
  • соблюсти ограничения схем Copilot Studio
  • описать MCP-инструменты с примитивными входными данными
  • вернуть ресурсы через результаты tools

Примеры запросов агенту

  • «Создай MCP-сервер для управления данными клиентов через CRM System REST API.»
  • «Добавь tools `searchCustomers`, `getCustomerDetails` и `analyzeCustomerTrends` с oauth2.»
  • «Сгенерируй `apiDefinition.swagger.json` и `script.csx` для Azure Function.»

Как установить mcp-copilot-studio-server-generator

1Через Skills CLI (Vercel)

npx skills add github/awesome-copilot --skill mcp-copilot-studio-server-generator -a claude-code

2Вручную: положить файлы

~/.claude/skills/mcp-copilot-studio-server-generator/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/mcp-copilot-studio-server-generator/

Похожие

mcp-builder официальный anthropics Скилл проводит через создание MCP-сервера на TypeScript или Python: от изучения протокола до тестов и оценки качества. Claude Code Claude.ai 130 949установок java-springboot официальный github Задаёт практики разработки Spring Boot-приложений: от структуры проекта до тестов и безопасности. Пригодится, когда Copilot пишет или проверяет Java-код. GitHub Copilot 21 272установок typescript-advanced-types Seth Hobson Помогает агенту писать сложную типизацию TypeScript: generics, conditional types и преобразования типов. Нужен для библиотек, API-клиентов и строгих конфигураций. Claude Code CX Codex Cursor 92 169установок microsoft-code-reference официальный github Проверяет Microsoft API и SDK по официальной документации, ищет рабочие примеры и помогает разбирать ошибки в Azure и .NET-коде. GitHub Copilot 14 251установок typescript-mcp-server-generator официальный github Генерирует TypeScript-проект MCP-сервера с инструментами, ресурсами и конфигурацией. Пригодится, когда нужно быстро заложить сервер на MCP TypeScript SDK v2. GitHub Copilot 12 050установок dotnet-design-pattern-review официальный github Проверяет выбранный C#/.NET-код на применение паттернов проектирования и предлагает правки без изменения файлов. Подходит для ревью архитектуры проекта. GitHub Copilot 11 609установок

Вопросы о mcp-copilot-studio-server-generator

Как установить mcp-copilot-studio-server-generator в GitHub Copilot?

Выполните npx skills add github/awesome-copilot --skill mcp-copilot-studio-server-generator. Также доступна команда gh skill install github/awesome-copilot mcp-copilot-studio-server-generator.

Что делает mcp-copilot-studio-server-generator?

Скилл направляет агента на создание MCP-сервера и Power Platform connector для Copilot Studio. В результат входят схема коннектора, метаданные, C#-скрипт и код MCP-инструментов.

Какие ограничения Copilot Studio учитывает скилл?

Он исключает reference types, массивы типов и enum во входах инструментов. Ресурсы оформляются как результаты tools, а prompts не используются из-за ограничений Copilot Studio.

Исходный текст

SKILL.md · MIT
---
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:**
   - 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

2. **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

3. **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)

4. **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:

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

2. **apiProperties.json** with:
   - Connector metadata and branding
   - Authentication configuration
   - Policy templates if needed

3. **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

4. **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

5. **Individual Tools** that:
   - Accept only primitive type inputs
   - Return structured outputs
   - Include resources as outputs when needed
   - Provide clear descriptions for Copilot Studio

6. **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

```yaml
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
```

© github · MIT · github/awesome-copilot

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой