mrkeyoor.com_
Wed 11 Nov 14:50 UTC
AI Toolsevaluationupdated 28 Sept 2026

next-ai-draw-io review

Next AI Draw.io turns plain-language requests, documents, and images into editable draw.io diagrams. You can revise the result in the familiar draw.io editor or ask the model to change the underlying diagram XML.

+151stars / 7d
Verdict

Our run passed all 174 tests, but npm audit reported 51 known vulnerabilities, so Next AI Draw.io fits a trusted local or tightly controlled deployment better than an exposed shared service. Use it when editable draw.io output is worth more than a flat generated image, especially from Claude Code or another MCP client. Wait on casual public hosting until you have reviewed the dependency findings and the open SSRF and stored-XSS reports.

We ran it

Lab card: what happened when we ran next-ai-draw-ioScreenshot of next-ai-draw-io (next-ai-drawio.jiang.jp)
Install✓ · 67s1552 packages · 2083 MB
Build✓ · 69s
Tests✓ · 13s174 passed · 0 failed of 174 (vitest)
Known vulns512 critical · 27 high · 7 moderate · 15 low (npm audit)
Repo306 files~40,702 lines of source · 4.8 MB · 6 CI workflows · Dockerfile · tests dir

Answers from our run

Does next-ai-draw-io build from source?

Dependencies installed in 67 seconds (1552 packages), and the build succeeded in 69 seconds. We cloned commit 027cd88 into a clean Debian container with 3 CPUs and no project-specific setup.

Do next-ai-draw-io's tests pass?

Yes. The project's own test command finished in 13 seconds and reported 174 passed, 0 failed (vitest).

Does next-ai-draw-io have known vulnerabilities in its dependencies?

npm audit flagged 51 known advisories in the dependency tree, including 2 critical at the time of our run.

Who should not use next-ai-draw-io?

Operators planning an internet-facing service without extra controls: open issue 921 reports unauthenticated SSRF in URL import for versions through 0.4.16.

What are the alternatives to next-ai-draw-io?

draw.io, Excalidraw, Mermaid. Our run passed all 174 tests, but npm audit reported 51 known vulnerabilities, so Next AI Draw.

Setup3/5Builds cleanly, but 1,552 packages and provider setup add weight
Docs4/5Clear provider, Docker, offline, admin, and MCP guides
Community5/536,064 stars, a September 27 push, and current issue activity
Maturity3/5174 tests passed, but the audit and security reports need work

Who it’s for

Developers who turn architecture notes or process descriptions into diagrams that still need hand editing.
Teams already using draw.io and willing to choose and pay for a capable model provider.
Claude Code, Cursor, and VS Code users who want diagram work available through MCP.
Self-hosters who need several model providers behind one shared diagram interface.

Who it’s NOT for

Operators planning an internet-facing service without extra controls: open issue 921 reports unauthenticated SSRF in URL import for versions through 0.4.16.
Teams that block releases with known dependency findings: our npm audit reported 51 vulnerabilities, including 2 critical and 27 high.
People counting on a small local model: the README says the job needs long, strictly formatted XML, and issue 943 reports broken Ollama routing and parsing behavior.
Air-gapped teams unwilling to host draw.io too: the normal editor loads from embed.diagrams.net, while the offline guide requires a separate draw.io service and rebuild.
Serverless teams expecting admin changes to persist: the admin guide says the panel is read-only on Vercel and Cloudflare Workers because their filesystems are not persistent.

Setup reality

Our fresh Debian sandbox installed commit 027cd88 in 67 seconds, adding 1,552 packages and using 2,083 MB on disk. The build finished in 69 seconds, then all 174 Vitest tests passed in 13 seconds. npm audit reported 51 known vulnerabilities: 2 critical, 27 high, 7 moderate, and 15 low.

Running the app still requires a model. Most providers need an API key and model name, while Ollama can stay local. Shared installations can define several server-side models. The admin panel needs an ADMIN_PASSWORD, and it stores saved secrets in a mode-600 plaintext file.

Docker, Compose, desktop packages, Vercel, EdgeOne, and Cloudflare routes are documented. An offline installation also needs a browser-reachable draw.io service and a build-time URL. Two open reports cover URL-import SSRF and stored XSS in the MCP history flow, so public deployment needs a separate security review.

Editable draw.io XML is the reason to choose it

Next AI Draw.io asks a language model to create or revise draw.io XML, then opens the result in an embedded editor. The diagram remains a real draw.io document: you can move shapes, fix labels, reconnect arrows, restore an earlier state, and export the file. That makes it more useful than a generated picture when the first answer is only a draft. Image, PDF, and text inputs can supply the material for a new diagram.

The checkout we measured was 4.8 MB, with 306 files and about 40,702 lines of source. Installation expanded it to 1,552 packages and 2,083 MB. That large jump buys a Next.js application, the editor integration, model adapters, desktop packaging, document input, and diagram history. It also changes the maintenance question. The maintenance burden is an application stack around draw.io, far larger than a small XML helper.

