Drawio

•

Enables Large Language Models to create and open diagrams in draw.io supporting XML, Mermaid, and CSV formats.

drawio-mcp is an MCP (Model Context Protocol) server that empowers Large Language Models to seamlessly generate and visualize diagrams within draw.io. By converting diagram content provided by an LLM—whether in draw.io XML, Mermaid.js, or CSV—the server constructs a unique draw.io URL. This URL is then opened in the user's default browser, instantly displaying the diagram in the draw.io editor for further editing or export. This innovative approach ensures that diagram data remains client-side, never transmitted to any external server, leveraging the security and privacy of URL hash fragments.

Características Principales

01Support for draw.io XML for detailed diagram control
020 GitHub stars
03Open diagrams directly in draw.io from LLM prompts
04Client-side rendering, ensuring diagram data privacy and instant display
05CSV support for generating organizational charts and data-driven diagrams
06Mermaid.js integration for flowcharts, sequence, and ER diagrams

Casos de Uso

01Automatically creating organizational charts and other data-driven layouts from tabular CSV data
02Quickly visualizing processes and system interactions with Mermaid flowcharts and sequence diagrams
03Generating custom-styled diagrams using XML directly from AI instructions