Skip to main content
Glama

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

Related MCP server: Excalidraw MCP Server

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

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

Available Tools

8 tools
create_drawingC

Create a new Excalidraw drawing

Inputs: name (required), content (required).

delete_drawingB

Delete an Excalidraw drawing by ID

Inputs: id (required).

export_to_jsonC

Export an Excalidraw drawing to JSON

Inputs: id (required).

export_to_pngC

Export an Excalidraw drawing to PNG

Inputs: id (required), quality, scale, exportWithDarkMode, +1 more.

export_to_svgC

Export an Excalidraw drawing to SVG

Inputs: id (required).

get_drawingC

Get an Excalidraw drawing by ID

Inputs: id (required).

list_drawingsC

List all Excalidraw drawings

Inputs: page, perPage.

update_drawingC

Update an Excalidraw drawing by ID

Inputs: id (required), content (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 8 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose targeting specific actions on drawings: creation, deletion, retrieval, listing, updating, and three distinct export formats. There is no overlap or ambiguity between tools, making it easy for an agent to select the correct one.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (e.g., create_drawing, delete_drawing) with no deviations. The naming is predictable and readable throughout the set, enhancing usability and coherence.

    Tool Count5/5

    With 8 tools, the server is well-scoped for managing Excalidraw drawings, covering core CRUD operations and multiple export options. Each tool earns its place without feeling excessive or insufficient for the domain.

    Completeness5/5

    The tool set provides complete CRUD/lifecycle coverage for drawings (create, get, list, update, delete) and includes essential export functionalities (JSON, PNG, SVG). There are no obvious gaps, ensuring agents can handle all typical workflows without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers