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

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

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that enables LLMs to create, modify, and manipulate Excalidraw diagrams through a structured API.
    Last updated -
    11
    11
    446
    MIT License
  • -
    security
    A
    license
    -
    quality
    A Model Context Protocol server that provides tools for converting SVG code to high-quality PNG and JPG images with detailed customization options.
    Last updated -
    12
    3
    MIT License
    • Apple
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that enables LLMs to create, modify and manipulate Excalidraw diagrams through a structured API, supporting element creation, styling, organization, and scene management.
    Last updated -
    12
    51
  • -
    security
    F
    license
    -
    quality
    A Model Context Protocol server that provides tools for fetching xkcd comics and resources for dynamic data retrieval, WebSocket echo functionality, and static JSON data testing.
    Last updated -
    5

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/i-tozer/excalidraw-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server