mcp-copilot-studio-server-generator
できること
このジェネレーターは、Microsoft Copilot Studioが他のシステムと通信できるようにする「コネクタ」を作成します。通信を標準化して効率的に行えるようにし、Copilot Studioが外部の機能やデータを利用できるようにします。
使う場面
- ✓Copilot Studioから外部システムのデータにアクセスさせたいとき。
- ✓特定のAPIと連携する必要があるバーチャルアシスタントを作成するとき。
- ✓標準化された通信形式を必要とするツールにCopilot Studioを接続するとき。
スキルのリンク
https://github.com/github/awesome-copilot/blob/main/skills/mcp-copilot-studio-server-generator/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Copilot Studioが顧客情報をCRMから取得し、売上の傾向を分析できるように、コネクタを生成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
Copilot Studioが情報を送受信する方法を定めた設定ファイルとコードを作成します。これはMCPと呼ばれるプロトコルに従っており、Copilotが呼び出せる機能や、データの構造の定義も含まれます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
MCPとは何ですか?
MCPはModel Context Protocolの略です。Copilot Studioなどで使われる言語モデルが、外部のツールやサービスと構造化された方法でやり取りできるようにする通信規格です。
「参照型」とは何で、なぜ避けるのですか?
参照型は、データを複雑な方法で定義する型のことです。Copilot Studioは単純なデータ型(テキスト、数値、真偽値など)で最もうまく動作するため、このジェネレーターは互換性を確保するために参照型を削除または簡素化します。
この文脈での「ツール」とは何ですか?
ツールは、Copilot Studioが実行できる関数やコマンドのようなものです。このジェネレーターはツールを定義することで、Copilotが他のシステムでどの操作を実行できるかを把握できるようにします。
詳細
作者による元の説明
Generate a complete MCP server implementation optimized for Copilot Studio integration with proper schema constraints and streamable HTTP support
repo: github/awesome-copilot
人気
- GitHubのスター
- 40k
- ランキング
- #7278
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
acquire-codebase-knowledge
40kエージェントが、既存のコードプロジェクトを理解してドキュメント化できるよう支援します。新しく参加するメンバーのオンボーディングや、アーキテクチャの全体像の把握に役立ちます。
acreadiness-assess
40kエージェントが、プロジェクトのAI対応状況を評価してレポートを生成できるよう支援します。プロジェクトがAIツールをどの程度活用できる状態にあるかを把握するのに役立ちます。
acreadiness-generate-instructions
40kエージェントが、評価結果をもとにAIツール向けの指示文を作成できるよう支援します。AIがコードとどのようにやり取りするかを改善し、特定された不足点を解消するのに役立ちます。
acreadiness-policy
40kエージェントが、AIプロジェクトの評価ポリシーの策定や適用を支援できるようにします。プロジェクトの評価方法を標準化し、コンプライアンスを確保するのに役立ちます。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。