ExcalidrawSAFE
Model Context Protocol (MCP) server for Excalidraw - Work in Progress
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
This is a Model Context Protocol (MCP) server for Excalidraw, providing API functionality for operating on Excalidraw drawings.
Features
- Create, read, update, and delete Excalidraw drawings
- Export drawings to SVG, PNG, and JSON formats
- Simple file-based storage system
Installation
# Clone the repository git clone https://github.com/yourusername/excalidraw-mcp.git cd excalidraw-mcp # Install dependencies npm install # Build the project npm run build
Usage
Starting the Server
npm start
API Endpoints
The server provides the following tools:
Drawing Management
create_drawing: Create a new Excalidraw drawingget_drawing: Get an Excalidraw drawing by IDupdate_drawing: Update an Excalidraw drawing by IDdelete_drawing: Delete an Excalidraw drawing by IDlist_drawings: List all Excalidraw drawings
Export Operations
export_to_svg: Export an Excalidraw drawing to SVGexport_to_png: Export an Excalidraw drawing to PNGexport_to_json: Export an Excalidraw drawing to JSON
Development
Project Structure
excalidraw-mcp/ ├── src/ │ ├── common/ │ │ └── errors.ts │ └── operations/ │ ├── drawings.ts │ └── export.ts ├── index.ts ├── package.json ├── tsconfig.json └── README.md
Building
npm run build
Running in Development Mode
npm run dev
License
MIT
e8e539def7b4OBSERVED · 2026-10-08Connect
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 mcp add excalidraw-mcp -- npx -y [email protected]
{
"mcpServers": {
"excalidraw-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (8)
5 read · 2 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
create_drawing | write | Create a new Excalidraw drawing |
delete_drawing | destructive | Delete an Excalidraw drawing by ID |
export_to_json | read | Export an Excalidraw drawing to JSON |
export_to_png | read | Export an Excalidraw drawing to PNG |
export_to_svg | read | Export an Excalidraw drawing to SVG |
get_drawing | read | Get an Excalidraw drawing by ID |
list_drawings | read | List all Excalidraw drawings |
update_drawing | write | Update an Excalidraw drawing by ID |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (3)
delete_drawing
@excalidraw/excalidraw, @modelcontextprotocol/sdk, zod, zod-to-json-schema, @types/node, typescript, tsc-watch
Gates applied: no_behavioural_pass, no_license.
e8e539def7b4full audit observations/trust-audit/mcp-server/i-tozer__excalidraw.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | e8e539def7b4 | SAFE | B | 89 | first audit |
Questions
What is the Excalidraw MCP server?
Model Context Protocol (MCP) server for Excalidraw - Work in Progress
What tools does Excalidraw expose?
8 in total: 5 read-only, 2 that write, and 1 that can delete or overwrite (delete_drawing). Every one is listed on this page with its risk.
Is Excalidraw safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 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 does Excalidraw run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as excalidraw-mcp at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (e8e539def7b4), read on 2026-10-08. The repository is watched and re-audited when it changes.