next-ai-draw-io lets users create and edit draw.io diagrams by describing them in natural language, producing editable output on a real draw.io canvas. It ships as a web app, desktop app, and MCP server, and supports 25 model providers including Ollama local models.
Project overview
It targets a specific pain point—slow manual diagram authoring—by combining chat-driven generation with versioning of every AI change and an MCP server that lets Claude Code, Cursor, and VS Code agents draw diagrams directly.
Project type
MCP
Use cases
Automation
Deployment
Refer to project documentation
License
Apache-2.0
Best for
Developers and general users who already have an LLM API key from one of the 25 supported providers (for example OpenAI, Anthropic, or Ollama) and want natural-language diagram creation with editable draw.io output.
Developers working in Claude Code, Cursor or VS Code who want their coding agent to generate and version draw.io diagrams via MCP.
Key capabilities
Describe a diagram in a sentence and the AI draws it on a real draw.io canvas; edit by chat, select shapes for targeted changes, review versions with compare, restore and undo, and export as .drawio, .png or .svg.
Ships an MCP server so Claude Code, Cursor, VS Code and other agents can draw draw.io diagrams directly, with version history, export, and auto-save.
Supports 25 model providers including an OpenAI-compatible preset and Ollama local models; an API key entered in the browser stays on the user's machine.
Limitations and risks
Small models tend to produce broken diagrams; a capable model is recommended.
GPU requirements, minimum hardware, cost dependency, and telemetry are not documented in the available facts.
Getting started
Setup difficulty is documented as medium. First-success path: git clone https://github.com/DayuanJiang/next-ai-draw-io; cd next-ai-draw-io; npm install; cp env.example .env.local (add your provider and API key); npm run dev; open http://localhost:6002.
Evidence and sources
GitHub project description: Draw and edit draw.io diagrams by chatting with an AI.
README: Describe a diagram in a sentence and the AI draws it on a real draw.io canvas.
README: 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
README: claude mcp add --scope user drawio -- npx @next-ai-drawio/mcp-server@latest
README: Open [next-ai-drawio.jiang.jp](https://next-ai-drawio.jiang.jp/), nothing to install.