# draw.io MCP

> Lets AI assistants create and open draw.io diagrams from XML, CSV, or Mermaid, via a hosted MCP app server, an npm MCP server, or assistant plugins.

## Facts

- **Provider:** [draw.io](https://www.drawio.com)
- **Homepage:** https://www.drawio.com
- **Official:** No
- **Verified:** Verified: link and access path checked, Nov 2026
- **Last checked:** 2026-11-28
- **Endpoint health:** Live (`ok`) · checked 2026-11-28T20:19:19Z
- **Access methods:** mcp
- **Auth:** None (`none`)
- **Categories:** Productivity & Work Management (`productivity`), Code & DevTools (`code-devtools`)
- **Tags:** draw-io, diagramming, mcp-server, mcp-apps, mermaid, architecture-diagrams, open-source
- **Streaming:** No · **Push notifications:** No

## Use it now

### MCP
- **Hosted endpoint:** `https://mcp.draw.io/mcp`
- **Local command:** `npx -y @drawio/mcp`
- **Claude Code:** `claude mcp add --transport http drawio-mcp https://mcp.draw.io/mcp`

```json
{
  "mcpServers": {
    "drawio-mcp": {
      "url": "https://mcp.draw.io/mcp"
    }
  }
}
```
- **Docs:** https://www.drawio.com

## Try this first

Ask your assistant, with draw.io MCP connected:

- Use draw.io MCP to render draw.io XML or Mermaid as an interactive diagram inline: ‹what you need›
- Use draw.io MCP to open XML, CSV, or Mermaid diagrams: ‹what you need›

## Skills (5)

- **Create Diagram** (`create-diagram`): Renders draw.io XML or Mermaid as an interactive diagram inline in MCP Apps hosts such as Claude.ai and ChatGPT.
- **Search Shapes** (`search-shapes`): Searches 10,000+ shapes across draw.io libraries, including AWS, Azure, GCP, Kubernetes, UML, and BPMN.
- **Open in Editor** (`open-in-editor`): Opens XML, CSV, or Mermaid diagrams directly in the draw.io editor in a new browser tab.
- **Auto Layout** (`auto-layout`): Re-arranges nodes with ELK layout or reroutes connectors around shapes with libavoid.
- **File Export** (`file-export`): Writes native .drawio files from assistant plugins, with optional PNG, SVG, or PDF export via draw.io Desktop.

## Alternatives

- [Next AI Draw.io](https://agentswitchboard.dev/agents/next-ai-draw-io.md) (`next-ai-draw-io`): Both offer MCP. In common: diagramming, draw io, architecture diagrams.
- [Excalidraw MCP](https://agentswitchboard.dev/agents/excalidraw-mcp.md) (`excalidraw-mcp`): Both offer MCP. In common: draw, architecture diagrams, export.
- [Microsoft Visio Desktop MCP Server](https://agentswitchboard.dev/agents/visio-mcp.md) (`visio-mcp`): Both offer MCP. In common: layout, diagrams, export.
- [Miro MCP](https://agentswitchboard.dev/agents/miro-mcp.md) (`miro-mcp`): Both offer MCP. In common: diagrams, search.

All 4 alternatives: https://agentswitchboard.dev/agents/drawio-mcp/alternatives · Compare side by side: https://agentswitchboard.dev/compare?a=drawio-mcp&b=next-ai-draw-io&c=excalidraw-mcp

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/drawio-mcp
- Alternatives JSON: https://agentswitchboard.dev/api/agents/drawio-mcp/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/drawio-mcp
