mcp-copilot-studio-server-generator

Generate a Power Platform custom connector and streamable MCP server for Copilot Studio.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/BrunoAMSilva/my-config --skill mcp-copilot-studio-server-generator-brunoamsilva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-copilot-studio-server-generator
Source: https://github.com/BrunoAMSilva/my-config/tree/main/coding/skills/mcp-copilot-studio-server-generator
Command: npx skills add https://github.com/BrunoAMSilva/my-config --skill mcp-copilot-studio-server-generator-brunoamsilva

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate a complete Power Platform custom connector and MCP server implementation that enables Copilot Studio agents to call deterministic tools, return file-like resources, and stream JSON-RPC responses over HTTP.

Core Features & Use Cases

  • Power Platform Connector Output: Produces apiDefinition.swagger.json and apiProperties.json files that conform to connector standards and include x-ms-agentic-protocol: mcp-streamable-1.0.
  • Streamable MCP Server: Implements a POST /mcp JSON-RPC 2.0 endpoint with streamable HTTP support, tool registration, resource outputs, and robust error handling.
  • Schema Validation & Compatibility: Enforces no reference types, single-type fields, enum-as-string handling, and McpResponse/McpErrorResponse schemas for Copilot Studio compatibility.
  • Use Case: Build an Azure Function or Express.js-hosted MCP server that exposes data-processing tools for customer analytics, reporting, or third-party API orchestration integrated into Copilot Studio.

Quick Start

Generate a complete MCP server for Copilot Studio that implements x-ms-agentic-protocol: mcp-streamable-1.0, exposes a POST /mcp JSON-RPC 2.0 endpoint, includes apiDefinition.swagger.json, apiProperties.json, script.csx, server code, tool handlers, resource outputs, and deployment instructions.

Frequently Asked Questions about mcp-copilot-studio-server-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Power Platform custom connector for an MCP server?

To create a Power Platform custom connector for an MCP server, you need apiDefinition.swagger.json and apiProperties.json files that include the x-ms-agentic-protocol: mcp-streamable-1.0 property. This generates a complete connector implementation ready for Copilot Studio.

How do I set up a streamable MCP endpoint using JSON-RPC 2.0?

A streamable MCP endpoint using JSON-RPC 2.0 requires a POST /mcp route that handles tool invocation, resource outputs, and robust error handling. This configuration enables deterministic tools to stream responses over HTTP directly to Copilot Studio agents.

Does Copilot Studio support MCP servers hosted on Azure Functions or Node.js?

Yes, Copilot Studio supports MCP servers hosted on Azure Functions or Node.js. The server must implement a POST /mcp JSON-RPC 2.0 endpoint and generate a compatible Power Platform custom connector to function correctly.

Why does my MCP schema fail validation in Copilot Studio?

Your MCP schema fails validation in Copilot Studio if it contains reference types, multi-type fields, or missing McpResponse and McpErrorResponse schemas. Strict schema compliance requires single-type fields and enum-as-string validation for compatibility.

What is the x-ms-agentic-protocol mcp-streamable-1.0 used for?

The x-ms-agentic-protocol: mcp-streamable-1.0 is used to define a streamable MCP server connection within a Power Platform custom connector. It enables Copilot Studio agents to call deterministic tools and return file-like resources over HTTP.

Can I generate deployment artifacts and tool handlers for a Copilot Studio MCP server?

Yes, you can generate deployment artifacts and tool handlers for a Copilot Studio MCP server. This includes server code, script.csx, tool registration, resource outputs, and deployment instructions for Azure Functions or Express.js environments.