Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyDesign and media

Next AI Draw.io

Lets your AI agent draw and edit draw.io diagrams on a live browser canvas that you can also change by hand.

37k stars on GitHubby Dayuan JiangLicense Apache-2.0Updated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add next-ai-drawio -- npx -y @next-ai-drawio/mcp-server

Ready! Now test it

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

Draw a flowchart of user authentication with login, MFA and session management
Draw an AWS architecture for a web app across two availability zones with the AWS icons

What it is

This server lets your AI agent create diagrams on a real draw.io canvas that opens in your browser. You describe a diagram in words, the agent draws it, and you can keep editing it by hand. Results can be exported as .drawio, .png or .svg files.

What it can do

  • Draw diagrams such as flowcharts, architecture and sequence diagrams
  • Use built-in AWS, Azure, GCP and Kubernetes icon libraries
  • Read the shapes you select so the agent edits only those
  • Take a screenshot of the diagram so the agent can check and fix it
  • Keep version history and several pages
  • Export as .drawio, .png, .svg or .drawio.svg

When to use

  • β€ΊWhen you need an architecture diagram without drawing every box yourself
  • β€ΊWhen you want to change part of a diagram by selecting shapes and telling the agent what to do
  • β€ΊWhen you want a diagram you can still open and edit as a normal draw.io file

What you need

Node.js (the server runs with npx) and an MCP client such as Claude Code, Cursor or VS Code. The draw.io editor ships inside the package.

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 open source?

The readme shows an Apache-2.0 license badge. There is also a web app and a desktop app.

Does the MCP server work offline?

The draw.io editor ships inside the package, so the preview works offline according to the readme.

Where are my diagrams saved?

The MCP server auto-saves to ~/.next-ai-drawio/.

Which clients can use it?

Claude Code, Claude Desktop, Cursor, VS Code, Codex and other MCP clients.

Can I undo what the AI did?

Yes. The AI's changes are outlined and one Ctrl+Z takes them back.

How do I install it in Claude Code?

Run: claude mcp add --scope user drawio -- npx @next-ai-drawio/mcp-server@latest.

If it does not work

  • β€ΊCheck that Node.js is installed and that npx can run @next-ai-drawio/mcp-server@latest.
  • β€ΊRestart your MCP client fully after adding the server.
  • β€ΊIf the diagram does not appear, check that your browser opened the preview page the server started.

5 new skills a week. 1 minute to read.