mcpdemos
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcpdemosrun the polite CLI demo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Demos
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 startVS 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 | Hook |
| - | |
2 | Negotiation |
| - | |
3 | Security |
| - | |
4 | Coordination |
| - | |
5 | Coordination |
| - | |
6 | Shared Artifacts |
|
| |
7 | Shared Artifacts |
|
| |
8 | Platform |
| - |
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 executionNo external APIs, databases, or cloud services required
Licence
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leestott/mcpdemos'
If you have feedback or need assistance with the MCP directory API, please join our Discord server