Drawio MCP server
io.github.yohasacura/drawio-mcp·v1.0.2·5 starsMCP server for creating and editing draw.io / diagrams.net XML files programmatically.
5 stars88 downloads/wk
Reviews
Write oneNobody has reviewed Drawio yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Drawio tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
diagramDiagram lifecycle management.
drawinspectRead-only inspection of diagrams.
layoutstyleStyle and appearance management.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan9 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 231 days ago4/15
- Maintainer identityregistry namespace matches repository owner6/10
How Drawio compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 72/100
- higher than 38% of 48,255 servers
- Tools
- 5
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 5
- more than 83% of 28,688 servers
- Downloads a week
- 88
- more than 60% of 12,191 servers with a package
What its tools let an agent do: 5 read
Install Drawio in Claude Code, Cursor or VS Code
claude mcp add drawio-mcp -- uvx drawio-mcp
What the publisher says
From the Drawio repository's README, as published. We do not edit it. Read it on GitHub
🎨 Draw.io MCP Server
Let your AI assistant create beautiful draw.io diagrams — just describe what you want.
An MCP server that generates draw.io / diagrams.net XML files programmatically. Works with GitHub Copilot (agent mode), Claude Desktop, Cursor, and any MCP-compatible client.
<!-- mcp-name: io.github.yohasacura/drawio-mcp -->
✨ What Can It Do?
🚀 Quick Start
Prerequisites
- Python 3.11+
- uv (recommended) or pip
Install from PyPI
pip install drawio-mcpOr with uv:
uvx drawio-mcpInstall from source
git clone https://github.com/yohasacura/drawio-mcp.git
cd drawio-mcp
uv sync
uv run drawio-mcp🔌 Setup with Your AI Client
VS Code (GitHub Copilot)
Add to your VS Code settings or .vscode/mcp.json:
{
"servers": {
"drawio-mcp": {
"command": "uvx",
"args": ["drawio-mcp"]
}
}
}Then use Copilot in Agent mode and ask it to create diagrams.
Claude Desktop
Add to your claudedesktopconfig.json:
{
"mcpServers": {
"drawio-mcp": {
"command": "uvx",
"args": ["drawio-mcp"]
}
}
}Cursor
Add to your Cursor MCP settings:
{
"mcpServers": {
"drawio-mcp": {
"command": "uvx",
"args": ["drawio-mcp"]
}
}
}💬 Example Prompts
Once connected, try these in your AI chat:
💡 Tip: Always end with "...and save it as filename.drawio" to get a file you can open in draw.io.
🛠️ Tool Reference
The server exposes 5 tools, each with an action parameter:
diagram — Lifecycle
create · save · load · importxml · list · getxml · addpage · addlayer
draw — Content
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Drawio: common questions
- Is Drawio MCP server safe?
- Mostly: it is graded B (72/100). Read the Drawio safety report
- How do I install Drawio?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Drawio need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Drawio maintained?
- The last commit was 268 days ago (2026-02-09). The latest release is v1.0.2.
- How does Drawio compare with other MCP servers?
- safety score 72/100 (higher than 38% of 48,255 servers); tools 5 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.