Model quality determines whether the editor gets usable XML

The README lists hosted providers such as OpenAI, Anthropic, Gemini, Bedrock, DeepSeek, and Qwen, plus compatible gateways and Ollama. Most require an API key and a model identifier. Administrators can publish several server-side choices through JSON or environment configuration, then use the web panel for access codes, quotas, and feature settings. Saved panel secrets live in data/settings.json, protected by file mode 600 but stored as plaintext.

All 174 Vitest tests passed in our sandbox, but that result does not rate a model's diagrams. The project itself says this job needs a model that can produce long output under strict XML rules. Open issue 943 describes failures with Ollama routing, forced XML behavior, and parsing tolerance. The practical trial is your own prompt set: architecture diagrams, longer revisions, and malformed model output should be checked before a team standardizes on one provider.

The MCP server brings editable diagrams into Claude Code

The MCP package connects Claude Code, Claude Desktop, Cursor, VS Code, and other clients to a browser preview. Its 10 documented tools cover starting a session, creating or loading a diagram, editing cells, reading XML, exporting files, and managing pages. The embedded HTTP server uses port 6002 by default and can try ports through 6020 when that one is occupied. The normal draw.io interface still comes from embed.diagrams.net.

The repository also had 6 CI workflow files, a Dockerfile, a Compose file, and a tests directory in our measured checkout. Those are good signs for contributors. The MCP route deserves separate threat modeling because it starts a local HTTP service and accepts diagram state from an agent. A private setup can point DRAWIO_BASE_URL at a self-hosted draw.io instance, but that changes only the editor source, not the need to review the MCP server itself.

What happened when we ran it

Our sandbox installed commit 027cd88 in 67 seconds on 3 CPUs with 8 GB of RAM. npm added 1,552 packages, and the finished install occupied 2,083 MB. The repository itself contained 306 files, about 40,702 lines of source, and occupied 4.8 MB before that dependency expansion. The install completed without secrets inside an unprivileged Debian container running the lab's Node 22 image.

The production build succeeded in 69 seconds. Vitest then passed all 174 tests in 13 seconds, with 0 failures. npm audit found 51 known vulnerabilities: 2 critical, 27 high, 7 moderate, and 15 low. The sandbox run did not include a model credential, so it provides no generation-quality, latency, or token-cost result. It establishes that install, build, and tests finish at this commit, while the dependency audit remains a release concern.

Two open security reports make public hosting a separate decision

Issue 921 reports that the URL-import endpoint checks hostname strings without resolving DNS before fetching, which can permit an unauthenticated server-side request to an internal address. The report names versions through 0.4.16 and remained open on September 28. Issue 914 reports a stored-XSS path in MCP history through an unauthenticated SVG update and disclosed session identifier. These are reporter-submitted findings, not exploits we reproduced in our sandbox.

The 51 audit findings do not prove that every listed package is reachable from a public request. They still matter beside two reports that describe concrete request paths. A sensible evaluation starts on a trusted workstation, with no inbound public route. Before shared hosting, inspect the affected code, restrict outbound network access, add authentication outside the app, and confirm which advisories apply to the deployed build. Passing 174 tests shows regression coverage. It does not certify security.

A September 27 push shows activity beyond the May release

GitHub recorded 36,064 stars, 193 open issues and pull requests combined, and a last push on September 27, 2026. The latest tagged release, v0.4.16, shipped on May 21 with desktop builds, dependency updates, and fixes for the Electron window, Kimi reasoning messages, access-code refresh, and the model sidebar. Open issues were still receiving updates in September, including reports about Ollama, image generation, and connector quality.

The dates show an active project even though the newest release tag is 4 months old. Our 67-second install, 69-second build, and 13-second test run also show that commit 027cd88 is workable for contributors. The decision turns on where you run it. For a developer who wants editable diagrams from Claude Code, the workflow is distinctive enough to justify a local trial. For a public service, 51 advisories and two open security reports are reasons to wait or add serious containment.

Alternatives

ProjectWhat it isPick it when
draw.io gh↗The underlying visual diagram editor without this project's model-driven chat layer.pick this instead when direct editing, offline control, and a smaller attack surface matter more than prompt-based generation.
Excalidraw gh↗A collaborative whiteboard with a hand-drawn style and an open file format.pick this instead when quick collaborative sketching matters more than detailed draw.io XML or model-provider choice.
Mermaid gh↗A text syntax and renderer for diagrams kept beside code and documentation.pick this instead when diagrams must be diffable, reproducible, and maintained through text review.

Sources

  1. Next AI Draw.io README
  2. Next AI Draw.io repository
  3. Release v0.4.16
  4. Admin panel guide
  5. MCP server guide
  6. SSRF report 921
  7. Stored XSS report 914
  8. Ollama report 943

More ai tools reviews

pocketpal-ai · ohmygame · ooosplat · dexter · oh-my-ppt · Agentero · the whole board →