← MCP servers · dayuanjiang

Next AI Draw.io

BLOCKgrade D · trust 69/100

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.

aidiagramsproductivity

Overview

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)[![TrendShift](https://trendshift.io/api/badge/repositories/15449)](https://next-ai-drawio.jiang.jp/)[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)[![Next.js](https://img.shields.io/badge/Next.js-16.x-black)](https://nextjs.org/)[![React](https://img.shields.io/badge/React-19.x-61dafb)](https://react.dev/)[![Sponsor](https://img.shields.io/badge/Sponsor-❤-ea4aaa)](https://github.com/sponsors/DayuanJiang)[![Live Demo](./public/live-demo-button.svg)](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-code
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]
claude-desktop
{
  "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.

ToolRiskDescription
AIDraw.iowriteCreate AWS architecture diagrams, flowcharts, and technical diagrams using AI. Free online tool integrating draw.io with AI assistance for professional diagram creation.
add_pagewrite
create_new_diagramwrite
delete_pagedestructive
edit_diagramwrite
export_diagramread
get_diagramread
list_pagesread
load_diagramread
rename_pagewrite
start_sessionwrite

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (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)

HIGHNetwork egress · net.metadata_ip · CWE-200, CWE-319
lib/ssrf-protection.ts:69
if (host === "169.254.169.254" || host === "metadata.google.internal") {
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
app/api/validate-model/route.ts:252
baseURL: baseUrl || "http://127.0.0.1:8000/v1",
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
electron/main/index.ts:98
url.startsWith("http://127.0.0.1")
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
electron/main/port-manager.ts:144
return `http://127.0.0.1:${allocatedPort}`
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
env.example:96
# SGLANG_BASE_URL=http://127.0.0.1:8000/v1  # Your SGLang endpoint
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
lib/types/model-config.ts:168
defaultBaseUrl: "http://127.0.0.1:8000/v1",
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
electron/main/config-manager.ts:344
apiKey: "GOOGLE_GENERATIVE_AI_API_KEY",
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete_page
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
electron/main/window-manager.ts:24
return path.join(__dirname, "../../resources/icon.png")
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
tests/unit/ssrf-protection.test.ts:33
expect(await isPrivateUrl("http://169.254.169.254/")).toBe(true)
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
lib/utils.ts:1679
const svgString = atob(xml_svg_string.slice(26))
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
lib/utils.ts:1717
const binaryString = atob(base64EncodedData)
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@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
Why it matters. 97 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/mcp-server/package.json
@modelcontextprotocol/sdk, linkedom, open, zod, @types/node, tsx, typescript, vitest
Why it matters. 8 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/en/admin-panel.md:22
- On serverless platforms (Vercel, Cloudflare Workers) there is no persistent disk, so the panel is read-only — configure via environment variables there.
Why it matters. asks the agent to read credentials
INFOInventory / provenance · inv.oversize · CWE-1104
package-lock.json
package-lock.json
Why it matters. 1067097 bytes not read

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

DateSourceVerdictGradeScoreChange
2026-09-13f10d7ec0d34dBLOCKD69first 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