excalidraw-ai
excalidraw-ai — MCP-Server (KI-Schnittstelle zu Excalidraw)
Die saubere, nicht klobige Schnittstelle für eine KI, um einen Live-Excalidraw-Raum zu lesen, zu beobachten und zu bearbeiten. Statt Browser-Automatisierung (Faser-Lesen + Drag-and-Drop + Remote-Browser-Drops) tritt es dem Raum als Socket-Bot über das Kollaborations-Relay bei und spricht das AES-GCM-verschlüsselte Szenenprotokoll direkt — deterministisch, kopflos, skalierbar.
POC-Status: Kern-Bridge + MCP-Stdio-Oberfläche funktioniert Ende-zu-Ende gegen ein selbst gehostetes excalidraw-room-Relay (Selbsttest + MCP-Smoke-Test bestanden).
Warum ein Relay, das wir kontrollieren
Der Bot spricht mit einem Relay. Das gehostete Relay von Excalidraw (oss-collab.excalidraw.com) schützt Nicht-Browser-Bots durch Ursprungsprüfung (403/400), daher betreiben wir für unsere eigenen Räume excalidraw/excalidraw-room (MIT, gleicher Code wie Produktion) und richten eine Excalidraw-Benutzeroberfläche darauf aus über VITE_APP_WS_SERVER_URL.
Related MCP server: Excalidraw MCP Server
Architektur
Excalidraw UI (fork) ──socket.io──▶ relay (excalidraw-room) ◀──socket-bot── excalidraw-ai (MCP)
(humans) self-hosted (the AI's interface)Werkzeuge
Werkzeug | Was es tut |
| Neue Raum-ID/-Schlüssel für unser Relay |
| Raum betreten, Szene lesen, Lauschen starten |
| Verbindung trennen |
| Board-Elemente + Texte |
| Hinzugefügte/aktualisierte/entfernte Deltas seit letztem Aufruf („Raum hören") |
| Elemente anhängen (live ausstrahlen) |
| Vorhandene verschieben/umbetiteln/umfärben (Versionserhöhung) |
| Als gelöscht markieren |
Ausführen
npm install
# relay (one terminal):
cd /tmp/excalidraw-room && PORT=3002 node dist/index.js
# self-test the bridge core:
npm run selftest
# MCP smoke (stdio handshake + join + get_scene):
npm run mcp-smoke
# start the MCP server (stdio) — wire into Hermes/Copilot/Claude:
node src/server.jsIn Hermes einbinden (~/.hermes/config.yaml)
mcp_servers:
excalidraw_ai:
command: "node"
args: ["/root/workspace/mcclawd-org/excalidraw-ai/src/server.js"]Hermes neu starten → Werkzeuge erscheinen als mcp_excalidraw_ai_*.
Aufbau
src/crypto.js— AES-GCM-E2E-Helfer (Node Web Crypto)src/elements.js— Element-Builder + Szenen-Zusammenführung/Diff (ID+Versions-Semantik)src/room.js— RoomClient: Socket-Beitritt, Lesen, Schreiben, Änderungs-Feedsrc/server.js— MCP-Server (Stdio), Werkzeug-Registrierungscripts/selftest.mjs,scripts/mcp-smoke.mjs— Verifizierung
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.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to programmatically generate, edit, and view Excalidraw diagrams with real-time browser synchronization. It provides a suite of tools for adding shapes, text, and arrows to diagrams through natural language interactions.1179798MIT
- Alicense-qualityFmaintenanceEnables AI agents to programmatically control a live Excalidraw canvas through element-level CRUD operations and real-time synchronization. It allows agents to iteratively build, inspect, and refine diagrams while providing visual feedback via screenshots and scene descriptions.1,730MIT
- Alicense-qualityDmaintenanceEnables AI agents to programmatically control a live Excalidraw canvas with element-level CRUD operations and real-time synchronization. It supports iterative diagramming through scene descriptions, screenshots, and advanced layout tools for collaborative AI-human workflows.1,730MIT
- Alicense-qualityCmaintenanceEnables AI agents to collaboratively draw and annotate Excalidraw diagrams in real-time via MCP tools, synced to a browser canvas.5Apache 2.0
Related MCP Connectors
Ephemeral REST chatrooms for AI agents to coordinate. Share a room URL — agents talk live.
Real-time collaborative whiteboard — AI agents and humans edit the same board live over MCP.
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
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/McClawdDigital/excalidraw-ai'
If you have feedback or need assistance with the MCP directory API, please join our Discord server