
Mup
io.github.Ricky610329由 GitHub 帳號 Ricky610329 發布v0.1.1更新於 Oct 27, 2026
MCP server that turns HTML MUP panels into interactive UI tools for LLMs.
概覽
把 HTML 版 MUP 面板託管在本地瀏覽器儀表板中的 MCP 伺服器,讓助理呼叫面板函式並看到使用者操作。
- 可以做什麼
- 把一組 MUP .html 面板載入本地瀏覽器儀表板,並使用內建 Chat 元件
- 以工具形式呼叫面板函式並讀取結果,助理與使用者共用同一份狀態
- 使用 Slides、PDF Reader、Markdown、Notes、Diagram、Pixel Art、Timer、Progress、Sound Pad、Chord Pad、Voice、Star Map 等內建面板
- 透過 channel 通知即時接收使用者互動,未開啟時改用輪詢
- 適用情境
- 適合希望助理在對話中建立並操作視覺化、可點擊介面的情境,例如簡報、圖表、筆記、PDF 閱讀或小型互動示範,而不只是文字回覆。
- 執行需求
- 透過 npm 套件 mup-mcp-server 以 stdio 在本機執行(npx 或全域安裝),需要 Node.js 22.13 或更新版本;瀏覽器會在 localhost:3200 開啟面板介面。未宣告帳號、API 金鑰或環境變數。
安裝
README
MUP — Model UI Protocol
Bring interactive UI into LLM chat — so anyone can experience agentic AI, not just developers.
Current version: 0.2.11 | 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.
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)
- Chord Pad — Music theory keyboard with 5 synth voices, chord progressions, and melody playback
- Diagram — Auto-layouted node-and-edge diagrams (flowcharts, mind maps, architectures) with multiple layout algorithms
- Star Map — Location-based interactive star map with constellations, ecliptic, and Milky Way
- Voice — Speech synthesis and recognition (Jarvis mode)
- Notes — Sticky-note workspace with groups, styles, and export
- Pixel Art — Pixel canvas with shapes, ASCII patterns, fills, and PNG export
- Timer — Countdown timer / stopwatch with event-driven completion
- Progress — Task progress tracking
- Chess — Board and mascot demo with basic movement rules (check/checkmate and en passant are not implemented)
- More examples in
archive/examples/(games, productivity, etc.)
Focused Development
For iteratively building a single MUP with Claude (edit .html → Chrome hot reloads → user interacts → channel pushes back to Claude → repeat), see mup-mini-mcp-server — a scaffolding-style sibling that loads exactly one MUP and provides only the plumbing: hot reload, WebSocket bridge, and channel push. No catalog, no grid, no extras.
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)
Or run directly:
Also available on the MCP Server Registry.
From source
Development
Requires Node.js 22.13 or newer. From the repository root:
Both packages remain independently installable. npm test inside either package rebuilds it first. CI tests both packages on Node.js 22. See the review report for the fixes and validation scope.
Both hosts bind to 127.0.0.1 and accept the local UI's origin. Run trusted MUPs: the same-origin iframe setup supports browser storage and media APIs, and is not an isolation boundary for untrusted HTML. The dashboard's workspace registration grants access to the working directory.
Getting Started
With Claude Code (recommended)
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:
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.
With Claude Desktop
Add to your claude_desktop_config.json:
Quick Example
Drop this into a MUP-compatible host, and it works.
Architecture
Star History
License
來源:README.md,提交 107f9d5
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分