Mermaid

Generates Mermaid diagrams by accepting Mermaid syntax with customizable themes, background colors, and output formats including P

hustcc 606 ↓ 153k
Claude CodeClaude DesktopGeneric
View source ↗

This MCP server provides AI assistants with Mermaid diagram generation capabilities, built by hustcc and BQXBQX using TypeScript with the Model Context Protocol SDK and mermaid-isomorphic for server-side rendering. The implementation offers a single tool for creating diagrams by accepting Mermaid syntax along with customization options for themes (default, base, forest, dark, neutral), background colors, and output formats (PNG images, SVG strings, or raw Mermaid syntax), featuring input validation through Zod schemas and multiple transport protocols including stdio, SSE, and HTTP streamable. Built with Docker containerization, comprehensive testing infrastructure, and flexible deployment options, it serves developers creating visual documentation from conversational queries, technical writers generating flowcharts and system diagrams, and business users building process documentation without direct Mermaid API interaction.

Source

Repository: https://github.com/hustcc/mcp-mermaid

Maintain Mermaid?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

Mermaid on getagentictools
[![Mermaid on getagentictools](https://getagentictools.com/badge/mcp/hustcc-mcp-mermaid.svg)](https://getagentictools.com/mcp/hustcc-mcp-mermaid?ref=badge)