mcp-create-declarative-agent

Generate Microsoft 365 Copilot declarative agents with MCP server integration.

1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill mcp-create-declarative-agent-gabeujin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-create-declarative-agent
Source: https://github.com/Gabeujin/workspace-init-mcp/tree/main/awesome/skills/mcp-create-declarative-agent
Command: npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill mcp-create-declarative-agent-gabeujin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation of declarative agents for Microsoft 365 Copilot by integrating with Model Context Protocol (MCP) servers, simplifying the process of connecting AI agents to external data and systems.

Core Features & Use Cases

  • Declarative Agent Scaffolding: Generates the necessary files and structure for a declarative agent using the Microsoft 365 Agents Toolkit.
  • MCP Server Integration: Configures the agent to connect to an MCP server for accessing external tools and data.
  • Tool Selection & Configuration: Allows selection of specific tools from the MCP server and configures authentication (OAuth 2.0 or SSO).
  • Use Case: A developer needs to build a Copilot agent that can access real-time inventory data from their company's internal API. This Skill will generate the agent's manifest, declarative definition, and MCP plugin configuration, enabling Copilot to query the internal API.

Quick Start

Use the mcp-create-declarative-agent skill to create a new declarative agent for Microsoft 365 Copilot that integrates with your MCP server at https://api.service.com/mcp/.

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 build a Microsoft 365 Copilot declarative agent that connects to an MCP server?

To build a Microsoft 365 Copilot declarative agent, this Skill generates the necessary manifest, declarative definition, and MCP plugin configuration files. It scaffolds the project structure using the Microsoft 365 Agents Toolkit and sets up the MCP server connection.

How does declarative agent authentication work when integrating with an MCP server?

Declarative agent authentication for MCP server integration supports OAuth 2.0 and Single Sign-On (SSO) configurations. You can select specific tools from the MCP server and configure the required authentication method during the agent generation process.

What is the best way to create an M365 Copilot agent that queries an external API?

The best way to create an M365 Copilot agent for external API queries is by integrating with an MCP server. This approach generates an agent capable of accessing real-time external data using configured tools and adaptive card integration options.

Do I need the Microsoft 365 Agents Toolkit to set up a declarative agent with MCP?

Yes, the Microsoft 365 Agents Toolkit is used for declarative agent scaffolding. It generates the required files and project structure needed to connect your Copilot agent to an MCP server and configure external data access.

Can I select specific tools from an MCP server for my M365 Copilot declarative agent?

Yes, you can select specific tools from the MCP server during the declarative agent configuration process. The Skill configures the chosen tools alongside the authentication method and response semantics for your Copilot agent.