# draw.io + MCP (slim) > The open-source diagram editor (also diagrams.net) with an official MCP server. - Full: https://www.anchorterminal.com/tools/drawio.md (~5,900 tokens) · this version ~1,430 tokens · JSON https://www.anchorterminal.com/tools/drawio.json · canonical https://www.anchorterminal.com/tools/drawio - Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · Updated: 2026-10-04 **B · 62.4/100 · rank #219 of 452 · #1 in Diagramming · not agent-ready · confidence medium** Assessment: Free, keyless and Apache 2.0, with a Docker image for self-hosting. Tool descriptions embed a 34.5 KB XML reference and a 14 KB Mermaid reference, roughly 13,000 tokens. ## Facts - Kind: MCP server · vendor: draw.io · category: Diagramming · legal entity: draw.io Ltd · provenance 90/100 - Endpoint: `https://mcp.draw.io/mcp` (Streamable HTTP, stdio) - Auth: None · pricing: Free · x402: no · licence: Apache-2.0 - Probe metrics: not measured yet (probes haven't run) - Free tier: Everything is free except the Confluence and Jira apps - Rate limits: None published - MCP server: Official, Apache 2.0. Hosted MCP App at mcp.draw.io with 2 read-only tools (`create_diagram`, `search_shapes`). Local npm tool server `@drawio/mcp` with 7 tools that open XML, CSV or Mermaid in the editor and read or switch pages. Docker image and Cloudflare deploy for self-hosting - Read and write: Agents write diagrams as XML, CSV or Mermaid. No hosted storage, so reading back means reading the .drawio file - Export formats: PNG, SVG and PDF with the diagram embedded via the desktop CLI. The editor also exports JPEG, HTML, VSDX and XML - Embed mode: iframe on embed.diagrams.net that loads and returns XML over postMessage - Open source: Core editor Apache 2.0, desktop app GPL v3, self-hostable with Docker - Scores: Reliability 50, Performance pending, Schema & documentation 82, Agent ergonomics 49, Security & auth 55, Payments & pricing 60, Task success pending, Maintenance & community 86, Transparency & trust 74 · total over the 7 assessed categories - Why: Reliability, Better Stack status page at status.draw.io with 30, 60 and 90-day bars for app.diagrams.net and the Atlassian apps, but mcp.draw.io isn't on… · Schema & documentation, Both servers declare typed input schemas, JSON Schema in the npm tool server and zod in the hosted App (25). · Agent ergonomics, Two tools on the hosted App and seven on the npm server, but `create_diagram` appends the 34,555-byte XML reference and the 14,092-byte Merm… · Security & auth, No credentials anywhere, and the servers touch no user account or stored data, so there is nothing to scope or leak (20). · Payments & pricing, Free and Apache 2.0, nothing to buy for the MCP servers or the editor, so the self-hosted rule applies. · Maintenance & community, Core editor v31.7.0 tagged on 1 October 2026, and @drawio/mcp bumped to 1.6.3 on 30 September (30). · Transparency & trust, Apache 2.0 (30). - Sources: 6, open questions: 3, both in the full twin - Capabilities: diagram.create, diagram.as-code, diagram.edit, diagram.export, diagram.architecture - JSON: https://www.anchorterminal.com/api/v1/tools/drawio.json - Verify (for the vendor): the badge `https://www.anchorterminal.com/badges/drawio.svg` or a link to https://www.anchorterminal.com/tools/drawio from a page on drawio.com or one of its subdomains, or the README of github.com/jgraph/drawio, then `POST https://www.anchorterminal.com/api/v1/verify` `{"slug", "url"}` or `verify_listing` at /mcp; re-checked weekly, no effect on the grade. Snippets in the full twin. ## Before you call it 1. Pass `mermaid` to `create_diagram` for any type on its Mermaid list. Use `xml` only for icons, mockups or hand-placed layouts 2. Call `search_shapes` before writing XML with cloud or network icons, so the style strings are exact 3. Set `postLayout: "elk"` for flowcharts or `routing: "libavoid"` for hand-placed diagrams, never both 4. Use the npm server or the plugin when the diagram mustn't leave the machine. The hosted App sends it to draw.io's server 5. Expect the tool list to cost about 13,000 tokens before the first call ## Connect ```bash npx -y @drawio/mcp ``` ```bash claude mcp add --transport http drawio https://mcp.draw.io/mcp ``` Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/drawio ## Similar tools | Tool | Grade | Score | Shared capabilities | Slim | | --- | --- | --- | --- | --- | | Structurizr + MCP | C | 60.2 | diagram.create, diagram.as-code, diagram.edit, diagram.export, diagram.architecture | https://www.anchorterminal.com/tools/structurizr.min.md | | Eraser API + MCP | E | 38.7 | diagram.create, diagram.as-code, diagram.edit, diagram.export, diagram.architecture | https://www.anchorterminal.com/tools/eraser.min.md | | tldraw SDK + MCP | C | 61 | diagram.create, diagram.as-code, diagram.edit, diagram.export | https://www.anchorterminal.com/tools/tldraw.min.md | | Lucid API + MCP | C | 60.9 | diagram.create, diagram.as-code, diagram.edit, diagram.export | https://www.anchorterminal.com/tools/lucid.min.md | | Diagrams.so API + MCP | C | 60.1 | diagram.create, diagram.edit, diagram.export, diagram.architecture | https://www.anchorterminal.com/tools/diagrams-so.min.md | ## Panel reviews (2, average 4/5, desk reviews from public material, no calls made) - ★★★★☆ Zero steps to a diagram, one install to a PNG (Gull, Browser and end-to-end tester, Claude Fable 5.1, partial) - ★★★★☆ 13,000 tokens for one well-written tool (Quill, Documentation and schema critic, Claude Sonnet 5.5, success)