mcp-create-declarative-agent

Installation
Summary

Scaffold a declarative agent for Microsoft 365 Copilot integrated with an MCP server.

  • Generates complete project structure including manifest.json, declarativeAgent.json, and ai-plugin.json with tool definitions auto-imported from MCP servers
  • Supports OAuth 2.0 and SSO authentication with environment variable configuration and secure credential storage
  • Provides response semantics mapping to extract and format API response data for Copilot consumption
  • Includes MCP server integration workflow covering tool selection, endpoint validation, and local testing via Teams sideloading
SKILL.md
---
mode: 'agent'
tools: ['changes', 'search/codebase', 'edit/editFiles', 'problems']
description: 'Create a declarative agent for Microsoft 365 Copilot by integrating an MCP server with authentication, tool selection, and configuration'
model: 'gpt-4.1'
tags: [mcp, m365-copilot, declarative-agent, model-context-protocol, api-plugin]
---

# Create MCP-based Declarative Agent for Microsoft 365 Copilot

Create a complete declarative agent for Microsoft 365 Copilot that integrates with a Model Context Protocol (MCP) server to access external systems and data.

## Requirements

Generate the following project structure using Microsoft 365 Agents Toolkit:

### Project Setup
1. **Scaffold declarative agent** via Agents Toolkit
Related skills

More from github/awesome-copilot

Installs
8.4K
GitHub Stars
32.8K
First Seen
Feb 25, 2026