Generates Mermaid diagrams and charts from AI-provided syntax, with validation, styling, and multiple export formats.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
This server is confirmed live β we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Mermaid.
generate_mermaid_diagramGenerate mermaid diagram and chart with mermaid syntax dynamically. Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. The main purpose of Mermaid is to help documentation catch up with development.
The hustcc/mcp-mermaid MCP server exposes Mermaid diagram generation through the generate_mermaid_diagram MCP tool. An AI client can provide Mermaid text definitions and receive a rendered diagram or chart. Mermaid uses Markdown-inspired text syntax, so the server is suited to workflows where an agent generates or revises diagram definitions as part of documentation, planning, or explanation tasks.
The implementation is intended to cover Mermaid syntax and features. It also accepts visual configuration for backgroundColor and theme, allowing generated diagrams to include styling choices alongside their structural definition.
The client invokes generate_mermaid_diagram with Mermaid content and output options. The server validates Mermaid syntax and can return several representations: base64, svg, mermaid, file, svg_url, or png_url. File output saves a PNG diagram to disk for an AI agent, while URL outputs provide links suitable for sharing through Mermaidβs public rendering service.
The hustcc/mcp-mermaid MCP server can operate with stdio for desktop MCP clients or with HTTP-based transports for clients and services that connect over a network. SSE uses /sse by default on port 3033. Streamable HTTP uses /mcp; the documented default is port 1122 for local development, while the global CLI example uses port 3033.
For a desktop client, install and run the npm package through npx:
The documented configuration is shown for Claude and can also be used with clients such as Cline. The package supports a CLI with three transport values: stdio, sse, and streamable. Use --port to change the HTTP port and --endpoint to change the transport path.
For a locally installed package, run mcp-mermaid -t sse or mcp-mermaid -t streamable. Source-based development uses npm install, npm run build, and the supplied start scripts. Docker images are also documented under susuperli/mcp-mermaid, including commands for exposing SSE on port 3033 or streamable HTTP on port 1122.
generate_mermaid_diagram: Generates Mermaid diagrams and charts from Mermaid syntax.backgroundColor and theme configuration.The hustcc/mcp-mermaid MCP server is a focused choice for Mermaid-based visuals. It is not presented as a general charting, infographic, or image-generation server; the README lists those as separate tools for other visualization types.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/hustcc-mcp-mermaid)<a href="https://allmcps.com/mcp/hustcc-mcp-mermaid"><img src="https://allmcps.com/api/badge/hustcc-mcp-mermaid?style=directory" alt="MCP Mermaid on AllMCPs" /></a>