Excalidraw MCP
Allows AI assistants to inspect and modify the active Excalidraw scene in Obsidian, including creating, updating, deleting, searching, aligning, restacking, and connecting elements such as shapes, text, frames, lines, and arrows; adding Mermaid diagrams; checking layout issues; and exporting drawings as PNG or SVG.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Excalidraw MCP
Let AI assistants create, edit, align, layout-check, and visually inspect your Excalidraw drawings right inside Obsidian via the Model Context Protocol (MCP).
Desktop only. Requires the Excalidraw community plugin to be installed and enabled.
What you can do
Draw and edit diagrams — create or update shapes, text labels, frames, lines, arrows, and Mermaid diagrams directly on your open Excalidraw board.
Automatic layout checks — every edit checks for overlapping shapes, text overflowing its container, arrows cutting across unrelated boxes, and disconnected arrows.
Visual verification — export the whole board or specific elements as PNG/SVG so vision-capable AI assistants can inspect the rendered diagram, or save images straight into your vault for Markdown embeds.
Arrange and clean up — align, evenly distribute, restack z-order, pan/zoom the viewport, and search elements by text, type, frame, or group.
Related MCP server: Excalidraw MCP App Server
Quick start
Install and enable the Excalidraw community plugin in Obsidian.
Install and enable Excalidraw MCP from Settings → Community plugins.
Open any
.excalidraw.md(or.excalidraw) drawing in Obsidian.Connect your AI client:
Using with Antidian (zero setup)
If you use Antidian, this plugin is detected automatically over local HTTP (http://127.0.0.1:27129/mcp).
Open Settings → Antidian → MCP servers to see Excalidraw MCP listed and toggle it on or off—no extra files or Node.js installation required.
Using with any HTTP MCP client
Point your MCP client to the local Streamable HTTP endpoint:
http://127.0.0.1:27129/mcpIf you set a Bearer auth token in Settings → Excalidraw MCP, include the header:
Authorization: Bearer <your-token>Using with stdio MCP clients (Claude Desktop, Antigravity CLI, etc.)
If your client only supports stdio MCP servers, download mcp-server.js from the GitHub Releases page (requires Node.js 18+) and add:
{
"mcpServers": {
"excalidraw": {
"command": "node",
"args": ["/path/to/mcp-server.js"],
"env": {
"OBSIDIAN_EXCALIDRAW_MCP_PORT": "27129",
"OBSIDIAN_EXCALIDRAW_MCP_TOKEN": "your-optional-bearer-token"
}
}
}
}Available tools
Category | Tools |
Inspect |
|
Draw & Edit |
|
Arrange |
|
Verify & Export |
|
Settings & security
Open Settings → Excalidraw MCP to configure:
Bridge status — start, stop, or restart the local server (also available via the status bar or Command Palette:
Toggle bridge,Restart bridge).Bridge port — localhost port (default
27129).Bearer auth token — optional shared secret for authenticating MCP requests.
Default target view — target the active Excalidraw view or the first open view when
filePathis omitted.Auto-start bridge — start automatically when Obsidian opens.
Security notes:
The bridge binds strictly to
127.0.0.1(local machine only, never exposed to your network).No arbitrary JavaScript evaluation endpoint is exposed.
clear_scenerequires explicitconfirm: true, andsaveToVaultPathonly accepts safe vault-relative paths.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Draw architecture diagrams, UML, planning boards and clickable wireframes from your AI assistant.
Lets AI assistants draw: logos, posters, illustrations and scenes, as editable SVG and PNG.
Create, edit and organize hand-drawn diagrams (flowcharts, ER, architecture) from any AI agent.
Markdown editor for notes, diagrams, drawing and painting with your AI, and a JPEG XL converter.
Related MCP Servers
- AlicenseCqualityDmaintenanceConnects Obsidian vaults to AI assistants with 121 tools for automated note creation, canvas manipulation, dataview queries, graph analysis, task management, and knowledge base building.1208MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to generate interactive Excalidraw diagrams with viewport camera control and fullscreen editing directly in the chat.5,708MIT
- AlicenseCqualityCmaintenanceMCP server enabling AI assistants to create and edit Excalidraw diagrams as Obsidian-native .excalidraw.md files, with style presets, batch element creation, arrow binding, and an Obsidian selection bridge for localized edits.31MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to turn architecture descriptions, flows, and data into 25 types of auto-laid-out, hand-drawn .excalidraw diagrams that stay editable, with optional SVG/PNG export and a version-controlled knowledge graph the AI can query and lint. Runs fully offline in Cursor, Claude Code, and Windsurf with no API keys, and diagrams can be revised through natural language.-