Atlas / MCP servers / yctimlin / Excalidraw

ExcalidrawCAUTION

mcp/yctimlin/excalidraw-1

MCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.

Verdict
CAUTION
Grade
B
Trust score
89 /100
Exposed tools
26 16r · 8w · 2d
Transport
—
License
MIT
Stars
2,457
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://github.com/yctimlin/mcpexcalidraw/actions/workflows/ci.yml) [](https://github.com/yctimlin/mcpexcalidraw/actions/workflows/docker.yml) [](https://www.npmjs.com/package/mcp-excalidraw-server) [](LICENSE)

mcp-excalidraw-server gives AI agents a live Excalidraw canvas they can draw on, look at, refine, and save into your repo. Your agent creates architecture diagrams and flowcharts programmatically, sees its own work via screenshots, fixes layout problems, and exports .excalidraw files you can commit next to your code.

One canvas, three ways to drive it:

  • Agent Skill + CLI — recommended for coding agents (Claude Code, Codex CLI, Cursor, OpenCode): npx -y mcp-excalidraw-server . Zero config, auto-starts the canvas, composable JSON in/out.
  • MCP Server — 26 tools over stdio for any Model Context Protocol client (Claude Desktop, Cursor, Codex CLI, Antigravity, ...). Speaks MCP 2026-07-28 (server/discover, per-request _meta envelope, tool calls without a handshake) and stays compatible with 2025-era clients that open with initialize.
  • REST API — plain HTTP for LangChain and custom frameworks.

Core drawing runs fully local (Node ≥ 20, MIT licensed) — no API keys. Mermaid conversion runs in the local browser canvas; share is optional and uploads an encrypted scene to excalidraw.com.

Demo

AI agent creates a complete architecture diagram from a single prompt (4x speed). [Watch full video on YouTube](https://youtu.be/ufW78Amq5qA)

Table of

Read from source at commit 2370d95969fcOBSERVED · 2026-09-23
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-excalidraw-server -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-excalidraw-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (26)

16 read · 8 write · 2 destructive. Blast radius: 2 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
align_elementsreadAlign elements to a specific position
batch_create_elementswriteCreate multiple Excalidraw elements at once. For arrows, use startElementId/endElementId to bind arrows to shapes — Excalidraw auto-routes to element edges. Assign custom id to shapes so arrows can reference them.
clear_canvasdestructiveClear all elements from the canvas
create_elementwriteCreate a new Excalidraw element. For arrows, use startElementId/endElementId to bind to shapes (auto-routes to edges).
create_from_mermaidwriteConvert a Mermaid diagram to Excalidraw elements and render them on the canvas
delete_elementdestructiveDelete an Excalidraw element
describe_scenereadGet an AI-readable description of the current canvas: element types, positions, connections, labels, spatial layout, and bounding box. Use this to understand what is on the canvas before making changes.
distribute_elementsreadDistribute elements evenly
duplicate_elementsreadDuplicate elements with a configurable offset
export_scenewriteExport the current canvas to .excalidraw JSON format. Optionally write to a file; a path ending in .md is written in the Obsidian Excalidraw plugin format (.excalidraw.md).
export_to_excalidraw_urlreadExport the current canvas to a shareable excalidraw.com URL. The diagram is encrypted and uploaded; anyone with the URL can view it. Returns the shareable link.
export_to_imagereadExport the current canvas to PNG or SVG image. Requires the canvas frontend to be open in a browser.
get_canvas_screenshotreadTake a screenshot of the current canvas and return it as an image. Requires the canvas frontend to be open in a browser. Use this to visually verify what the diagram looks like.
get_elementreadGet a single Excalidraw element by ID
get_resourcereadGet an Excalidraw resource
group_elementsreadGroup multiple elements together
import_scenewriteImport elements from a .excalidraw JSON file, an Obsidian .excalidraw.md file, or raw JSON data
lock_elementsreadLock elements to prevent modification
query_elementsreadQuery Excalidraw elements with optional filters
read_diagram_guidereadReturns a comprehensive design guide for creating beautiful Excalidraw diagrams: color palette, sizing rules, layout patterns, arrow binding best practices, diagram templates, and anti-patterns. Call this before creating diagrams to produce professional results.
restore_snapshotreadRestore the canvas from a previously saved named snapshot
set_viewportwriteControl the canvas viewport (camera). Auto-fit all elements, zoom-to-fit a subset of elements, center on a specific element, or set zoom/scroll directly. Requires the canvas frontend open in a browser.
snapshot_scenewriteSave a named snapshot of the current canvas state for later restoration
ungroup_elementsreadUngroup a group of elements
unlock_elementsreadUnlock elements to allow modification
update_elementwriteUpdate an existing Excalidraw element
04

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (9 observation(s))
Network
declared (6 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (13)

MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
Dockerfile:49
ENV EXPRESS_SERVER_URL=http://127.0.0.1:3000
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
clear_canvas, delete_element
Why it matters. 2 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/cli/commands/arrange.ts:3
import { ensureCanvasRunning } from '../../core/spawn.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/cli/commands/arrange.ts:13
} from '../../core/geometry.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/cli/commands/elements.ts:3
import { prepareElement, prepareElementUpdate } from '../../core/normalize.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/cli/commands/elements.ts:11
} from '../../core/canvas-client.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/cli/commands/elements.ts:12
import { ensureCanvasRunning } from '../../core/spawn.js';
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:55
- **Canvas server**: Excalidraw web UI + REST API + WebSocket real-time sync (default `http://127.0.0.1:3000`)
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:123
then tell me to open http://127.0.0.1:3000 in my browser (screenshots need an open tab).
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:139
There is no separate server setup: any drawing command auto-starts the local canvas server on `http://127.0.0.1:3000`.
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:148
open http://127.0.0.1:3000   # browser tab enables screenshots & mermaid
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@excalidraw/excalidraw, @excalidraw/mermaid-to-excalidraw, cors, dotenv, express, mermaid, react, react-dom
Why it matters. 23 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
demo.gif
demo.gif
Why it matters. 2907147 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-09-23 · audit v0.4.1 · source sha 2370d95969fcfull audit observations/trust-audit/mcp-server/yctimlin__excalidraw-1.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-09-232370d95969fcCAUTIONB89source changed, verdict held
06

Questions

What is the Excalidraw MCP server?

MCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.

What tools does Excalidraw expose?

26 in total: 16 read-only, 8 that write, and 2 that can delete or overwrite (clear_canvas, delete_element). Every one is listed on this page with its risk.

Is Excalidraw safe to connect to an agent?

With care. The audit graded it B (89/100) and found 13 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Excalidraw need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (2370d95969fc), read on 2026-09-23. The repository is watched and re-audited when it changes.

Advertisement