A programmatic interface to draw.io's XML format that exposes diagram lifecycle, drawing, styling, layout, and inspection tools through MCP. You get 310+ shape presets spanning flowcharts, UML, C4, ER, BPMN, and cloud architectures, plus auto-layout engines like Sugiyama DAG and orthogonal routing with obstacle avoidance. Works with Claude Desktop, GitHub Copilot agent mode, and Cursor. The polish action is the standout: one call fixes overlaps, reroutes edges, and cleans up labels automatically. Ships with 44 edge styles and 21 color themes. If you need your LLM to generate or modify technical diagrams that open cleanly in draw.io without manual cleanup, this handles the geometry and styling mechanics so prompts like "make a Kubernetes deployment diagram" actually produce usable output.
claude mcp add --transport stdio yohasacura-drawio-mcp uvx drawio-mcp