
Mcp Create Declarative Agent
github/awesome-copilotOfficial
This generates the complete file structure for integrating an MCP server with Microsoft 365 Copilot as a declarative agent. It scaffolds manifest.json, declarativeAgent.json, and ai-plugin.json with proper authentication flows, tool imports, and response semantics mapping. You'd use this when you need to connect Copilot to external APIs through the Model Context Protocol rather than building custom connectors. The workflow walks through server URL configuration, OAuth setup, and tool selection from the MCP endpoint. It handles the tedious parts like proper schema validation and environment variable templating that usually trip people up when setting up these integrations manually.
- skills.sh installs
- 8.7K
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill mcp-create-declarative-agent --agent claude-codeInstalls into .claude/skills of the current project.
Files
---
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
2. **Add MCP action** pointing to MCP server
3. **Select tools** to import from MCP server
4. **Configure authentication** (OAuth 2.0 or SSO)
5. **Review generated files** (manifest.json, ai-plugin.json, declarativeAgent.json)
### Key Files Generated
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Git & Pull Requests, AI & Agent Building
More from github/awesome-copilot
All 318- Create Spring Boot Kotlin Project8.7K
- Typespec Create Api Plugin8.7K
- Cosmosdb Datamodeling8.7K
- Power Platform Mcp Connector Suite8.7K
- Sponsor Finder8.7K
- Mcp Copilot Studio Server Generator8.7K
- Kotlin Mcp Server Generator8.7K
- Az Cost Optimize8.7K
- Declarative Agents8.7K
- Shuffle Json Data8.7K
- Azure Resource Health Diagnose8.7K
- Typespec Create Agent8.7K
- Centos Linux Triage8.7K
- Containerize Aspnet Framework8.7K
- Update Avm Modules In Bicep8.6K
- Entra Agent User8.6K
- Ruby Mcp Server Generator8.6K
- Winapp Cli8.4K
- Model Recommendation8.4K
- Polyglot Test Agent8.4K
- Csharp Mcp Server Generator8.4K
- Datanalysis Credit Risk7.3K
- Msstore Cli7K
- Create Oo Component Documentation7K
Recommended
More Git & Pull Requests1
create-spring-boot-kotlin-projectgithub/awesome-copilotCreate Spring Boot Kotlin Project Skeleton8.7Kskills.sh installs
2
typespec-create-api-plugingithub/awesome-copilotGenerate a TypeSpec API plugin with REST operations, authentication, and Adaptive Cards for Microsoft 365 Copilot8.7Kskills.sh installs
3
cosmosdb-datamodelinggithub/awesome-copilotStep-by-step guide for capturing key application requirements for NoSQL use-case and produce Azure Cosmos DB Data NoSQL Model design using best practices and co8.7Kskills.sh installs
4
power-platform-mcp-connector-suitegithub/awesome-copilotGenerate complete Power Platform custom connector with MCP integration for Copilot Studio - includes schema generation, troubleshooting, and validation8.7Kskills.sh installs
5
sponsor-findergithub/awesome-copilotFind which of a GitHub repository's dependencies are sponsorable via GitHub Sponsors. Uses deps.dev API for dependency resolution across npm, PyPI, Cargo, Go, R8.7Kskills.sh installs
6
mcp-copilot-studio-server-generatorgithub/awesome-copilotGenerate a complete MCP server implementation optimized for Copilot Studio integration with proper schema constraints and streamable HTTP support8.7Kskills.sh installs