mcp-mermaid
Verified Safeby hustcc
Overview
Generate Mermaid diagrams and charts dynamically using AI models, supporting various output formats and styling options.
Installation
npx -y mcp-mermaidSecurity 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
mcp-server-chart
A Model Context Protocol server for generating various charts and maps using AntV for data visualization and analysis, primarily for consumption by AI clients.
memory-graph
Provides intelligent, persistent graph-based memory capabilities for AI assistants and coding agents in Claude Code environments.
claude-mermaid
Provides an MCP server for rendering Mermaid diagrams in a coding environment with live reload and saving capabilities.
gemini-mcp-server
An MCP server providing a suite of 7 AI-powered tools (Image Gen/Edit, Chat, Audio Transcribe, Code Execute, Video/Image Analysis) powered by Google Gemini, featuring a self-learning "Smart Tool Intelligence" system for prompt enhancement and user preference adaptation.