Skip to content
Skillpedia
βœ“ Official Β· draw.io (jgraph)● Free and open source☁️ RemoteπŸ”“ No API keyDesign and media

draw.io MCP

Lets your AI agent create draw.io diagrams in chat from Mermaid or XML, shown live and interactive.

5.8k stars on GitHubby draw.io (jgraph)License Apache-2.0Updated 18 days ago

How to install

This MCP is remote: it runs in the cloud.

Nothing to install. Copy the address and paste it into your AI app:

Server address

https://mcp.draw.io/mcp
  • β€ΊClaude (site or app): Settings β†’ Connectors β†’ Add custom connector.
  • β€ΊChatGPT: Settings β†’ Apps β†’ Create app (developer mode), and paste the address.
  • β€ΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.

Paste in the terminal:

claude mcp add --transport http draw https://mcp.draw.io/mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Draw an AWS architecture with a load balancer, two servers and a database.
Turn this Mermaid sequence diagram into a draw.io diagram I can edit.

What it is

This is the official draw.io MCP server. The hosted version draws diagrams inline in your chat, and you can open them in the draw.io editor to keep editing. It can search more than 10,000 shapes, such as AWS, Azure, Kubernetes, UML and BPMN. Other options open diagrams in your browser or create files through plugins.

What it can do

  • create_diagram: draw draw.io XML or Mermaid as an interactive diagram in chat
  • search_shapes: find shapes and icons by keyword across 10,000+ shapes
  • get_drawio_reference: return the XML or Mermaid reference the model reads before drawing
  • open_drawio_xml: open a diagram in the draw.io editor (tool server)

When to use

  • β€ΊWhen you want an architecture diagram with cloud icons drawn straight from a description.
  • β€ΊWhen you have Mermaid code and want it as an editable draw.io diagram.
  • β€ΊWhen you want to restyle or change an existing diagram by asking for it.

What you need

Nothing for the hosted server: add https://mcp.draw.io/mcp as a remote MCP server. The npm tool server needs Node.js, and PNG, SVG or PDF export through plugins needs draw.io Desktop.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it official?

Yes. The readme calls it the official draw.io MCP server, from the jgraph repository.

Is it free?

The hosted endpoint and the npm package need no key. Pricing is not stated in the readme.

Which apps show diagrams inline?

Hosts that support MCP Apps, such as Claude.ai, ChatGPT, VS Code with GitHub Copilot and Cursor. Others get a link that opens the diagram in draw.io.

Does my diagram leave my computer?

With the hosted mcp.draw.io server, yes, it is sent as the MCP request. Self-hosting or the npm tool server keeps it local.

Can I run it myself?

Yes. Run it locally with Node.js, use the jgraph/drawio-mcp Docker image, or deploy your own to Cloudflare Workers.

What other ways are there?

A tool server opened with npx @drawio/mcp, plugins for Claude Code, Codex CLI, GitHub Copilot, Cursor and Antigravity, and a no-install project instructions option.

If it does not work

  • β€ΊIf diagrams do not show inline, your app may not support MCP Apps. Use the link it returns or the npx @drawio/mcp tool server.
  • β€ΊIn Cursor older than 2.6, use the stdio @drawio/mcp tool server instead of the hosted URL.
  • β€ΊPNG, SVG or PDF export through plugins needs draw.io Desktop installed.

5 new skills a week. 1 minute to read.