1. Conduid
  2. Browser
  3. Next AI Draw.io
MCP server · Browser

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.

64Good

Scored 2 hours ago · breakdown

About Next AI Draw.io

Next AI Draw.io is an MCP server published by DayuanJiang in the Browser category: 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.

The repository has 36K stars and 3.9K forks, with the last commit 2 hours ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add next-ai-draw-io-dde0 -- npx -y @next-ai-drawio/mcp-server
npx
npx -y @next-ai-drawio/mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Next AI Draw.io

Powered by Claude · Grounded in docs

I know everything about Next AI Draw.io. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 1 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.

1 check has not been run yet.

Releases

v0.5.0v0.5.0 · 10 Oct 2026What's New in v0.5.0 The first release since May. The web UI is rebuilt around the canvas, draw.io is bundled with the app, the settings dialog is redone, and the MCP server reaches feature parity with the web app. Desktop users get every…
v0.4.160.4.16 · 21 May 2026What's New in v0.4.16 Bug Fixes Electron Window Close**: Override draw.io iframe `beforeunload` so the window can be closed after editing a diagram on macOS/Windows (fixes #815) (#840) Kimi Reasoning Models**: Use `createDeepSeek` for the…
v0.4.150.4.15 · 14 Apr 2026What's New in v0.4.15 New Features Personal My Templates Library**: Added personal My Templates library alongside Quick Examples for saving and reusing diagram templates (#773) XML+SVG Export**: Added xmlsvg export option for diagrams…
v0.4.140.4.14 · 30 Mar 2026What's New in v0.4.14 New Features Novita AI Provider**: Added Novita AI as a new LLM provider with OpenAI-compatible API and open-source model support (#758) Improvements GLM Vision Model Check**: Added checks for GLM text and visual…
v0.4.130.4.13 · 7 Mar 2026What's New in v0.4.13 New Features Chinese AI Provider Support**: Added support for MiniMax, GLM (Zhipu), Qwen (Alibaba), Kimi (Moonshot), and Qiniu AI providers (#722) Custom System Message**: Added custom system message setting for AI…

README

Next AI Draw.io

Draw and edit draw.io diagrams by chatting with an AI.

English | 中文 | 日本語

TrendShift

Sponsor

Live Demo · Docs · Gallery · Desktop App · MCP Server

https://github.com/user-attachments/assets/66b9f12f-219f-4d62-acc0-0725e6850eec

Describe a diagram in a sentence and the AI draws it on a real draw.io canvas. Edit it by hand like any draw.io file, or select a few shapes and tell the AI what to change. Every AI change is a version you can compare, restore or undo, and the result exports as .drawio, .png or .svg.

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.

Highlights

Draw

  • Architecture diagrams, flowcharts, sequence diagrams and more from one sentence, with built-in AWS, Azure, GCP and Kubernetes icon libraries
  • Connectors can carry a flowing animation
  • Upload a screenshot or a sketch and the AI redraws it; upload PDF, Markdown, code and other text files and get a diagram of their content

Edit

  • Edit by chat: changes stream onto the canvas and the shapes the AI just changed are highlighted
  • Ask about a selection: select shapes on the canvas and the AI changes only those
  • 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

Use

  • 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
  • Models that reason show their thinking
  • Dark mode; the interface is available in English, Simplified Chinese, Traditional Chinese and Japanese

Examples

More examples, each with its prompt and model, are in the gallery.

Use it

Online demo

Open next-ai-drawio.jiang.jp, nothing to install. The demo has a usage limit; click the settings icon in the chat panel and enter your own provider and API key to lift it. The key stays in your browser and is never sent to the server for storage.

Desktop app

Download the Windows, macOS or Linux installer from the Releases page.

In your AI agent (MCP)

https://github.com/user-attachments/assets/6f53a67b-ab21-4113-9fee-7fb32f9de678

Through MCP (Model Context Protocol, the protocol AI agents use to call outside tools), Claude Desktop, Cursor, VS Code and others can draw draw.io diagrams directly. Add this to your client's MCP configuration:

