mup

v0.1.1
io.github.Ricky610329/mup Checked 1 day ago Published 8 months ago

MCP server that turns HTML MUP panels into interactive UI tools for LLMs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

mup

MUP — Interactive UI panels in browser at http://localhost:3200. Auto-activated on first use. Call: { "mupId": "...", "functionName": "...", "functionArgs": { ... } } Actions: checkInteractions, save, load, workspaces, list, history, pipe

ParameterTypeDescription
actionstring"checkInteractions" to check user UI activity, "list" to list MUPs, "pipe" to manage data pipes. Omit when calling a function.
debounceMsnumberDebounce interval in ms (default 500).
descriptionstringWorkspace description — what you're working on. Used with save action.
functionArgsobjectArguments for the function. Can be a JSON object or JSON string.
functionNamestringFunction to call (e.g. makeMove, renderChart, setPixels)
mupIdstringMUP ID (e.g. mup-chess, mup-chart). Auto-activated on first use.
namestringWorkspace name for save/load/deleteWorkspace actions.
pipeIdstringPipe ID for delete/enable/disable.
sincenumberUnix timestamp (ms). Only return interactions after this time. Used with checkInteractions.
sourceFunctionstringOptional: call this function on source to get data (else uses stateData).
sourceMupIdstringPipe source MUP ID.
subActionstringFor pipe action: "create", "list", "delete", "enable", "disable"
targetFunctionstringFunction to call on target MUP.
targetMupIdstringPipe target MUP ID.
transformobjectKey mapping: { targetArgName: "source.path" }. Use "." for entire data, "'literal'" for strings.