$ timeahead.in
/ servers/npm/@drawio/mcp
npm

@drawio/mcp

Official draw.io MCP server for LLMs - Open diagrams in draw.io editor

4k stars8k/wkupdated 2d agogithub ↗
92excellent
▣ Overview

What it does

This MCP server generates diagrams from Claude and opens them directly in the draw.io editor. It accepts XML, CSV, and Mermaid.js input formats, passes diagram data through URL fragments to keep it local, and renders the result in a new browser tab. Built-in options support lightbox display mode and dark mode rendering. The server does not transmit diagram content to external rendering services — all processing happens client-side in your browser.

Who it's for

Engineers and architects using Claude Desktop who need to author diagrams with AI assistance and then edit them interactively. Particularly useful for those working under data-residency constraints or who prefer the native draw.io editor over inline previews.

Common use cases

  • Generate cloud architecture diagrams with AWS, Azure, GCP, and Kubernetes shapes; refine visually in draw.io.
  • Convert Mermaid syntax to richer, more customizable draw.io format with additional styling options.
  • Author UML class diagrams, flowcharts, or entity-relationship diagrams with Claude, then iterate and polish them live.
  • Build system designs under data-residency requirements where diagram XML never leaves your machine.

Setup pitfalls

  • Install via npx @drawio/mcp; requires Node.js and npm on the host.
  • Diagram data is URL-encoded and embedded in browser fragments; extremely large diagrams may exceed URL length limits.
  • Writes diagram files to the local filesystem; ensure the working directory has write permissions.
  • Requires a graphical browser with JavaScript enabled; will not function in headless or terminal-only environments.
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
83
16.7
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
91.7
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecevalsecrets
◆ Risk level: high
fs read + fs write + network + exec + eval + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "drawiomcp": {
      "command": "npx",
      "args": [
        "-y",
        "@drawio/mcp"
      ]
    }
  }
}
📈 Score historylast 30 snapshots
4/30/20266/6/2026 · 30 snapshots
⚙ Maintenance health
29/ 100 · is this project alive?
contributors (1y)3
top contributor share96%
releases (1y)0
ci✓ passing
⛁ Raw data
weekly downloads8k
github stars4k
forks256
open issues0
license✓ present
readme length6540 chars
last publish0d ago
last commit2d ago
last updated6h ago
install verified✓ pass · 23d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points