Skip to main content
Glama

Excalidraw MCP Component

License: MIT

An MCP (Model Context Protocol) server that enables AI agents to programmatically generate, edit, and view Excalidraw diagrams.

✨ Features

  • Diagram Generation: Create new diagrams from text descriptions

  • Real-time Preview: View changes instantly in the browser

  • Tool Integration: Explicit tools for adding shapes, text, arrows, and more

  • Bi-directional: Changes in the browser sync back to the agent context

📦 Components

  • @excalidraw-mcp/server: The core MCP server implementation with embedded HTTP/WebSocket server.

🚀 Quick Start

Prerequisites

  • Node.js >= 18

  • pnpm >= 9

Installation

# Clone the repository git clone https://github.com/your-username/excalidraw-mcp.git cd excalidraw-mcp # Install dependencies pnpm install # Build packages pnpm build

Running Locally

# Start the MCP server (includes web interface) pnpm dev

Visit http://localhost:3100 to see the Excalidraw interface.

🤖 Using with Claude Desktop

Add the following to your claude_desktop_config.json:

{ "mcpServers": { "excalidraw": { "command": "npx", "args": ["@excalidraw-mcp/server@latest"] } } }

🛠️ Development

This project involves a monorepo structure using pnpm workspace.

  • packages/mcp-server: The MCP server and web interface

# Run tests (if applicable) pnpm test # Lint code pnpm lint

📄 License

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

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/Scofieldfree/excalidraw-mcp'

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