mcp-create-declarative-agent

Generate Microsoft 365 Copilot declarative agent manifests with MCP server integration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the creation of Microsoft 365 Copilot declarative agents by automating integration with a Model Context Protocol (MCP) server, tool selection, authentication configuration, and generation of required manifests and plugin files so developers avoid manual manifest editing and inconsistent configurations.

Core Features & Use Cases

  • Automated Scaffolding: Generate appPackage manifest.json, declarativeAgent.json, and ai-plugin.json configured to call MCP runtimes.
  • MCP Integration & Tool Selection: Import available MCP functions, pick a minimal secure subset, and auto-generate function definitions and response_semantics mappings.
  • Authentication & Deployment: Configure OAuth or SSO references, produce .env templates, and prepare the package for local debugging and Teams sideloading.
  • Use Case: Integrate a ticketing system or knowledge service as an MCP backend to expose search and action functions to a Copilot declarative agent.

Quick Start

Provide the MCP server URL, list the tools to expose, choose OAuth or SSO authentication, and request generation of the appPackage and ai-plugin configuration.

Frequently Asked Questions about mcp-create-declarative-agent

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

FAQPage Schema
How do I create a Microsoft 365 Copilot declarative agent that integrates with an MCP server?

To create a declarative agent, provide the Model Context Protocol server URL, select tools, and configure authentication. The system then auto-generates appPackage manifests, declarativeAgent configurations, and ai-plugin manifests for Teams and Copilot testing.

What's the best way to configure OAuth or SSO authentication for Copilot declarative agents?

Configuring authentication for Copilot declarative agents involves selecting OAuth or SSO references during project setup. The system automatically produces .env templates and manifest entries to establish secure runtime connections for MCP functions.

How does Model Context Protocol tool selection work for Microsoft 365 Copilot plugins?

Model Context Protocol tool selection imports available MCP functions from the server, allowing you to pick a minimal secure subset. It then auto-generates function definitions and response_semantics mappings for the Copilot plugin.

Can I use Agents Toolkit to scaffold appPackage and ai-plugin manifests for Microsoft Teams?

Yes, you can use Agents Toolkit to scaffold declarative agents for Microsoft Teams. It generates the required appPackage manifest.json, declarativeAgent.json, and ai-plugin.json files configured to call MCP runtimes for sideloading and testing.

Why do I need to define response_semantics and runtimes for MCP-based functions in Copilot agents?

Defining response_semantics and runtimes for MCP-based functions ensures Copilot agents correctly interpret and execute tool outputs. The scaffolding process automatically generates these mappings to satisfy declarative agent manifest requirements.

What limitations exist when manually editing manifests for MCP declarative agents?

Manual manifest editing for MCP declarative agents risks inconsistent configurations and errors in function definitions. Automated scaffolding avoids this by standardizing appPackage and ai-plugin generation, ensuring correct authentication and runtime mappings.