mcp-create-declarative-agent

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

By github · 8,757 installs

npx skills add github/awesome-copilot --skill mcp-create-declarative-agent

Source repository · Upstream listing

json { "$schema": "https://developer.microsoft.com/json schemas/teams/vDevPreview/MicrosoftTeams.schema.json", "manifestVersion": "devPreview", "version": "1.0.0", "id": "...", "developer": { "name": "...", "websiteUrl": "...", "privacyUrl": "...", "termsOfUseUrl": "..." }, "name": { "short": "Agent Name", "full": "Full Agent Name" }, "description": { "short": "Short description", "full": "Full description" }, "copilotAgents": { "declarativeAgents": [ { "id": "declarativeAgent", "file": "declarativeAgent.json" } ] } } json { "$schema": "https://aka.ms/json schemas/copilot/declarative agent/v1.0/schema.json", "version": "v1.0", "name": "Agent Name", "description": "Agent description", "instructions": "You are an assistant that helps with [specific domain]. Use the available tools to [capabilities].", "capabilities": [ { "name": "WebSearch", "websites": [ { "url": "https://learn.microsoft.com" } ] }, { "name": "MCP", "file": "ai plugin.json" } ] } json { "schema version": "v2.1", "name for human": "Service Name", "description for human": "Description for users", "description for model": "Description for AI model", "contact email": "support@company.com", "namespace": "serviceName", "capabilities": { "conversation starters": [ { "text": "Example query 1" } ] }, "functions": [ { "name": "functionName", "description": "Function description", "capabilities": { "response semantics": { "data path": "$", "properties": { "title": "$.title", "subtitle": "$.description" } } } } ], "runtimes": [ { "type": "MCP", "spec": { "url": "https://api.service.com/mcp/" }, "run for functions": ["functionName"], "auth": { "type": "OAuthPluginVault", "reference id": "${{OAUTH REFERENCE ID}}" } } ] } json { "serverUrl": "https://api.service.com/mcp/", "pluginFilePath": "appPackage/ai plugin.json" } json "auth": { "type": "OAuthPluginVault", "reference id": "${{OAUTH REFERENCE ID}}", "authorization url": "https://auth.service.com/authorize", "client id": "${{CLIENT ID}}", "client secret": "${{CLIENT SECRET}}", "scope": "read write" } json "auth": { "type": "SSO" } json "capabilities": { "response semantics": { "data path": "$.results", "properties": { "title": "$.name", "subtitle": "$.description", "url": "$.link" } } } env OAUTH REFERENCE ID=your oauth reference id CLIENT ID=your client id CLIENT SECRET=your client secret URL: https://api.githubcopilot.com/mcp/ Tools: search repositories, search users, get repository Auth: OAuth 2.0 URL: https://your domain.atlassian.net/mcp/ Tools: search issues, create issue, update issue Auth: OAuth 2.0 URL: https://api.your service.com/mcp/ Tools: Custom tools exposed by your service Auth: OAuth 2.0 or SSO