trackmcp
Back to directory
i-tozer

excalidraw-mcp

View on GitHub

Model Context Protocol (MCP) server for Excalidraw - Work in Progress

34 stars JavaScriptAI & Machine Learning Updated Oct 15, 2025

Documentation

Excalidraw MCP Server

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

bash
# 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

bash
npm start

API Endpoints

The server provides the following tools:

Drawing Management

  • `create_drawing`: Create a new Excalidraw drawing
  • `get_drawing`: Get an Excalidraw drawing by ID
  • `update_drawing`: Update an Excalidraw drawing by ID
  • `delete_drawing`: Delete an Excalidraw drawing by ID
  • `list_drawings`: List all Excalidraw drawings

Export Operations

  • `export_to_svg`: Export an Excalidraw drawing to SVG
  • `export_to_png`: Export an Excalidraw drawing to PNG
  • `export_to_json`: Export an Excalidraw drawing to JSON

Development

Project Structure

code
excalidraw-mcp/
├── src/
│   ├── common/
│   │   └── errors.ts
│   └── operations/
│       ├── drawings.ts
│       └── export.ts
├── index.ts
├── package.json
├── tsconfig.json
└── README.md

Building

bash
npm run build

Running in Development Mode

bash
npm run dev

License

MIT

Frequently asked questions

What is excalidraw-mcp?

excalidraw-mcp is Model Context Protocol (MCP) server for Excalidraw - Work in Progress

How do I install excalidraw-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is excalidraw-mcp open source?

Yes — it is hosted on GitHub at https://github.com/i-tozer/excalidraw-mcp and has 34 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP