A local, zero-dependency Draw.io MCP server in Go. Plug it into any MCP-compatible AI client and let your assistant create, edit, and export diagrams — all over stdio, no cloud required.
Everything runs on your machine. No servers, no telemetry, no accounts.
Single static binary. Your diagrams never leave your machine — no cloud backend, no account needed.
Implements the Model Context Protocol over stdio. Works with Claude Desktop, Cursor, Cline, WorkBuddy, and more.
Stripped Go binary, ~3–4 MB per platform. Instant startup, zero runtime dependencies.
Built-in browser preview renders diagrams in real time. Refine with follow-up edits until it's perfect.
14 MCP tools covering session lifecycle, diagram CRUD, page management, shape libraries, and export.
Bundled skill package lets your AI assistant pick the right tool at the right time — no manual prompting.
Three pieces, one stdio pipe. That's it.
MCP JSON-RPC over stdio → Go processes locally → draw.io XML + live preview
Three steps from download to first diagram.
Grab the build for your platform from the Releases page, or build from source with go build -o draw-io-gomcp ./cmd/server.
Add the server to your client's MCP config file. The exact location varies — here's the shape:
{
"mcpServers": {
"draw-io": {
"command": "/absolute/path/to/draw-io-gomcp",
"args": []
}
}
}Trust the server in your client, start a new conversation, and ask: "Draw a sequence diagram of a login flow."
Every tool ships with clear "when to use" / "when not to use" hints, error codes, and tier annotations.
Download, unzip, run. No compilation needed.
v0.1 is out — grab a binary, plug it into your MCP client, and ask your assistant to draw something.