MerchantryTidbits

agent-tooling / mcp

Draw.io MCP Server

Capability: Draw.io MCP Server

Use it when

  • An AI assistant describes an architecture diagram in text or raw XML but the user has no way to view or edit it as a real diagram
  • A team wants cloud, network, or UML diagrams generated in chat to land as editable .drawio files with correct library shapes instead of static images

What it solves

Not the fit when

  • photo or artistic image generation
  • hosted mcp.draw.io endpoint sends diagram XML to the draw.io server; self-host for strict data residency
  • PNG/SVG/PDF export requires locally installed draw.io Desktop CLI
  • general image generation
  • database schema introspection
  • screenshot capture or annotation
  • diagramming without an MCP-capable or plugin-capable assistant

Install

Add https://mcp.draw.io/mcp as a remote MCP server (no install), or run locally with: npx @drawio/mcp

Invoke

Ask the assistant to create a diagram; the create_diagram tool renders draw.io XML inline (MCP Apps hosts) or the tool server opens it in the draw.io editor; use search_shapes to find exact shape style strings (AWS, Azure, UML, BPMN, etc.) before generating XML

Alternatives

No reviewed alternatives recorded yet.