Skip to content
Kitbay
MCP server

excalidraw-mcp

Runs locallyMITUpdated on Feb 9, 2026102GitHub starsCan change data

An npm-packaged MCP server that connects an agent to a local Excalidraw instance opened in the browser, where changes show up live over WebSocket.

What it does

An npm-packaged MCP server that connects an agent to a local Excalidraw instance opened in the browser, where changes show up live over WebSocket. The agent can create and edit diagrams, keep several diagrams in separate sessions, turn Mermaid text into Excalidraw shapes, start from built-in architecture templates, and export to PNG, SVG or JSON. The server measures text so labels fit and stay bound to their shapes. It runs through npx without cloning, and the README gives setup for Claude Code, Codex CLI, Cursor, Windsurf, Cline, GitHub Copilot and Kiro.

Capabilities

  • Create and edit Excalidraw diagrams with a live browser preview
  • Switch between several diagram sessions
  • Convert Mermaid syntax into Excalidraw elements
  • Export diagrams to PNG, SVG or JSON