excalidash-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@excalidash-mcpdraw a flowchart with a start and end node"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
excalidash-mcp
MCP server for live collaborative drawing on ExcaliDash. Draw diagrams, brainstorm, and visualize ideas — changes appear instantly in the browser via Socket.IO.
https://github.com/user-attachments/assets/placeholder-demo.mp4
Features
Live updates — Elements appear instantly in open browsers, no refresh needed
High-level tools —
add_text,add_shape,add_arrowwith minimal tokensScene DSL — Draw complex diagrams with a compact one-line-per-element syntax
Named Elements — Give elements descriptive IDs (
rect frontend 100,100 ...) for easy referenceEdit & Delete — Modify or remove elements by name, live
Rename — Rename cryptic auto-generated IDs to descriptive names
Version History — Browse snapshots, restore previous versions (requires ExcaliDash with PR #138)
Library — Search and place icons/templates from your ExcaliDash library
Token-efficient — ~85% fewer tokens compared to raw Excalidraw JSON
Prerequisites
You need a running ExcaliDash instance. ExcaliDash is a self-hosted Excalidraw dashboard with user management, REST API, and real-time collaboration.
1. Set up ExcaliDash
Follow the ExcaliDash installation guide to get your instance running. Typically:
git clone https://github.com/ZimengXiong/ExcaliDash.git
cd ExcaliDash
cp .env.example .env # configure JWT_SECRET, CSRF_SECRET, etc.
docker compose up -d2. Configure Nginx (important!)
The default ExcaliDash frontend Nginx config does not proxy /api/ and /socket.io/ to the backend. You need to add these proxy rules for the MCP adapter (and live collaboration) to work.
Create a custom nginx.conf and mount it into the frontend container:
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
# API proxy
location /api/ {
proxy_pass http://backend:8000/api/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Backend routes (auth, drawings, etc.)
location ~ ^/(auth|csrf-token|drawings|health|collections|admin) {
proxy_pass http://backend:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Socket.IO (live collaboration)
location /socket.io/ {
proxy_pass http://backend:8000/socket.io/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 86400;
}
}Mount it in your docker-compose.yml:
frontend:
image: zimengxiong/excalidash-frontend:latest
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro3. Create an agent user
Create a dedicated user for the MCP adapter in ExcaliDash. This keeps agent actions separate from your personal account and shows up as a distinct collaborator on the board.
You can create a user via the ExcaliDash UI or API.
4. (Optional) Expose backend port
If the MCP adapter runs on the same machine as ExcaliDash, expose the backend port for direct access (faster than going through Nginx):
backend:
ports:
- "127.0.0.1:6768:8000"Installation
git clone https://github.com/davifernan/excalidash-mcp.git
cd excalidash-mcp
npm installConfiguration
Add to your MCP client config (e.g. ~/.mcp.json for Claude Code):
{
"mcpServers": {
"excalidash": {
"command": "node",
"args": ["/path/to/excalidash-mcp/src/index.js"],
"env": {
"EXCALIDASH_BACKEND_URL": "http://127.0.0.1:6768",
"EXCALIDASH_URL": "https://your-excalidash.example.com",
"EXCALIDASH_EMAIL": "agent@example.com",
"EXCALIDASH_PASSWORD": "your-agent-password"
}
}
}
}Behind a reverse proxy?
If your ExcaliDash backend has TRUST_PROXY=true (common when behind Nginx/Cloudflare), add these to prevent redirect loops:
{
"env": {
"EXCALIDASH_PROXY_PROTO": "https",
"EXCALIDASH_PROXY_HOST": "your-excalidash.example.com"
}
}Tools
Drawing (token-efficient)
Tool | Description |
| Add text with position, color, size, font |
| Add rectangle/ellipse/diamond with optional label |
| Arrow with head styles (arrow/bar/dot/triangle/none), line styles (solid/dashed/dotted) |
| Compact DSL — one element per line |
Scene DSL
Draw multiple elements in a single call with minimal tokens. Always give elements descriptive IDs — this makes updating and deleting easy:
# Comments start with #
text title 250,20 size=28 color=blue 'System Architecture'
rect frontend 100,100 200x100 color=blue fill=blue 'Frontend'
rect backend 400,100 200x100 color=green fill=green 'Backend'
arrow fe-to-be 300,150 -> 400,150 color=gray style=dashed 'API'
diamond cache 250,280 120x80 color=orange fill=orange
circle queue 500,280 80x80 color=purple fill=purpleSupported types: rect, circle, diamond, arrow, line, text
Colors: red, blue, green, orange, purple, pink, yellow, gray, black — or any hex code (#e03131)
Arrow options: style=dashed, start=arrow, end=triangle
Board Management
Tool | Description |
| List all boards |
| Create a new board |
| Read elements with IDs (for editing) |
| Remove all elements |
Editing
Tool | Description |
| Change any property by element name/ID |
| Delete specific elements by name/ID |
| Rename a cryptic ID to a descriptive name (updates all references) |
Version History
Requires ExcaliDash with PR #138 (pending merge).
Tool | Description |
| List version snapshots (ID + timestamp) |
| Restore a board to a previous snapshot (reversible) |
Library
Tool | Description |
| Search available icons/templates by name |
| Place a library item on the board |
Environment Variables
Variable | Required | Description |
| Yes | Backend API URL (e.g. |
| Yes | Public frontend URL (e.g. |
| Yes | Agent user email |
| Yes | Agent user password |
| No | Set to |
| No | Hostname for proxy |
How it works
Claude / AI Agent
│
│ MCP tool calls (add_text, draw_scene, etc.)
▼
┌─────────────────┐
│ excalidash-mcp │ ← enriches elements, calculates text dimensions
│ (MCP Server) │
└───────┬─────────┘
│
┌────┴────┐
│ │
▼ ▼
Socket.IO REST API
(live) (persist)
│ │
└────┬────┘
▼
┌─────────────────┐
│ ExcaliDash │ ← self-hosted Excalidraw dashboard
│ Backend │
└───────┬─────────┘
│
▼
Browser(s) ← instant live updates, no refreshLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/patrickcamargo7/excalidash-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server