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.
Install MCP Excalidraw Server
Built from the published package, never by AI.
claude mcp add mcp-excalidraw-server -- npx -y mcp-excalidraw-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-excalidraw-server": {
"args": [
"-y",
"mcp-excalidraw-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install MCP Excalidraw Server in Claude Desktop
{
"mcpServers": {
"mcp-excalidraw-server": {
"args": [
"-y",
"mcp-excalidraw-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-excalidraw-server": {
"args": [
"-y",
"mcp-excalidraw-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-excalidraw-server -- npx -y mcp-excalidraw-server{
"mcpServers": {
"mcp-excalidraw-server": {
"args": [
"-y",
"mcp-excalidraw-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install MCP Excalidraw Server in Antigravity CLI
gemini mcp add mcp-excalidraw-server npx -y mcp-excalidraw-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
ANo 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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
