ui-ux-pro-max
A design toolkit for Claude Code covering UI styling, design tokens and component specs, brand identity and voice, banners, logos, and HTML slide presentations with charts.
yctimlin/mcp_excalidraw is a plugin that gives AI agents a live Excalidraw canvas to draw on, inspect, and refine. Use it when you want diagrams and whiteboard sketches built directly in your repo, through the excalidraw-skill.
Claude Code
$ npx -y skills add yctimlin/mcp_excalidraw --agent claude-code
Codex
$ npx skills add yctimlin/mcp_excalidraw -a codex
Cursor
$ npx skills add yctimlin/mcp_excalidraw -a cursor
Gemini CLI
$ npx skills add yctimlin/mcp_excalidraw -a gemini-cli
GitHub Copilot
$ npx skills add yctimlin/mcp_excalidraw -a github-copilot
OpenCode
$ npx skills add yctimlin/mcp_excalidraw -a opencode
Windsurf
$ npx skills add yctimlin/mcp_excalidraw -a windsurf

mcp-excalidraw-server gives AI agents a live Excalidraw canvas they can draw on, look at, refine, and save into your repo. Your agent creates architecture diagrams and flowcharts programmatically, sees its own work via screenshots, fixes layout problems, and exports .excalidraw files you can commit next to your code.
One canvas, three ways to drive it:
npx -y mcp-excalidraw-server <command>. Zero config, auto-starts the canvas, composable JSON in/out.2026-07-28 (server/discover, per-request _meta envelope, tool calls without a handshake) and stays compatible with 2025-era clients that open with initialize.Core drawing runs locally (Node ≥ 20, MIT licensed) — no API keys or accounts. Mermaid conversion runs in the local browser canvas; share is optional and uploads an encrypted scene to excalidraw.com by default (or your own instance). The canvas page loads Excalidraw's fonts from the esm.sh CDN.
AI agent creates a complete architecture diagram from a single prompt (4x speed). Watch full video on YouTube
Ask your agent to "draw the architecture of this service" and it produces a real, editable Excalidraw diagram — not a one-shot image. Because the agent can query, screenshot, and update individual elements, it iterates until labels fit, nothing overlaps, and arrows route cleanly; then it exports the result as a .excalidraw file that lives in your repo and gets updated when the code changes.
Under the hood there are two processes, one product:
http://127.0.0.1:3000)Since v1.1 the canvas server starts itself: canvas-driving CLI commands (and the MCP server on launch) auto-spawn it if nothing is listening. status only inspects the current server state. Set EXCALIDRAW_NO_AUTOSTART=1 to opt out.
Excalidraw has an official MCP — a chat widget that streams a diagram inline from a single prompt (the model gets two tools: a format reference and create_view). It's great for "draw me a cat" in Claude or ChatGPT. We solve a different problem: giving coding agents a persistent canvas workbench.
| Official Excalidraw MCP | This Project | |
|---|---|---|
| Approach | Prompt in, diagram out (one-shot widget) | Programmatic element-level control (CLI + 27 MCP tools) |
| State | Checkpoints inside the chat widget | Live canvas with real-time sync and optional restart-safe checkpoints |
| Element CRUD | Declarative re-send with delete markers | Full create / read / update / delete per element |
| AI sees the canvas | No | describe (structured text) + screenshot (image) |
| Iterative refinement | Regenerate from checkpoint | Draw → look → adjust → look again, element by element |
| Layout tools | No | align, distribute, group / ungroup, lock, duplicate |
| File I/O | No model-facing export | .excalidraw export/import — diagrams as repo artifacts |
| Snapshot & rollback | Widget-side checkpoints | Named server-side snapshots |
| Mermaid conversion | No | mermaid / create_from_mermaid |
| Shareable URLs | Widget-only | share / export_to_excalidraw_url |
| Viewport control | Camera animations | set_viewport (zoom-to-fit all or selected elements, center on one element, manual zoom) |
| Works without MCP | No | Yes — CLI + agent skill + REST API |
| Multi-agent | Single chat | Multiple agents on the same canvas concurrently |
TL;DR — The official MCP shows Excalidraw diagrams in your chat. This project gives your coding agent a full Excalidraw workbench: a canvas it can draw on, inspect, refine, and commit to your repo.
Current package version: 2.2.0. The current release line is v2.2 — Editable PNGs & Durable Canvas.
--embed-scene / embedScene: true embeds the scene in a PNG (PNG only, off by default). Import or render it later — one .excalidraw.png is both the README preview and editable source. (#132, thanks @FortniteGamer747)EXCALIDRAW_DATA_DIR to keep elements, image files and named snapshots across restarts. Each change is saved before it is acknowledged; one process owns the directory at a time. Unset, the canvas stays in-memory. Native embeddable, iframe and magicframe elements sync in durable mode too. (#130, thanks @IndelibleVivi; #133)share / export_to_excalidraw_url at your own instance with EXCALIDRAW_SHARE_UPLOAD_URL and EXCALIDRAW_SHARE_BASE_URL. Defaults still go to excalidraw.com. (#138, thanks @j2ali)get_selection (MCP) and selection (CLI) return selected element IDs. With several tabs, the tab that last changed the selection wins; selection is in memory only. (#149, thanks @Totopo27; requested in #147 by @fgeierst)EXCALIDRAW_EXPORT_DIR after resolving symlinks; broken symlinks and file types inappropriate for the tool are refused. The CLI is unaffected. (#148, fixes #146 reported by @niananto)query_elements preserves boolean and numeric filter types. (#126, thanks @sanjayy0612)?element= links scroll after the scene loads; copy link, copy as SVG and wrap in frame preserve dark mode. (#142, #141, #143, thanks @tomerSP)invalid order key. (#115, thanks @fernandovmacedo)screenshot, export_to_image and get_canvas_screenshot render inside the canvas server: Excalidraw's own SVG exporter runs under Node (jsdom) and resvg rasterizes to PNG with bundled Excalifont/Virgil/Cascadia/Liberation fonts. Same output as the tab, deterministic (byte-identical for an unchanged scene), a few milliseconds per render, works in CI and Docker. See Headless Rendering.dark, scale (1–4), padding, elementIds (render a subset), frameId (render one frame), embedFonts. --renderer browser keeps the old tab path.render command: npx -y mcp-excalidraw-server render docs/arch.excalidraw --out docs/arch.png renders a committed file offline — no canvas server at all.width/height now default to 100×100 in exports and renders (matching the canvas) instead of collapsing to 0×0.width: 0, height: 0 (scenes from pre-2.0 servers) is re-measured on export instead of exporting invisible. (#107)server/discover, per-request _meta envelopes); legacy initialization-based clients keep working unchanged. (#98, thanks @anxkhn).excalidraw / .excalidraw.md files contain real Excalidraw elements — shape and arrow labels as bound text, live arrow bindings — so they open correctly on excalidraw.com and in the Obsidian Excalidraw plugin instead of losing labels (or being re-saved empty by the plugin). (#93, #95).excalidraw.md files import correctly (#94, thanks @cason-miles); ## Text Elements block references now cover shape labels too.containerId, textAlign, originalText, ...) pass through the server intact — fixes browser-edited text vanishing after sync. (#92, thanks @junuxyz)set_viewport gains scrollToElementIds (multi-element zoom-to-fit) and viewportZoomFactor, with strict single-mode validation and real error reporting. (#86, thanks @acercyc)See 12 mcp-excalidraw alternatives
A design toolkit for Claude Code covering UI styling, design tokens and component specs, brand identity and voice, banners, logos, and HTML slide presentations with charts.
Design guidance for AI coding agents that helps shape, critique, polish, and improve frontend interfaces such as websites, landing pages, and dashboards. It includes live browser iteration and rules that catch common issues in AI-generated frontend design.
Turns a brief into a design prototype, website, app, deck, or video that follows your design system, then lets your team share it and refine it with an AI agent in the same project.
Creates branded editorial diagrams such as architecture charts, flowcharts, sequence diagrams, ER models, timelines and swimlanes as self-contained HTML and SVG files. Suited to writers and designers who want polished visuals for Claude Code.
Install it with the command on its page. It includes excalidraw-skill. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it