mermaid-mcp-server
If you are the rightful owner of mermaid-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images, allowing AI assistants and other applications to generate visual diagrams from textual descriptions using the Mermaid markdown syntax.
The Mermaid MCP Server is a specialized server that facilitates the conversion of Mermaid diagram code into PNG images. It leverages Puppeteer to render high-quality diagrams using a headless browser. The server supports multiple themes and customizable background colors, making it versatile for various visual styles. It integrates seamlessly with AI assistants through the MCP protocol, offering flexible output options such as direct image return or saving to disk. The server is equipped with robust error handling to provide detailed error messages, ensuring a smooth user experience.
Features
- Converts Mermaid diagram code to PNG images
- Supports multiple diagram themes (default, forest, dark, neutral)
- Customizable background colors
- Uses Puppeteer for high-quality headless browser rendering
- Implements the MCP protocol for seamless integration with AI assistants