
digitarald/mcp-apps-playground
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
digitarald/mcp-apps-playgroundは[https://github.com/digitarald/mcp-apps-playground.からインポートされたMCPサーバー候補です
概要
digitarald/mcp-apps-playgroundは[https://github.com/digitarald/mcp-apps-playground.からインポートされたMCPサーバー候補です
概要(AI 翻訳)
MCP Apps Extension (SEP-1865) を使用したインタラクティブな UI 機能を示すデモ MCP サーバーです。
##特徴
[[T1], flame_graph, feature_flags], feature_flags], [Zodスキーマ検証ツール
- ̇ [
ui://] リソースを使用して [text/html;profile=mcp-app- ファイル拡張子** - HTML UI - [[[
ui/notifications/tool-input]を介してUIに渡されたデータ - [[
ui/message]を介してチャットにメッセージを送信することができます - η Dual Transport - stdio (デフォルト) および HTTP/SSE
ツール
[list_sort — インタラクティブリストの注文
前に: エージェントは、MCP ツール → からリストデータを受け取り、分析 → ユーザがテキストの出力とリクエストの調整 → 複数のバック・アンド・フォース メッセージを読み、実際の設定と整列します。
MCPアプリで: エージェントは、提案された注文とともにドラッグアンドドロップインターフェイスを表示します。 ユーザーは、アイテムを視覚的に並べ替えるためのドメイン知識を適用したり、エージェントの推論のために「Ask AI to sort」をクリックしたりします。
️️ ドラッグアンドドロップ再オーダー・ ☞ 「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, andfeature_flagstools with Zod schema validation - 📱 Apps Extension - HTML UI via
ui://resources withtext/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
インストール
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"]
}
}
}