智能体工作流

mcp-create-declarative-agent

github/awesome-copilot

Skill converted from mcp-create-declarative-agent.prompt.md

  • 8702 次安装
  • 4.1万 星标
  • 收录于

安装命令

npx skills add https://github.com/github/awesome-copilot --skill mcp-create-declarative-agent

要点

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: