Mcpdemos
БесплатноНе проверенDemonstrates MCP capabilities through 8 runnable demos including tools, resources, and bidirectional communication, covering patterns like polite CLI, OAuth han
Описание
Demonstrates MCP capabilities through 8 runnable demos including tools, resources, and bidirectional communication, covering patterns like polite CLI, OAuth handoff, async progress, and shared UI artifacts.
README
8 runnable demos showcasing Model Context Protocol capabilities - from text-only tools to interactive MCP Apps with bidirectional communication.
Quick Start
node --version # Requires Node 20+
npm install
npm run dev # Start MCP server (stdio transport)
For production:
npm run build
npm start
VS Code Configuration
Add to .vscode/settings.json to auto-discover the server:
{
"mcp": {
"servers": {
"mcpdemos": {
"command": "node",
"args": ["dist/index.js"],
"cwd": "${workspaceFolder}"
}
}
}
}
For development with tsx:
{
"mcp": {
"servers": {
"mcpdemos": {
"command": "npx",
"args": ["tsx", "src/index.ts"],
"cwd": "${workspaceFolder}"
}
}
}
}
Demos
| # | Demo | Category | Tools | Resources |
|---|---|---|---|---|
| 1 | Polite CLI vs Teammate | Hook | demo1_polite_cli |
- |
| 2 | Elicitation Mid-Flow | Negotiation | demo2_scaffold_start, demo2_scaffold_confirm |
- |
| 3 | Secure OAuth Handoff | Security | demo3_request_consent, demo3_approve_consent, demo3_protected_action |
- |
| 4 | Async Progress | Coordination | demo4_start_pipeline, demo4_check_progress |
- |
| 5 | Cancel / Retry / Resume | Coordination | demo5_cancel_task, demo5_retry_task, demo5_list_tasks |
- |
| 6 | Colour Picker | Shared Artifacts | demo6_save_color, demo6_get_palette |
ui://color-picker |
| 7 | Component Gallery | Shared Artifacts | demo7_gallery_state |
ui://component-gallery |
| 8 | Export Artifacts | Platform | demo8_export_report, demo8_list_exports |
- |
Runbooks
- ShowRun All Demos - All Demos Walkthrough Script
- 5-Minute Runbook - Quick highlights (Demos 1, 2, 3, 4, 6, 8)
- 15-Minute Runbook - Full walkthrough with stage timing for all 8 demos
Architecture
src/
index.ts ← Server entry point (stdio transport)
demos/
demo1-polite-cli.ts ← Tool: verbose CLI responses
demo2-elicitation.ts ← Tools: scaffold start + confirm
demo3-oauth.ts ← Tools: consent → approve → action
demo4-async-progress.ts ← Tools: pipeline + progress polling
demo5-cancel-retry.ts ← Tools: cancel, retry, list tasks
demo6-color-picker.ts ← Tool + Resource: colour picker UI
demo7-component-gallery.ts ← Tool + Resource: gallery UI
demo8-export-artifacts.ts ← Tool: report generation
examples/
demo{1-8}/README.md ← Per-demo docs with stage scripts
docs/
5-minute-runbook.md
15-minute-runbook.md
outputs/ ← Generated reports (Demo 8)
Graceful Degradation
If a host doesn't support MCP Apps (ui:// resources), all demos fall back to text-only tool interactions. The UI resources are optional enhancements.
Dependencies
@modelcontextprotocol/sdk- MCP server frameworkzod- Schema validationtsx(dev) - TypeScript execution- No external APIs, databases, or cloud services required
Licence
MIT
Установка Mcpdemos
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/leestott/mcpdemosFAQ
Mcpdemos MCP бесплатный?
Да, Mcpdemos MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Mcpdemos?
Нет, Mcpdemos работает без API-ключей и переменных окружения.
Mcpdemos — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Mcpdemos в Claude Desktop, Claude Code или Cursor?
Открой Mcpdemos на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
LibreOffice Tools
Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a
автор: passerbyflutterdannote/figma-use
Full Figma control: create shapes, text, components, set styles, auto-layout, variables, export. 80+ tools.
автор: dannoteLogo.dev
Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content
автор: NOVA-3951PIX4Dmatic
Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem
автор: jangjo123Compare Mcpdemos with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории design
