next-ai-draw-io

Draw and edit draw.io diagrams by chatting with an AI. Web app, desktop app, and an MCP server for Claude Code, Cursor, Codex and VS Code.

What is next-ai-draw-io?

Draw and edit draw.io diagrams by chatting with an AI. Web app, desktop app, and an MCP server for Claude Code, Cursor, Codex and VS Code.

Overview of next-ai-draw-io

What it is

Next AI Draw.io is a Next.js web application that integrates AI capabilities with draw.io diagrams. It allows users to create, modify, and enhance diagrams through natural language commands and AI-assisted visualization. The project is available as a web app, a desktop app for Windows, macOS and Linux, and an MCP server for AI agents such as Claude Code, Cursor and VS Code.

Key features

  • Create architecture diagrams, flowcharts, sequence diagrams and more from one sentence, with built-in AWS, Azure, GCP and Kubernetes icon libraries
  • Edit by chat: changes stream onto the canvas and the shapes the AI just changed are highlighted
  • Versions and undo: every AI change is a version card with a thumbnail; compare it with the canvas, restore it or undo it, and Ctrl+Z on the canvas also takes back an AI change in one step
  • It is a normal draw.io diagram: double-click to rename, drag, restyle, use several pages, and export as .drawio, .png, .svg or .drawio.svg at any time
  • 25 model providers, including an OpenAI-compatible preset for any other URL; enter your own API key in the browser and it stays on your machine
  • Dark mode; the interface is available in English, Simplified Chinese, Traditional Chinese and Japanese

Use cases

Users can describe a diagram in a sentence and the AI draws it on a real draw.io canvas. It supports editing by hand, selecting a few shapes and telling the AI what to change, and uploading a screenshot or a sketch for the AI to redraw. PDF, Markdown, code and other text files can be uploaded to get a diagram of their content.

Getting started

bashgit clone https://github.com/DayuanJiang/next-ai-draw-iocd next-ai-draw-ionpm installcp env.example .env.local # add your provider and API key, see READMEnpm run devOpen http://localhost:6002. For the online demo, open next-ai-drawio.jiang.jp.

License and pricing

The project is open source under the Apache-2.0 license.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/dayuanjiangnext-ai-draw-io.svg)](https://yunodb.com/tools/dayuanjiangnext-ai-draw-io?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/dayuanjiangnext-ai-draw-io?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/dayuanjiangnext-ai-draw-io.svg" alt="Featured on YunoDB" height="20"></a>