jgraph/drawio-mcp
The official draw.io MCP (Model Context Protocol) server that enables LLMs to create and open diagrams in the draw.io editor.
This repository offers four approaches for integrating draw.io with AI assistants. Pick the one that fits your setup:
| | MCP App Server | MCP Tool Server | Skill + CLI | Project Instructions | |---|---|---|---|---| | How it works | Renders diagrams inline in chat | Opens diagrams in your browser | Generates .drawio files, optional PNG/SVG/PDF export | Claude generates draw.io URLs via Python | | Diagram output | Interactive viewer embedded in conversation | draw.io editor in a new tab | .drawio or .drawio.png / .svg / .pdf | Clickable link to draw.io | | Requires installation | No (hosted at mcp.draw.io) | Yes (npm package) | Copy skill file + draw.io Desktop | No — just paste instructions | | Supports XML, CSV, Mermaid | XML only | ✅ All three | XML only (native format) | ✅ All three | | Editable in draw.io | Via "Open in draw.io" button | ✅ Directly | ✅ Directly | Via link | | Works with | Claude.ai, VS Code, any MCP Apps host | Claude Desktop, any MCP client | Claude Code | Claude.ai (with Projects) | | Best for | Inline previews in chat | Local desktop workflows | Local development workflows | Quick setup, no install needed |
---
The MCP App server renders draw.io diagrams inline in AI chat interfaces using the MCP Apps protocol. Instead of opening a browser tab, diagrams appear directly in the conversation as interactive iframes.
The official hosted endpoint is available at:
https://mcp.draw.io/mcpAdd this URL as a remote MCP server in Claude.ai or any MCP Apps-compatible host — no installation required.
You can also run
Loading reviews...