Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

MCP Excalidraw Server

MCP server by yctimlin Verified · npm:mcp-excalidraw-server

Gives AI coding agents a live Excalidraw canvas to draw on, inspect, refine and save as .excalidraw files. It ships as an agent skill, a CLI, an MCP server with 27 tools, and a REST API.

  • Score 91
  • 2.7k stars
  • 3.1k a week
  • MIT
  • Updated

Install MCP Excalidraw Server

Built from the published package, never by AI.

claude mcp add mcp-excalidraw-server -- npx -y mcp-excalidraw-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP Excalidraw Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-excalidraw-server block.

About

MCP Excalidraw Server lets an AI agent create and edit Excalidraw diagrams on a live canvas. The agent can add and update elements one at a time, take screenshots to check its work, adjust layout, and export the result as a .excalidraw file that can be committed to a repository. The canvas server runs locally on Node.js 20 or later under the MIT license, and no API keys or accounts are required for core drawing.

The canvas can be driven in three ways: an agent skill with a CLI, an MCP server over stdio with 27 tools, or plain HTTP through a REST API. The CLI and the MCP server can start the canvas automatically if it is not running. The project is aimed at coding agents such as Claude Code, Codex CLI and Cursor, and at developers who want architecture diagrams and flowcharts stored next to their code.

Written from the project's README and checked against it.

Tools it gives your assistant

  • describeReturns a structured text description of the current canvas for the agent.
  • screenshotRenders the canvas as an image so the agent can look at its own work.
  • get_selectionReturns the IDs of the currently selected elements on the canvas.
  • query_elementsLets the agent search and filter elements on the canvas.
  • set_viewportControls zoom and centering, including zoom-to-fit for selected elements.
  • create_from_mermaidConverts Mermaid diagram code into Excalidraw elements on the canvas.
  • export_to_imageExports the canvas or a subset of elements as an image.
  • export_to_excalidraw_urlCreates a shareable excalidraw.com link for the current scene.

What you need

  • Node.js 20 or later
  • Docker (optional, for the container setup)

Try asking

  • Draw the architecture of this service as an Excalidraw diagram
  • Convert this Mermaid flowchart into the Excalidraw canvas and fix any overlaps
  • Take a screenshot of the canvas and adjust the arrows so they route cleanly

Good to know

  • Share links upload an encrypted scene to excalidraw.com by default unless a self-hosted instance is configured.
  • The canvas page loads Excalidraw fonts from the esm.sh CDN.
  • The canvas stays in memory unless the EXCALIDRAW_DATA_DIR setting is set.
  • Durable mode allows only one process to own the data directory at a time.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to MCP Excalidraw Server

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

MCP Excalidraw Server: common questions

Does it need an API key or account?

The source says core drawing runs locally with no API keys or accounts. Share links are optional and go to excalidraw.com unless you point them at your own instance.

How is this different from the official Excalidraw MCP?

The official MCP streams a one-shot diagram into a chat widget. This project gives coding agents element-level control, screenshots, and .excalidraw file export and import.

Can it run without an MCP client?

Yes. The source says the CLI, agent skill and REST API work without MCP, and the CLI prints JSON on stdout.

How do I install MCP Excalidraw Server?

In Claude Code run claude mcp add mcp-excalidraw-server -- npx -y mcp-excalidraw-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MCP Excalidraw Server the official server?

MCP Excalidraw Server is published by npm:mcp-excalidraw-server from its verified domain in the official MCP Registry.

Is MCP Excalidraw Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is MCP Excalidraw Server safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to MCP Excalidraw Server?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does MCP Excalidraw Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

MCP Excalidraw Server Install

Add to stack

Loading.