About
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.