excalidraw-mcp
MCP server for creating and managing Excalidraw diagrams, supporting elements, libraries, icons, import/export, and auto-layout flowcharts.
README
Excalidraw MCP Server (Excalidraw v2 Spec Compliant)
An MCP (Model Context Protocol) Server for creating and managing Excalidraw diagrams, upgraded to follow the official Excalidraw v2 specification.
Features
Core Element Tools
| Tool | Description |
|---|---|
create_element |
Create a single Excalidraw element |
create_elements_batch |
Create multiple elements in one call |
update_element |
Update an existing element by ID |
delete_element |
Delete an element by ID |
query_elements |
Query elements by type or custom filters |
clear_canvas |
Clear all elements from canvas |
File Operations
| Tool | Description |
|---|---|
export_file |
Export canvas to .excalidraw file |
import_file |
Import .excalidraw file into canvas |
get_scene_json |
Get full scene JSON |
Library Items (Official Excalidraw Icon Packs)
| Tool | Description |
|---|---|
list_library_items |
Search or list items across all installed libraries (query, library, limit) |
insert_library_item |
Insert icon at position with optional scale (itemId, x, y, scale, library) |
Installed Official Libraries (499+ icons):
- AWS Architecture Icons (
aws-architecture-icons): 249 icons (CloudSearch, EMR, DynamoDB, S3, EC2, Lambda, VPC, RDS, Kinesis, etc.) - Google Icons (
google-icons): 139 icons (Anthos, BigQuery, Compute Engine, Cloud Run, GKE, Firestore, etc.) - System Design Components (
system-design-components): 24 items (Application server, Multi-instance server, Load Balancer, etc.) - Shapes for UML & ER Diagrams (
uml-er-diagrams): 21 items (Entities, Relations, Connectors, Shapes) - Software Logos (
software-logos): 18 icons (Docker, JSON, Git, Database logos, etc.) - Architecture Diagram Components (
architecture-diagram-components): 11 components (Slack, Docker, GitHub, VPC, Subnets) - Software Architecture (
software-architecture): 7 core diagram elements - Robots (
robots): 7 illustrated robot figures - Built-in Common Icons (
built-in): 23 lightweight native icons
Auto-Layout Flowchart
| Tool | Description |
|---|---|
create_flowchart |
Create flowchart with DagreJS auto-layout |
Supported layouts: Top-Bottom (TB), Left-Right (LR), Bottom-Top (BT), Right-Left (RL) Node shapes: Rectangle, Ellipse, Diamond
// Update an existing element
update_element({ id: "mybox1", strokeColor: "#099268", text: "Updated!", width: 200 })
// Query elements by filter
query_elements({ filter: { type: "rectangle" } })
// Export to file
export_file({ filePath: "docs/architecture.excalidraw" })
Setup
Add to your MCP settings file (e.g., claude_desktop_config.json, .cursor/mcp.json, or ~/.omp/agent/mcp.json):
{
"mcpServers": {
"excalidraw": {
"type": "stdio",
"command": "node",
"args": ["/path/to/excalidraw-mcp/src/cli.js"]
}
}
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.