Antigravity Whiteboard
Enables AI-driven drawing and editing of Excalidraw whiteboards, including multi-layout auto-layout, native bound labels and arrows, box-selection local region edits, and export to .excalidraw, SVG, or PNG.
Provides an import_mermaid capability for bringing Mermaid diagrams into the Excalidraw whiteboard.
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.
Antigravity Whiteboard
An AI-drawable Excalidraw whiteboard MCP App plugin for Google Antigravity with a multi-layout ELK.js anti-overlap engine and surgical box-selection local editing.
Highlights
Left + Right Sidebar Entrypoints:
Left Sidebar (
global): Full-page infinite canvas for inspecting large diagrams, freehand editing, and managing multiple boards.Right Sidebar (
aux_pane): Companion canvas bound to the active conversation with instant AI updates and one-click Attach Selection.Both surfaces stay live-synced through shared local storage (
${PLUGIN_DATA}/boards/).
No Template Lock-In — 7 Layout Strategies:
layered-tb: Layered system architecture & deployment diagrams (nested groups + orthogonal obstacle-avoiding arrows)layered-lr: Left-to-right data flow diagrams (DFD), pipelines, and ETL flowsbox: Nested module & capability blueprints (compact rectpacking matrix)stress: Natural cluster topology for microservice / dependency meshesmrtree: Clean hierarchical trees & mindmapssequence: Request interaction timelines with lifelines and numbered horizontal arrowsfree: Custom zones/comparisons with automatic text sizing and AABB collision resolutionPlus multi-zone placement (
replace,append-right,append-below) andimport_mermaid.
Mathematical Anti-Overlap & Native Excalidraw Bindings:
Server-side CJK/Latin text measurement +
ELK.jscompound layout + 90° orthogonal edge routing.Compiles to 100% native Excalidraw v2 elements (
containerIdbound labels,startBinding/endBindingarrows), so dragging any node moves its labels and arrows automatically.
Precision Box-Selection Local Editing:
Box-select any region on the canvas and click Attach (or Copy Context in global view).
Extracts exact semantic element IDs, selection bounding box, external boundary edges (incoming/outgoing connections to unselected neighbors), nearby obstacles, and an optional PNG visual snapshot.
replace_regionlocks everything outside your selection, re-lays out only the selected area with collision protection, and cleanly rebinds external boundary arrows.
100% Offline & CSP-Safe: Single-file HTML bundle (~3.6 MiB) with bundled local fonts and zero external CDN calls.
Bundled Skill (
skills/diagram-design/SKILL.md): Teaches Antigravity how to pick the best layout strategy and perform surgical local edits.
Related MCP server: excalidraw-mcp
Installation
Option 1: Clone directly as a plugin (Quickest)
Requires Node.js 20+.
git clone https://github.com/Anon2Tokyo/antigravity-whiteboard.git ~/.gemini/config/plugins/antigravity-whiteboardOption 2: Build from source & install
git clone https://github.com/Anon2Tokyo/antigravity-whiteboard.git
cd antigravity-whiteboard
npm install
npm run install-pluginUsage in Antigravity
Open Whiteboard from Antigravity's left sidebar (full-page) or the right sidebar
+menu (companion mode).Ask Antigravity to draw diagrams, for example:
"Read
src/and draw a layered architecture diagram on the whiteboard.""Draw a left-to-right data flow diagram showing how requests are processed."
"Map out the project modules as a
boxmodule blueprint."
Precision local edits: Box-select any part of the diagram you want refined → click Attach → tell Antigravity what to change. Only the selected region updates while external nodes stay locked and connected.
Click the export button in the toolbar to save
.excalidraw,.svg, or.pngdirectly into your active project'sdocs/diagrams/directory.
Architecture
See DESIGN.md for full architecture, anti-overlap pipeline, selection protocol, and MCP tool specifications.
Development
npm run typecheck # TypeScript checks
npm run build # Build dist/index.html & dist/server.mjs
npm test # Run end-to-end MCP & anti-overlap smoke tests
npm run install-plugin # Build & install into ~/.gemini/config/plugins/antigravity-whiteboardLicense
MIT
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
A shared Excalidraw board that people and agents draw on together
A collaborative whiteboard your AI assistant can read, fill and show live, with changes you review.
AI agent draws editable hand-drawn diagrams (flowchart, ER, architecture) via MCP, not static images
Flowcharts that people and agents edit together on one live canvas, exported as Mermaid.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to create, read, modify, and render Excalidraw diagrams through a semantic graph abstraction, handling spatial reasoning automatically.1MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI coding assistants to generate and revise hand-drawn Excalidraw diagrams across 25 types, including architecture, flowcharts, sequence diagrams, Gantt charts, and charts, with automatic layout, styling, and offline SVG/PNG export. It can also optionally maintain a queryable architecture knowledge graph for version-controlled system models.-
- FlicenseNot gradedqualityAmaintenanceEnables AI coding tools to turn architecture and other structured descriptions into auto-laid-out, hand-drawn Excalidraw diagrams across 25 diagram types, including architecture, flowcharts, sequence, ER, swimlanes, timelines, Gantt, and charts. It also supports natural-language revision, SVG/PNG export, and optionally a queryable knowledge graph of the system.-