Atlas / MCP servers / yctimlin / mcp-excalidraw-server

mcp-excalidraw-serverCAUTION

mcp/yctimlin/mcp-excalidraw

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,534
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 locally (Node ≥ 20, MIT licensed) — no API keys or accounts. Mermaid conversion runs in the local browser canvas; share is optional and uploads an encrypted scene to excalidraw.com. The canvas page loads Excalidraw's fonts from the esm.sh CDN.

Demo

*AI agent creates a complete architecture diagram from a single prompt (4x speed). [Wa

Read from source at commit d405454fc9a3OBSERVED · 2026-10-12
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 a PNG or SVG image. Renders headless in the canvas server (no browser tab needed); SVGs embed fonts. Set embedScene: true for a PNG that is also editable in Excalidraw.
get_canvas_screenshotreadRender the current canvas to a PNG and return it as an image. Renders headless in the canvas server (no browser tab needed). 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 and image files from .excalidraw JSON, Obsidian .excalidraw.md, a PNG with an embedded Excalidraw scene, 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 (15)

MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
Dockerfile:57
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:56
- **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:145
then tell me I can open http://127.0.0.1:3000 to watch you draw (optional).
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:161
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:170
open http://127.0.0.1:3000   # optional: watch live (only mermaid needs the tab)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
tests/browser/scene-reload.spec.mjs:512
const bytes = Uint8Array.from(atob(data), character => character.charCodeAt(0));
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@resvg/resvg-js, cors, dotenv, express, jsdom, winston, ws, zod
Why it matters. 28 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
README.md:640
No API key is required. Core drawing runs locally under MIT license. Outbound traffic is limited to the canvas page loading Excalidraw's fonts from the esm.sh CDN and the optional `share` upload to ex
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
INFOInventory / provenance · inv.oversize · CWE-1104
demo.gif
demo.gif
Why it matters. 2907147 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha d405454fc9a3full audit observations/trust-audit/mcp-server/yctimlin__mcp_excalidraw.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-10-12d405454fc9a3CAUTIONB89first audit
06

Questions

What is the mcp-excalidraw-server 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 mcp-excalidraw-server 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 mcp-excalidraw-server safe to connect to an agent?

With care. The audit graded it B (89/100) and found 15 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 mcp-excalidraw-server 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 (d405454fc9a3), read on 2026-10-12. The repository is watched and re-audited when it changes.

Advertisement