MCP server · Audited from source
Mermaid Diagram Generator MCP server
by peng-shawn/mermaid-mcp-serverMIT licenceAudited 6 Oct 2026 · source 46b83775c3c4
Is it safe? No — BLOCK, grade D (69/100). It exposes 1 tool: 1 read, 0 write and 0 destructive. The audit recorded 2 findings (0 critical, 1 high, 0 medium, 1 low). Maintainer's description: A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images
Cite
Cite this page
ModelsAtlas. “Mermaid Diagram Generator MCP server (peng-shawn/mermaid-mcp-server)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/peng-shawn/mermaid-diagram-generator
Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Code injection at index.ts:281. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
2 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkNone observedNothing seen in the source
- ShellDeclared1 observation
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (2)
Sorted by severity
HIGHCode injectioncode.eval_exec · index.ts:281
const screenshot = await page.$eval(
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, import-meta-resolve, mermaid, puppeteer, @types/node, typescript
- Why
- 6 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
1 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
generate | Generate PNG image or SVG from mermaid markdown | read |
Safer alternatives
We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
46b83775c3c4
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about Mermaid Diagram Generator MCP server
What is the Mermaid Diagram Generator MCP server?
What tools does Mermaid Diagram Generator expose?
Is Mermaid Diagram Generator safe to connect to an agent?
What credentials does Mermaid Diagram Generator need?
How does Mermaid Diagram Generator run?
How current is this page?
I already installed Mermaid Diagram Generator. What should I do?
Can the verdict change?
Sources
- peng-shawn/mermaid-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 46b83775c3c4Observed · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Mermaid Diagram Generator MCP server?
- What tools does Mermaid Diagram Generator expose?
- Is Mermaid Diagram Generator safe to connect to an agent?