Excalidraw MCP Server
Published
At a glance
- Category
- Content & storage
- GitHub repository
- excalidraw/excalidraw-mcp
- Watch out for
- The interactive drawing only appears in clients that implement the MCP Apps extension; other clients get no rendered canvas.
The Excalidraw MCP server lives in the excalidraw organization on GitHub and is built as an MCP App, the official Model Context Protocol extension that lets a server return interactive HTML inside the chat. Instead of handing back a file or a block of JSON, it streams a hand-drawn Excalidraw diagram into the conversation, with camera control over the viewport and a fullscreen mode where you can edit the result by hand.
The project recommends the hosted endpoint at https://mcp.excalidraw.com, which you add as a custom connector in any client that supports MCP Apps. The README names Claude, ChatGPT, VS Code and Goose as examples. You can also run it yourself: the Node build serves HTTP on /mcp (port 3001 by default, set with PORT) or speaks stdio when started with the --stdio flag, and there is a packaged .mcpb extension for Claude Desktop.
Because rendering happens in the host's UI, a client without MCP Apps support will see the tool calls but not the interactive drawing. That makes this server a better fit for chat clients with app support than for terminal-only agents.
How it connects
Your AI app
An assistant or agent that supports MCP
Excalidraw MCP Server
Runs as
- Local process
- Remote (HTTP)
Gives the agent
- Element format reference
- Draw diagrams
- Share to excalidraw.com
- Keep user edits
- Self-hosting
Excalidraw
The data or system the tools act on
What it can do
- Element format reference
- read_me returns the Excalidraw element format reference with colour palettes, examples and tips. The tool description tells the model to call it before using create_view for the first time.
- Draw diagrams
- create_view (titled Draw Diagram) renders a hand-drawn diagram from Excalidraw elements and streams it into the chat as an interactive view.
- Share to excalidraw.com
- export_to_excalidraw uploads the diagram to excalidraw.com and returns a shareable URL. It is marked app-visible, so the widget triggers it rather than the model.
- Keep user edits
- save_checkpoint and read_checkpoint store and restore the canvas state after you edit a diagram in fullscreen, so the agent can pick up from your changes.
- Self-hosting
- The repo can be forked and deployed to Vercel with no environment variables, giving you your own endpoint at /mcp.
Setting it up
The simplest path is the remote server: in a client that supports MCP Apps, add a custom MCP server or connector (the name of that menu varies by app) pointing at https://mcp.excalidraw.com. For Claude Desktop you can instead download excalidraw-mcp-app.mcpb from the project's Releases page and double-click it to install. To build from source, run git clone https://github.com/excalidraw/excalidraw-mcp.git, then pnpm install && pnpm run build, and add an entry to ~/Library/Application Support/Claude/claude_desktop_config.json under mcpServers named excalidraw with "command": "node" and "args": ["/path/to/excalidraw-mcp-app/dist/index.js", "--stdio"]. Restart Claude Desktop afterwards. Without the --stdio flag the same build starts an HTTP server on http://localhost:3001/mcp.
claude mcp add --transport http excalidraw https://mcp.excalidraw.comIf the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Sketch an architecture diagram of a user talking to an API server that writes to a database, then tidy it up by hand in fullscreen.
- Turn a written description of a request flow into a whiteboard-style diagram during a design discussion.
- Produce a shareable excalidraw.com link for a diagram so teammates can open and edit it outside the chat.
- Iterate on a diagram over several prompts while keeping manual edits through checkpoints.
Limitations and things to watch
- The interactive drawing only appears in clients that implement the MCP Apps extension; other clients get no rendered canvas.
- Exporting uploads the diagram to excalidraw.com, so do not use it for diagrams containing anything you would not put on a shareable link.
- The documented local install covers Claude Desktop only; other clients are expected to use the hosted URL as a custom connector.
- Output quality depends on the model writing valid Excalidraw elements, which is why the server asks it to read the format reference first.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /excalidraw/excalidraw-mcp
- github.com /excalidraw/excalidraw-mcp/blob/main/src/server.ts
- github.com /excalidraw/excalidraw-mcp/blob/main/src/main.ts
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.