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

excalidraw

MCP server by debu-sinha Community

Gives AI assistants tools to create, edit and export Excalidraw diagrams. It works with Claude Desktop, ChatGPT, VS Code and Cursor, and diagrams can appear inline in the chat.

  • Score 66
  • 4 stars
  • 1.7k a week
  • MIT
  • Updated

Install excalidraw

Built from the published package, never by AI.

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

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

Step-by-step: install excalidraw 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 excalidraw block.

About

excalidraw-mcp-server is an MCP server that lets AI assistants draw and edit diagrams in the Excalidraw format. It works with Claude Desktop, ChatGPT, VS Code and Cursor. In standalone mode, which is the default, it uses an in-process element store and needs no canvas server or API key. Version 2.0 adds MCP Apps support, so diagrams can stream inline as SVG widgets.

An optional connected mode starts a canvas server for real-time browser sync. Clients connect through authenticated WebSocket connections, and optional file persistence keeps state across restarts. The server includes API key authentication, origin-restricted CORS, standard and strict rate limiting, Zod input validation and structured pino audit logging. It fits users who want AI-generated Excalidraw diagrams and developers who need access controls around MCP tools.

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

Tools it gives your assistant

  • create_viewRenders elements as an inline SVG widget with streaming animations (MCP Apps).
  • read_meReturns the element reference cheatsheet covering types, colors and sizing tips.
  • create_elementCreates a single rectangle, ellipse, diamond, arrow, text, line or freedraw element.
  • update_elementUpdates an existing element by ID.
  • query_elementsSearches elements by type, locked status or group ID.
  • batch_create_elementsCreates up to 100 elements in one call.
  • group_elementsGroups multiple elements together.
  • align_elementsAligns elements left, center, right, top, middle or bottom.
  • create_from_mermaidConverts a Mermaid diagram to Excalidraw elements.
  • export_sceneExports the canvas as SVG or PNG.

What you need

  • Node.js with npm
  • An MCP client such as Claude Desktop, ChatGPT, VS Code or Cursor
  • An EXCALIDRAW_API_KEY, only for connected mode

Try asking

  • Draw an architecture diagram with a load balancer, three app servers and a database
  • Convert this Mermaid flowchart into an editable Excalidraw diagram
  • Align all the boxes on my canvas to the top edge and export it as SVG

Good to know

  • Standalone mode keeps elements in memory and file persistence is off by default.
  • Batch create is capped at 100 elements per call by default.
  • The canvas defaults to a maximum of 10000 elements.

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 excalidraw

All alternatives →

Compare with Appllama, codesign or Pascal 3D Editor

excalidraw: common questions

Does excalidraw-mcp-server need an API key?

Standalone mode needs no API key or canvas server. An API key is used for connected mode, where the canvas server and MCP server share it for authentication.

Can multiple people edit the same Excalidraw canvas?

In connected mode, multiple clients can collaborate on the same canvas through authenticated WebSocket connections. The source describes real-time browser sync across clients.

What security features does excalidraw-mcp-server include?

It includes API key authentication with constant-time comparison, origin-restricted CORS, WebSocket token and origin validation, rate limiting, Helmet.js headers with CSP, and structured audit logs.

How do I install excalidraw?

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

Is excalidraw the official server?

excalidraw is a community project by debu-sinha, not verified by a company domain.

Is excalidraw free?

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

Is excalidraw safe to use?

It scores 66 of 100. Grades: maintenance D, licence A, quality C. 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 excalidraw?

Similar MCP servers: Appllama, codesign, Pascal 3D Editor, Agent-Native Design.

Does excalidraw 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.

excalidraw Install

Add to stack

Loading.