Back to Home
hustcc icon

mcp-mermaid

Verified Safe

by hustcc

Overview

Generate Mermaid diagrams and charts dynamically using AI models, supporting various output formats and styling options.

Installation

Run Command
npx -y mcp-mermaid

Security Notes

The server uses `mermaid-isomorphic` with Playwright for rendering, which involves launching a headless browser. While `mermaid-isomorphic` is expected to sandbox rendering, potential vulnerabilities could exist if malicious Mermaid syntax can bypass its protections. The file output option writes to `process.cwd()` with a unique filename, reducing direct arbitrary file write risks. CORS is enabled with a wildcard origin for HTTP streamable transport, which is acceptable for a public API but should be considered in specific deployment contexts.

Similar Servers

Stats

Interest Score82
Security Score8
Cost ClassMedium
Avg Tokens5000
Stars311
Forks38
Last Update2025-11-20

Tags

MermaidDiagrammingAIVisualizationMCP