MCP server safety grade
draw.io
Mermaid, PlantUML, CSV or XML in, editable draw.io diagrams out, live in chat. 10,000+ shapes.
npx -y @drawio/mcp · npm @drawio/mcp 1.13.2 · score 70/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Yes: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Runs a script automatically when installed (postinstall)
package.jsonnode src/postinstall.js
- Builds and runs code at runtime
vendor/libavoid/libavoid-node.mjs:20`),e=new Function(...s,i+`};
Worth knowing
Not scored. Often harmless (security tools, denylists and chat bots mention these too), shown so you can judge.
- Contains a very long single line (bundled or packed code that is hard to review)
vendor/libavoid/libavoid-node.mjs:16
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-02-03 |
| This version published | 2026-12-04 |
| Versions | 47 |
| Maintainers | 1 |
| Licence | Apache-2.0 |
| Source repository | github.com/jgraph/drawio-mcp |
| Runs scripts on install | postinstall |
| Files in package | 30 (1,217 KB) |
| Web addresses in code | app.diagrams.net cdn.jsdelivr.net emscripten.org icons.diagrams.net viewer.diagrams.net |
Where we saw each capability (8 examples)
- Reads environment variables (where API keys usually live)
src/cdn-cache.js:50url: process.env.DRAWIO_ELK_URL ||
- Reads environment variables (where API keys usually live)
src/cdn-cache.js:61url: process.env.DRAWIO_SHAPE_INDEX_URL ||
- Reads environment variables (where API keys usually live)
src/cdn-cache.js:77if (process.env.XDG_CACHE_HOME)
- Writes, moves or deletes files
src/cdn-cache.js:124writeFileSync(tmp, JSON.stringify({ etag: etag, src: src })); - Writes, moves or deletes files
src/cdn-cache.js:128renameSync(tmp, join(dir, source.file));
- Writes, moves or deletes files
src/cdn-cache.js:133try { rmSync(tmp); } catch (e2) {} - Makes network requests
src/cdn-cache.js:188var res = await fetch(source.url,
- Runs shell commands or other programs
src/index.js:12import { spawn } from "child_process";
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-draw-mcp)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).