mcp-create-declarative-agent
🎯Skillfrom github/awesome-copilot
Creates declarative agents for Microsoft 365 Copilot by integrating MCP servers with authentication, tool selection, and agent configuration.
Overview
A GitHub Copilot skill for creating declarative agents for Microsoft 365 Copilot that integrate with Model Context Protocol (MCP) servers. It scaffolds complete agent projects using the Microsoft 365 Agents Toolkit, including manifest files, MCP plugin configuration, authentication setup (OAuth 2.0 or SSO), and tool selection from connected MCP servers.
Key Features
- Complete project scaffolding: Generates the full
appPackage/structure withmanifest.json,declarativeAgent.json,ai-plugin.json, and.vscode/mcp.json— all properly linked and configured for Microsoft 365 Copilot. - MCP server integration: Connects to any MCP server by URL, fetches available tools, and lets users select specific tools to import with auto-generated function definitions in the plugin manifest.
- Flexible authentication: Supports OAuth 2.0 with Plugin Vault reference IDs for production scenarios and Single Sign-On (SSO) for simplified authentication, with environment variable templates for credential management.
- Response semantics and data mapping: Configures JSONPath-based data mapping to extract titles, subtitles, and URLs from API responses for Copilot citations, with optional Adaptive Card integration for rich visual presentation.
- Testing and deployment workflow: Provides step-by-step guidance for local testing via Agents Toolkit provisioning, sideloading in Teams, validating tool imports, and troubleshooting common issues with MCP connectivity, authentication, and tool discovery.
Who is this for?
This skill is designed for Microsoft 365 developers who want to extend Copilot with custom capabilities powered by MCP servers. It is especially useful for teams connecting Copilot to internal APIs, third-party services like GitHub or Jira, or custom backend systems — enabling natural language interaction with external data through a standardized declarative agent framework.
Same repository
github/awesome-copilot(315 items)
Installation
npx vibeindex add github/awesome-copilot --skill mcp-create-declarative-agentnpx skills add github/awesome-copilot --skill mcp-create-declarative-agent~/.claude/skills/mcp-create-declarative-agent/SKILL.mdSKILL.md
More from this repository10
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
Generates comprehensive Product Requirements Documents (PRDs) by systematically analyzing requirements and crafting detailed technical specifications
Expert technical writer guided by the Diataxis framework, creating tutorials, how-to guides, reference docs, and explanation pages for software documentation.
Generates Excalidraw diagrams from natural language descriptions, creating visual representations of processes, systems, relationships, and ideas.
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
Provides Spring Boot best practices covering project setup, dependency injection, REST API design, data access with JPA, security configuration, and testing strategies.
Creates optimized multi-stage Dockerfiles for any language or framework, separating builder and runtime stages to produce smaller, more secure container images.
Creates README.md files for projects.
Merges mature lessons from domain memory files into instruction files, consolidating knowledge with minimal redundancy across global, user, and workspace scopes.