draw.io MCP Server
by jgraphio.draw/mcpv1.4.0
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
context tax
~2,028 tok/turn3 tools
security
97/100
cold start
pending
freshness
Active23d ago
Our reading of draw.io, from the data
draw.io is an MCP server from jgraph, listed in the official MCP Registry.
Its 3 tools add about 2,028 tokens to every model turn (measured 2026-10-19).
Maintenance is active: the last public signal was 23 days ago (2026-10-18).
It runs either locally over stdio or as a hosted endpoint.
Install draw.io MCP server
Install in Claude Code
claude mcp add drawio -- npx -y @drawio/mcpInstall in Cursor
{
"mcpServers": {
"drawio": {
"command": "npx",
"args": [
"-y",
"@drawio/mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"drawio": {
"command": "npx",
"args": [
"-y",
"@drawio/mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"drawio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@drawio/mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"drawio": {
"command": "npx",
"args": [
"-y",
"@drawio/mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @drawio/mcp
Remote endpoints
- streamable-http
https://mcp.draw.io/mcp
Context tax
Connecting this server adds ~2,028 tokens of tool definitions to every model turn (moderate, 3 tools). Measured 2026-10-19 via its hosted endpoint; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $8.11 | $0.406 |
| Claude Sonnet 5.5 | $4.06 | $0.406 |
| Claude Haiku 5.5 | $0.203 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (3)
create_diagram1,532 tokCreates and displays an interactive draw.io diagram from Mermaid.js syntax or draw.io XML — provide exactly one. **Choose the format first.** Use `xml` for diagrams of boxes and lines up to about 30 shapes: flowcharts, pipelines, decision trees, org charts, ER schemas, UML class, state and use case diagrams, mind maps, timelines, architecture, cloud and network diagrams, swimlanes, UI mockups, floor plans and anything with stencils. You place every shape yourself, laid out for the chat view (see the XML reference). Use `mermaid` for sequenceDiagram, gantt, gitGraph, pie, journey, quadrantChar
search_shapes297 tokSearch the draw.io shape library by keywords. Returns matching shapes with their exact style strings, dimensions, and titles. Covers ~10,000 built-in stencils (cloud architecture, network topology, P&ID, electrical, Cisco, Kubernetes, BPMN) and, when those are sparse, supplements results with the draw.io icon service (brand/product logos and general-purpose concept icons, e.g. 'react', 'slack', 'shopping cart', 'solar panel'). Use ONLY for diagrams that need industry-specific, branded, or pictorial icons. Do NOT use for standard diagram types like flowcharts, UML, ERD, org charts, or mind maps
get_drawio_reference197 tokReturns the draw.io diagram generation reference as Markdown. Format "xml": styles, the layout grid, edges, containers, swimlanes, layers, tags, metadata, dark mode, the layout and routing passes, and the well-formedness rules for create_diagram's xml. Format "mermaid": the header keyword and syntax hints for every Mermaid type draw.io supports, flowchart styling and the ELK layout. Call it once per format and conversation, before the first diagram in that format; the reference stays valid for the rest of the conversation.
Security signals
97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 23d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-18 · 23d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-10-18 · 23d ago · official registry · v1.4.0
FAQ
›How do I install the draw.io MCP server in Claude Code?
Run: claude mcp add drawio -- npx -y @drawio/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does draw.io require an API key?
No required environment variables are declared in its published metadata.
›Can I use draw.io as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is draw.io in the official MCP registry?
Yes, as io.draw/mcp.
›How many tokens does draw.io add to my context?
Its tool definitions total about 2,028 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2026-10-18
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-19
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.