Skip to content
mcp/skillhub

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.

5.7kNode.jsstdioremoteofficial registry

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/mcp

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-httphttps://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

ModelPer 1,000 turnsWith 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 tok

    Creates 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 tok

    Search 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 tok

    Returns 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.

  1. Last commit (default branch)

    2026-10-18 · 23d ago · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. 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
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.