Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

draw.io

MCP server by jgraph Verified · draw.io

Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.

  • Score 100
  • 5.9k stars
  • 20k a week
  • Apache-2.0
  • Updated

Install draw.io

Built from the published package, never by AI.

claude mcp add draw-io -- npx -y @drawio/mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install draw.io in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the draw-io block.

About

The official draw.io MCP server lets AI assistants create diagrams from Mermaid, PlantUML, CSV or draw.io XML. The MCP App server renders the diagrams inline in chat as interactive viewers, where they can be opened in draw.io, copied or exported. It also searches more than 10,000 shapes across draw.io's libraries, so the assistant can use exact style strings.

A hosted endpoint at mcp.draw.io needs no installation. A separate tool server, published as the @drawio/mcp npm package, opens diagrams in the browser for desktop clients. Plugins for Claude Code, Codex CLI and GitHub Copilot write .drawio files. The project suits anyone who wants editable diagrams made from text prompts.

Written from the project's README and checked against it.

Tools it gives your assistant

  • create_diagramRenders draw.io XML, Mermaid, PlantUML or draw.io CSV as an interactive diagram in chat.
  • search_shapesSearches 10,000+ draw.io shapes by keyword and returns exact style strings.
  • get_drawio_referenceReturns the XML or Mermaid generation reference the model reads before its first diagram.
  • create_semantic_diagramFast mode for flowcharts and swimlane diagrams when a quick or cheap diagram is requested.

What you need

  • An MCP-compatible AI assistant such as Claude.ai, ChatGPT, VS Code, Cursor or GitHub Copilot CLI
  • Node.js or Docker for running the server locally
  • draw.io Desktop, or Chrome, Edge or Chromium, for Mermaid conversion in the plugins

Try asking

  • Turn this Mermaid flowchart into an editable draw.io diagram
  • Find AWS and Kubernetes shapes for a cloud architecture diagram
  • Quickly sketch a flowchart of a library book return process

Good to know

  • Fast mode draws only flowcharts and swimlane diagrams, in the calm theme.
  • Flowcharts without lanes are limited to 24 steps in fast mode.
  • Some Mermaid types leave parts as drawings, such as timelines, tree views and radar curves.
  • Marking shapes in chat is described as a prototype.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to draw.io

All alternatives →
GitDiagram ahmedkhaleel2004
100

Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.

AAA Remote 19k
mockserver mock-server
100

Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.

AAA Local 5k
XcodeBuildMCP getsentry
100

Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.

AAA Local 6.6k
Repowise repowise-dev
98

Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.

ACA Local and remote 8.4k
Repowise (Hosted) repowise-dev
98

Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.

ACA Remote 8.5k
Qase Test Management qase-tms
98

Official MCP server for Qase Test Management that lets AI assistants manage test cases, runs, suites and defects. Connect to the hosted server with a Qase login or run it locally with an API token. Built for QA teams that use Qase.

AAC Local and remote 25k/wk

Compare with GitDiagram, mockserver or XcodeBuildMCP

draw.io: common questions

Does the draw.io MCP server need to be installed?

The hosted endpoint at mcp.draw.io needs no installation. The server can also be run locally with Node.js or the jgraph/drawio-mcp Docker image, or deployed to Cloudflare Workers.

Can the diagrams be edited after the assistant creates them?

Yes. The source says the diagrams are native draw.io shapes and connectors that can be edited, moved and restyled in draw.io, and the viewer has an Open in draw.io button.

Which input formats does it accept?

It accepts draw.io XML, Mermaid with 28 diagram types, PlantUML and draw.io CSV. Mermaid flowcharts, ER and sequence diagrams are converted on the server.

How do I install draw.io?

In Claude Code run claude mcp add draw-io -- npx -y @drawio/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is draw.io the official server?

draw.io is published by draw.io from its verified domain in the official MCP Registry.

Is draw.io free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is draw.io safe to use?

It scores 100 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to draw.io?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, Repowise.

Does draw.io work with ChatGPT?

Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.

draw.io Install

Add to stack

Loading.