$ 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

The official draw.io MCP server generates diagrams from XML, CSV, or Mermaid syntax and opens them directly in the draw.io editor for interactive editing. It renders with optional lightbox viewer and dark mode, allowing immediate hand-refinement of LLM-generated designs without leaving the editor.

Who it's for

Developers building LLM automation workflows where diagrams must be both programmatically generated and immediately editable in draw.io's GUI, rather than just viewed inline or exported as static images.

Common use cases

  • Generate architecture or deployment diagrams from infrastructure-as-code and open them for manual refinement in the editor
  • Convert CSV data into org charts, flowcharts, or data visualizations within draw.io
  • Render Mermaid sequence or state diagrams and adjust styling, layout, or annotations interactively
  • Embed diagram creation into Claude-driven automation pipelines to produce publication-ready visuals without round-tripping through exports

Setup pitfalls

  • Writes diagram files to the local filesystem and opens draw.io in a browser—ensure the environment is sandboxed if processing untrusted diagram definitions from external sources
  • Requires a graphical display and working browser; will not run on headless servers
  • CSV and Mermaid formats must be well-formed; malformed input may silently produce invalid draw.io XML
  • Network access to app.diagrams.net is required to launch the editor; verify draw.io domains are reachable in restricted networks
▣ 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"
      ]
    }
  }
}
⚙ 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 updated9h 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