Mermaid Diagram Generator
Converts Mermaid diagram code to PNG images using a headless browser.
关于
Mermaid Diagram Generator is a Model Context Protocol (MCP) server that transforms textual Mermaid diagrams into high-quality PNG images. This tool seamlessly integrates with AI assistants and other applications, allowing them to generate visual representations of data, processes, and ideas described using Mermaid markdown syntax. It offers customizable themes and background colors, leveraging Puppeteer for reliable headless browser rendering. With flexible output options, images can be returned directly or saved to disk, providing a versatile solution for various integration needs.
主要功能
- Converts Mermaid diagram code to PNG images
- Supports multiple diagram themes (default, forest, dark, neutral)
- Customizable background colors
- Uses Puppeteer for headless browser rendering
- Implements the MCP protocol
使用案例
- Generating diagrams from AI assistant prompts
- Visualizing data for applications
- Creating diagrams with customizable themes and background colors