DM

digitarald/mcp-apps-playground

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

74 stars 17 forks 품질 71 트렌드 0MIT

digitarald/mcp-apps-playground는 MCP 서버 후보가 https://github.com/digitarald/mcp-apps-playground.에서 수입됩니다

개요

digitarald/mcp-apps-playground는 MCP 서버 후보가 https://github.com/digitarald/mcp-apps-playground.에서 수입됩니다

개요(AI 번역)

MCP 앱 확장 (SEP-1865)을 사용하여 데모 MCP 서버 showcasing 대화 형 UI 기능.

특징

  • MCP Tools** - hello_world, list_sort, flame_graph], feature_flags] Zod 스키마 검증 도구
  • **앱 확장 ** - HTML UI via ui://] text/html;profile=mcp-app]
  • ☸ structuredContent - [T6]를 통해 UI로 전달된 데이터
  • Я ** 양방향 ** - UI는 ui/message]을 통해 채팅으로 다시 메시지를 보낼 수 있습니다
  • ♨ Dual Transport - stdio (기본값) 및 HTTP/SSE

도구

list_sort — 대화형 목록 주문

: 에이전트는 MCP 도구에서 목록 데이터를 수신 → 분석에 따라 정렬 된 순서를 제시 → 사용자는 텍스트 출력 및 요청 조정을 읽습니다 → 실제 선호도와 일치하기 위해 여러 백 및 공유 메시지.

MCP 앱: Agent는 제안된 순서와 함께 드래그 앤 드롭 인터페이스를 표시합니다. 사용자는 시각적으로 주문 항목에 대한 도메인 지식을 적용하거나 에이전트의 이유에 대한 "Ask AI to Sort"을 클릭합니다.

D️ Drag-and-drop reordering · “Ask AI to Sort” · ↩️ 재설정 · 채팅 저장


flame_graph - 성능 프로파일러 시각화

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MCP Apps Playground

A demo MCP server showcasing interactive UI capabilities using the MCP Apps Extension (SEP-1865).

Features

  • 🔧 MCP Tools - hello_world, list_sort, flame_graph, and feature_flags tools with Zod schema validation
  • 📱 Apps Extension - HTML UI via ui:// resources with text/html;profile=mcp-app
  • 📦 structuredContent - Data passed to UI via ui/notifications/tool-input
  • 💬 Bidirectional - UIs can send messages back to chat via ui/message
  • 🚀 Dual Transport - stdio (default) and HTTP/SSE

Tools

list_sort — Interactive List Reordering

Before: Agent receives list data from an MCP tool → proposes a sorted order based on its analysis → user reads text output and requests adjustments → multiple back-and-forth messages to align with actual preferences.

With MCP Apps: Agent displays a drag-and-drop interface alongside its suggested order. User applies domain knowledge to reorder items visually, or clicks “Ask AI to Sort” for the agent’s reasoning—true collaboration where both contribute.

🖱️ Drag-and-drop reordering · 🤖 “Ask AI to Sort” · ↩️ Reset · 💾 Save to chat


flame_graph — Performance Profiler Visualization

Before: Agent receives CPU profile data from an MCP tool → analyzes the JSON and identifies bottlenecks → user sees only the agent’s text summary → no way to validate hypotheses or apply domain-specific context.

With MCP Apps: Agent renders an interactive flame graph and can annotate suspected hot paths. User explores the visualization with their own domain knowledge—confirming or rejecting the agent’s hypotheses, drilling into areas the agent might have overlooked.

🔍 Click-to-zoom hierarchy · 💬 Hover tooltips · 🧭 Breadcrumb nav · 📊 Send frame to chat


feature_flags — Feature Flag Selector

Before: Agent fetches flag configuration from an MCP tool → summarizes which flags exist and their status → user cross-references with deployment context → asks agent to generate integration code separately.

With MCP Apps: Agent displays a searchable flag picker with live environment status. User selects flags based on their release priorities, switches between prod/staging/dev views, and generates SDK code—agent provides data, user drives decisions.

🌍 Environment tabs · 🔎 Search & filter · ☑️ Multi-select · 📝 Generate SDK code

Quick Start

# Install dependencies
npm install

# Build
npm run build

# Run with stdio transport (for Claude Desktop, Cursor, VS Code)
npm run dev

# Or run with HTTP transport (for web-based clients)
npm run dev:http

# Test with MCP Inspector
npm run inspector        # stdio
npm run inspector:http   # HTTP (start server first)

Project Structure

src/
├── index.ts           # Main server (stdio transport)
├── http-server.ts     # HTTP transport variant
└── ui/
    ├── hello-world.ts # Greeting UI template
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mcp-apps-playground": { "command": "node", "args": ["/path/to/mcp-apps-playground/dist/index.js"] } } }