Back to Home
cmd8 icon

excalidraw-mcp

Verified Safe

by cmd8

Overview

Model Context Protocol (MCP) server for programmatically creating, modifying, and querying Excalidraw diagrams.

Installation

Run Command
npx -y @cmd8/excalidraw-mcp --diagram /path/to/diagram.excalidraw

Security Notes

The server uses `fs.readFile` and `fs.writeFile` to interact with a local Excalidraw diagram file. The path to this file is resolved using `path.resolve(process.cwd(), argv.diagram.trim())`, which limits file access to the current working directory and its subdirectories, mitigating arbitrary file system access risks. Data is parsed and stringified as JSON. No `eval` or dynamic code execution is observed. The server operates over stdio, not exposing network ports by default. Potential for resource exhaustion if very large or malformed Excalidraw JSON files are processed, but this is a general file processing risk.

Similar Servers

Stats

Interest Score38
Security Score9
Cost ClassMedium
Avg Tokens200
Stars1
Forks0
Last Update2025-11-29

Tags

ExcalidrawDiagrammingMCPNode.jsTooling