본문으로 건너뛰기
Skillpedia
에이전트40k · #7279

mcp-create-adaptive-cards

하는 일

이 도구는 Microsoft 365 Copilot 같은 애플리케이션에서 데이터를 더 체계적으로 보여 주기 위한 'Adaptive Cards'라는 시각 카드를 만들도록 돕습니다. API가 돌려준 데이터를 어떻게 보여 줄지 직접 정의할 수 있습니다.

사용하는 경우

  • ✓API 데이터를 보기 쉬운 형태로 보여 주고 싶을 때.
  • ✓데이터 종류가 항상 같을 때 표준 시각 응답을 만들 때.
  • ✓데이터에 따라 서로 다른 시각 레이아웃으로 여러 종류의 정보를 보여 줄 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/mcp-create-adaptive-cards/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/mcp-create-adaptive-cards/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 은행 계좌들의 이름과 잔액을 보여 주는 시각 카드를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

카드 템플릿을 설정 파일에 정의합니다. 템플릿에는 API 데이터를 시각 카드에 어떤 구조로 표시할지 적혀 있습니다. 도구는 이 템플릿을 사용해 응답을 보기 좋게 정리합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

---
mode: 'agent'
tools: ['changes', 'search/codebase', 'edit/editFiles', 'problems']
description: 'Add Adaptive Card response templates to MCP-based API plugins for visual data presentation in Microsoft 365 Copilot'
model: 'gpt-4.1'
tags: [mcp, adaptive-cards, m365-copilot, api-plugin, response-templates]
---

# Create Adaptive Cards for MCP Plugins

Add Adaptive Card response templates to MCP-based API plugins to enhance how data is presented visually in Microsoft 365 Copilot.

## Adaptive Card Types

### Static Response Templates
Use when API always returns items of the same type and format doesn't change often.

Define in `response_semantics.static_template` in ai-plugin.json:

```json
{
  "functions": [
    {
      "name": "GetBudgets",
      "description": "Returns budget details including name and available funds",
      "capabilities": {
        "response_semantics": {
          "data_path": "$",
          "properties": {
            "title": "$.name",
            "subtitle": "$.availableFunds"
          },
          "static_template": {
            "type": "AdaptiveCard",
            "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
            "version": "1.5",
            "body": [
              {
                "type": "Container",
                "$data": "${$root}",
                "items": [
                  {
                    "type": "TextBlock",
                    "text": "Name: ${if(name, name, 'N/A')}",
                    "wrap": true
                  },
                  {
                    "type": "TextBlock",
                    "text": "Available funds: ${if(availableFunds, formatNumber(availableFunds, 2), 'N/A')}",
                    "wrap": true
                  }
                ]
              }
            ]
          }
        }
      }
    }
  ]
}
```

### Dynamic Response Templates
Use when API returns multiple types and each item needs a different template.

**ai-plugin.json configuration:**
```json
{
  "name": "GetTransactions",
  "description": "Returns transaction details with dynamic templates",
  "capabilities": {
    "response_semantics": {
      "data_path": "$.transactions",
      "properties": {
        "template_selector": "$.displayTemplate"
      }
    }
  }
}
```

**API Response with Embedded Templates:**
```json
{
  "transactions": [
    {
      "budgetName": "Fourth Coffee lobby renovation",
      "amount": -2000,
      "description": "Property survey for permit application",
      "expenseCategory": "permits",
      "displayTemplate": "$.templates.debit"
    },
    {
      "budgetName": "Fourth Coffee lobby renovation",
      "amount": 5000,
      "description": "Additional funds to cover cost overruns",
      "expenseCategory": null,
      "displayTemplate": "$.templates.credit"
    }
  ],
  "templates": {
    "debit": {
      "type": "AdaptiveCard",
      "version": "1.5",
      "body": [
        {
          "type": "TextBlock",
          "size": "medium",
          "weight": "bolder",
          "color": "attention",
          "text": "Debit"
        },
        {
          "type": "FactSet",
          "facts": [
            {
              "title": "Budget",
              "value": "${budgetName}"
            },
            {
              "title": "Amount",
              "value": "${formatNumber(amount, 2)}"
            },
            {
              "title": "Category",
              "value": "${if(expenseCategory, expenseCategory, 'N/A')}"
            },
            {
              "title": "Description",
              "value": "${if(description, description, 'N/A')}"
            }
          ]
        }
      ],
      "$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
    },
    "credit": {
      "type": "AdaptiveCard",
      "version": "1.5",
      "body": [
        {
          "type": "TextBlock",
          "size": "medium",
          "weight": "bolder",
          "color": "good",
          "text": "Credit"
        },
        {
          "type": "FactSet",
          "facts": [
            {
              "title": "Budget",
              "value": "${budgetName}"
            },
            {
              "title": "Amount",
              "value": "${formatNumber(amount, 2)}"
            },
            {
              "title": "Description",
              "value": "${if(description, description, 'N/A')}"
            }
          ]
        }
      ],

…
자주 묻는 질문

Adaptive Cards는 무엇인가요?

Microsoft 365 Copilot 같은 여러 플랫폼에서 정보를 체계적이고 상호작용할 수 있는 방식으로 보여 주는 시각 템플릿입니다.

'API 플러그인'은 무엇인가요?

Copilot 같은 시스템이 정해진 인터페이스(API)를 통해 다른 시스템의 기능이나 데이터에 접근하도록 해 주는 프로그램입니다.

도구는 어떤 카드를 쓸지 어떻게 아나요?

기본 템플릿을 정해 둘 수 있습니다. 또는 데이터 안에서 각 항목마다 어떤 템플릿을 쓸지 알려 주는 필드를 지정할 수도 있습니다.

상세 정보

작성자의 원본 설명

Skill converted from mcp-create-adaptive-cards.prompt.md

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7279
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