Browse
→ Code & Dev
→ LeanUI MCP
LeanUI MCP
Exposes a visual UI graph editor through MCP tools for project structure, node edits, data queries, debugging and code generation. Graphs can export Lean 4 specifications, HTML and React code. Static checks and native Lean proof execution are separate paths; a proof covers its modeled properties. Local stdio and HTTP transports are documented. Public source appeared November 29, 2026 (UTC).
MCP unverified
Integration
| Transport | stdio |
| Auth | none |
| Endpoint | node /absolute/path/to/LeanUI/packages/mcp-server/dist/stdio.js --lean-project /absolute/path/to/LeanUI/lean |
| Install | Review pinned source and npm dependencies with Node 20 or later, build the workspace and manually register packages/mcp-server/dist/stdio.js with a dedicated Lean project; review optional Lean toolchain and WASM downloads before fetching them; begin with a synthetic graph, approve filesystem writes, live data queries and provider calls separately and keep HTTP bound locally unless access controls are reviewed |
Use Cases
| 01 | Inspect the structure of a synthetic UI graph |
| 02 | Compare generated code with the modeled state constraints |
Tags
ui-graphs lean4 code-generation modeled-invariants
Machine-readable: /api/servers.json
· JSON-LD schema embedded in <head>