Next AI Draw.io
BLOCKgrade D · trust 69/100A next.js web application that integrates AI capabilities with draw.io diagrams. This app allows you to create, modify, and enhance diagrams through natural language commands and AI-assisted visualization.
aidiagramsproductivityOverview
From the repository's own README, as read at the audited commit.
# Next AI Draw.io<div align="center">**AI-Powered Diagram Creation Tool - Chat, Draw, Visualize**English | [中文](./docs/cn/README_CN.md) | [日本語](./docs/ja/README_JA.md)[](https://next-ai-drawio.jiang.jp/)[](https://opensource.org/licenses/Apache-2.0)[](https://nextjs.org/)[](https://react.dev/)[](https://github.com/sponsors/DayuanJiang)[](https://next-ai-drawio.jiang.jp/)</div>A Next.js web application that integrates AI capabilities with draw.io diagrams. Create, modify, and enhance diagrams through natural language commands and AI-assisted visualization.> Note: Thanks to <img src="https://raw.githubusercontent.com/DayuanJiang/next-ai-draw-io/main/public/doubao-color.png" alt="" height="20" /> [ByteDance Doubao](https://www.volcengine.com/activity/codingplan?ac=MMAP8JTTCAQ2&rc=Z9Z3LDTJ&utm_campaign=drawio&utm_content=drawio&utm_medium=devrel&utm_source=OWO&utm_term=drawio) sponsorship, the demo site now uses the powerful glm-4.7 model!<p align="center"> <a href="https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=next-ai-draw-io"> <picture> <source media="(prefers-color-scheme: dark)" srcset="./public/atlas-cloud-logo-white.svg"> <img src="./public/atlas-cloud-logo.svg" alt="Atlas Cloud" width="200"> </picture> </a></p>> 🎁 Thanks to **[Atlas Cloud](https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=next-ai-draw-io)** for sponsoring next-ai-draw-io. Its OpenAI-compatible API gives diagram workflows one provider connection for DeepSeek, Qwen, GLM, Kimi, MiniMax, and more. Budget-friendly access is available through the [Coding Plan](https://www.atlasc
Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add mcp-server --env ADMIN_PASSWORD=${ADMIN_PASSWORD} --env AIHUBMIX_API_KEY=${AIHUBMIX_API_KEY} --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env ANTHROPIC_AUTH_TOKEN=${ANTHROPIC_AUTH_TOKEN} -- npx -y @next-ai-drawio/[email protected]{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@next-ai-drawio/[email protected]"
],
"env": {
"ADMIN_PASSWORD": "${ADMIN_PASSWORD}",
"AIHUBMIX_API_KEY": "${AIHUBMIX_API_KEY}",
"ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
"ANTHROPIC_AUTH_TOKEN": "${ANTHROPIC_AUTH_TOKEN}"
}
}
}
}Exposed tools (11) 4 read · 6 write · 1 destructive
Blast radius: 1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
AIDraw.io | write | Create AWS architecture diagrams, flowcharts, and technical diagrams using AI. Free online tool integrating draw.io with AI assistance for professional diagram creation. |
add_page | write | |
create_new_diagram | write | |
delete_page | destructive | |
edit_diagram | write | |
export_diagram | read | |
get_diagram | read | |
list_pages | read | |
load_diagram | read | |
rename_page | write | |
start_session | write |
Details
- Source
- dayuanjiang/next-ai-draw-io
- npm
@next-ai-drawio/mcp-server@0.2.3- Transports
- stdio
- Credentials it reads
ADMIN_PASSWORDAIHUBMIX_API_KEYANTHROPIC_API_KEYANTHROPIC_AUTH_TOKENANTHROPIC_THINKING_BUDGET_TOKENSATLASCLOUD_API_KEYBEDROCK_REASONING_BUDGET_TOKENSDAILY_TOKEN_LIMITGOOGLE_VERTEX_API_KEYKIMI_API_KEYLANGFUSE_PUBLIC_KEYLANGFUSE_SECRET_KEY- License
- Apache-2.0
- Stars
- 35,812 · pushed 0d ago
Trust audit
Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (2 observation(s))
- Network
- declared (11 observation(s))
- Shell
- declared (1 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- found
Findings (16)
if (host === "169.254.169.254" || host === "metadata.google.internal") {baseURL: baseUrl || "http://127.0.0.1:8000/v1",
url.startsWith("http://127.0.0.1")return `http://127.0.0.1:${allocatedPort}`# SGLANG_BASE_URL=http://127.0.0.1:8000/v1 # Your SGLang endpoint
defaultBaseUrl: "http://127.0.0.1:8000/v1",
apiKey: "GOOGLE_GENERATIVE_AI_API_KEY",
delete_page
return path.join(__dirname, "../../resources/icon.png")
expect(await isPrivateUrl("http://169.254.169.254/")).toBe(true)const svgString = atob(xml_svg_string.slice(26))
const binaryString = atob(base64EncodedData)
@ai-sdk/amazon-bedrock, @ai-sdk/anthropic, @ai-sdk/azure, @ai-sdk/deepseek, @ai-sdk/gateway, @ai-sdk/google, @ai-sdk/google-vertex, @ai-sdk/openai
@modelcontextprotocol/sdk, linkedom, open, zod, @types/node, tsx, typescript, vitest
- On serverless platforms (Vercel, Cloudflare Workers) there is no persistent disk, so the panel is read-only — configure via environment variables there.
package-lock.json
Gates applied: no_behavioural_pass.
Audited 2026-09-13 · audit v0.4.0 · source sha f10d7ec0d34d · full audit: observations/trust-audit/mcp-server/dayuanjiang__next-ai-draw-io.json · Report an issue or request a re-scan
Audit history
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-09-13 | f10d7ec0d34d | BLOCK | D | 69 | first audit |
Alternatives
Other servers in the same categories, safer ones first.
Questions
What is the Next AI Draw.io MCP server?
A next.js web application that integrates AI capabilities with draw.io diagrams. This app allows you to create, modify, and enhance diagrams through natural language commands and AI-assisted visualization.
What tools does Next AI Draw.io expose?
11 in total: 4 read-only, 6 that write, and 1 that can delete or overwrite (delete_page). Every one is listed on this page with its risk.
Is Next AI Draw.io safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Next AI Draw.io need?
It reads ADMIN_PASSWORD, AIHUBMIX_API_KEY, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_THINKING_BUDGET_TOKENS, ATLASCLOUD_API_KEY, BEDROCK_REASONING_BUDGET_TOKENS, DAILY_TOKEN_LIMIT, GOOGLE_VERTEX_API_KEY, KIMI_API_KEY, LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Next AI Draw.io run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @next-ai-drawio/mcp-server at 0.2.3.
How current is this page?
The grade is for one exact copy of the source (f10d7ec0d34d), read on 2026-09-13. The repository is watched and re-audited when it changes.
Provenance: OBSERVED · read 2026-09-13 · job trust-audit-2026-09-13