{
  "mcpServers": {
    "drawio": {
      "command": "npx",
      "args": ["@next-ai-drawio/mcp-server@latest"]
    }
  }
}

In VS Code or Cursor, one click adds it: Install in VS Code Add to Cursor

For Claude Code, one command does it (--scope user makes it available in every project):

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

It is also a plugin in the Claude Code community marketplace (Claude Code 2.1.275 or later):

/plugin install next-ai-drawio --marketplace anthropics/claude-plugins-community

Then ask the AI for "a flowchart of user authentication with login, MFA and session management" and the diagram appears in your browser as it is drawn. The MCP server has most of the web app's drawing features:

  • The same drawing rules, icon libraries (AWS, Azure, GCP, Kubernetes and more) and canvas as the web app: the AI's changes are outlined, one Ctrl+Z takes them back, and the AI reads the shapes you select
  • A screenshot tool, so the AI looks at the rendered diagram and fixes it
  • Version history, several pages, export as .drawio, .png, .svg or .drawio.svg, and auto-save to ~/.next-ai-drawio/; the draw.io editor ships inside the package, so the preview works offline

The MCP server page has the setup for Codex, VS Code, Cursor and other clients, every tool, and how it compares with other draw.io MCP servers.

Compared with draw.io's built-in AI

draw.io has its own Generate tool (Arrange > Insert > Generate). It runs inside draw.io on a free hosted model or your own API key, and it can change a diagram, page or selection that you attach to its chat. Next AI Draw.io sends the current canvas, including your hand edits, with every message, turns every AI change into a version you can compare or restore, and works with 25 providers, including local models through Ollama, on the demo site, in the desktop app or on your own server.

Self-host

Run locally

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, see "Models and providers" below
npm run dev

Open http://localhost:6002.

One-click deploy

Platform How
Tencent EdgeOne Pages Deploy to EdgeOne Pages Deploying there also gives you a daily free quota for DeepSeek models
Vercel Deploy with Vercel Set the same environment variables in the Vercel dashboard as in your .env.local
Cloudflare Workers Cloudflare deploy guide
Docker Docker guide
Offline or intranet Offline deployment

Models and providers

25 providers are supported: AWS Bedrock (default), OpenAI, Anthropic, Google AI, Google Vertex AI, Azure OpenAI, Ollama, OpenRouter, AIHubMix, DeepSeek, SiliconFlow, SGLang, Vercel AI Gateway, Tencent EdgeOne, ByteDance Doubao, ModelScope, Zhipu GLM, Qwen, Qiniu, Kimi, MiniMax, Novita, Xiaomi MiMo, Atlas Cloud, and an OpenAI-compatible preset for any other URL (vLLM, LM Studio, a gateway). The environment variables and notes for each are in the provider configuration guide.

Which model: the task is to produce long text in a strict format (draw.io XML), so pick a capable model; small models tend to produce broken diagrams.

Several models and the admin panel: list several model IDs in AI_MODEL separated by commas, or configure models from several providers with the AI_MODELS_CONFIG environment variable or an ai-models.json file, and every user can use them without a key of their own. Set ADMIN_PASSWORD and open /admin to manage models, access codes, feature switches, observability and quotas from a web page; see the admin panel guide.

Support

  • Questions and ideas: open a GitHub issue or email me[at]jiang.jp
  • Common problems: FAQ
  • If the project is useful to you, consider sponsoring to help keep the demo site running

Star History Chart

README fetched from the repository 1 hours ago. The original is authoritative.

Questions

About Next AI Draw.io

How do I install Next AI Draw.io?

Run claude mcp add next-ai-draw-io-dde0 -- npx -y @next-ai-drawio/mcp-server, then add the server to your MCP client's configuration.

Is Next AI Draw.io safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Next AI Draw.io still maintained?

Yes — the latest release is v0.5.0 (10 Oct 2026), and the last commit was 2 hours ago. The repository has 36K stars and 39 open issues.