io.github.Ricky610329/mup
MCP server that turns HTML MUP panels into interactive UI tools for LLMs.
Ask AI about io.github.Ricky610329/mup
Powered by Claude Β· Grounded in docs
I know everything about io.github.Ricky610329/mup. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
MUP β Model UI Protocol
Bring interactive UI into LLM chat β so anyone can experience agentic AI, not just developers.
Current version: 0.2.8 | Protocol: mup/2026-03-17
Demos
Slides β AI builds a presentation live
Claude creates a full slide deck with charts, tables, and themes β all through function calls.
PDF to Presentation β AI reads a paper and presents it
Claude reads the AlexNet paper from a PDF, takes Markdown notes, captures figures with human-AI collaboration, builds a 19-slide presentation with charts and tables, then presents it slide by slide in the new in-panel reading mode β all narrated live.
Sound Pad β AI composes a track from scratch
16 browser-synthesized instruments, zero samples. Claude composes an electro swing track layer by layer, with event-driven narration synced to each section transition.
What is MUP?
A MUP is an interactive UI component that lives inside an LLM chat interface.
It bundles a visual interface with callable functions. The user operates it by clicking buttons; the LLM operates it through function calls. Both sides see each other's actions in real time.
The simplest MUP is a single .html file β no build step, no framework, no SDK.
Why?
Agentic AI is powerful, but today it's trapped behind text commands and developer tools. Most people never get to experience it.
MUP changes this. It puts clickable, visual UI right inside the chat β so anyone can use agentic capabilities without writing a single prompt.
| Traditional Chat | With MUP | |
|---|---|---|
| User interaction | Type text commands | Click buttons, drag sliders, see live visuals |
| Tool results | Hidden from user, only the LLM sees them | Visible and interactive for both sides |
| Who can use it | Power users who know the right prompts | Anyone |
Key Ideas
- Shared functions. A function can be called by the LLM (as a tool) or triggered by the user (via UI). Both sides operate on the same state through the same code.
- LLM as orchestrator. MUPs don't talk to each other. The LLM reads outputs and decides what to do next.
- Just HTML. Write a manifest, register your functions, done. Ship a single file.
Available MUPs
- Chat β Built-in, always available
- Slides β Presentation editor with charts, tables, themes, reading mode, and export (demo)
- PDF Reader β PDF viewer with page text extraction and region selection/capture
- Markdown β Markdown workspace with annotations and document management
- Sound Pad β 16-pad synthesizer with sequencer, per-track volume, and event system (demo)
- Voice β Speech synthesis and recognition (Jarvis mode)
- Progress β Task progress tracking
- More examples in
archive/examples/(pixel art, games, productivity, etc.)
Docs
- Spec β Protocol definition: manifest, functions, lifecycle, error handling
- Design Philosophy β Why MUP is designed this way, and what we intentionally left out
- Examples β Example MUPs with walkthroughs
Install
npm (recommended)
npm install -g mup-mcp-server
Or run directly:
npx mup-mcp-server --mups-dir ./my-mups
Also available on the MCP Server Registry.
From source
git clone https://github.com/Ricky610329/mup.git
cd mup/mup-mcp-server
npm install && npm run build
Getting Started
With Claude Code (recommended)
claude mcp add --transport stdio --scope user mup -- npx mup-mcp-server
Restart Claude Code. A browser window opens at http://localhost:3200. Use the MUPs panel to load a folder of MUP .html files, or start with the built-in Chat widget.
Real-time channel mode
MUPs can push interactions directly into Claude's conversation via channel notifications. To enable:
claude --dangerously-load-development-channels server:mup
This lets MUPs deliver user actions to Claude in real time. Without this flag, all MUP features still work β interactions are just delivered via polling instead of push.
Known issue (March 2026): Claude Code v2.1.80+ has a bug where
notifications/claude/channelevents are silently dropped and never reach the conversation. This affects all MCP channel implementations. MUP still works via polling (checkInteractions), but real-time push is broken. See anthropics/claude-code#36431 for tracking.
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mup": {
"command": "npx",
"args": ["mup-mcp-server"]
}
}
}
Quick Example
<script type="application/mup-manifest">
{
"name": "Counter",
"description": "A counter. User clicks +/-, LLM can set or read the value.",
"functions": [
{
"name": "setCount",
"description": "Set the counter to a specific value",
"inputSchema": {
"type": "object",
"properties": { "value": { "type": "number" } },
"required": ["value"]
}
},
{
"name": "getCount",
"description": "Get the current counter value",
"inputSchema": { "type": "object", "properties": {} }
}
]
}
</script>
Drop this into a MUP-compatible host, and it works.
Architecture
ββββββββββββββββββββββββββββββββββββββββββββ
β MUP (.html file) β
β manifest + UI + functions β
ββββββββββββββββββββ¬ββββββββββββββββββββββββ
β loaded by
βΌ
ββββββββββββββββ
β MCP Server β
β (Claude Code β
β / Desktop) β
ββββββββ¬ββββββββ
β WebSocket
βΌ
βββββββββββββββββββββββββββββββ
β Browser Panel β
β (MUP grid + Chat widget β
β + workspace manager) β
βββββββββββββββββββββββββββββββ



