peng-shawn/mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images
Overview
peng-shawn/mermaid-mcp-server is a JavaScript MCP server licensed under MIT. A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images
Ranked #5391 out of 25632 indexed tools.
Ecosystem
JavaScript MIT
Signal Breakdown
Stars 224
Freshness 8mo ago
Issue Health 44%
Contributors 5
Dependents 0
Forks 22
Description Good
License MIT
How to Improve
Description low impact
Freshness high impact
Issue Health high impact
Matched Queries
From the README
# Mermaid MCP Server A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images or SVG files. This server allows AI assistants and other applications to generate visual diagrams from textual descriptions using the Mermaid markdown syntax. ## Features - Converts Mermaid diagram code to PNG images or SVG files - 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 - Flexible output options: return images/SVG directly or save to disk - Error handling with detailed error messages ## How It Works The server uses Puppeteer to launch a headless browser, render the Mermaid diagram to SVG, and optionally capture a screenshot of the rendered diagram. The process involves: 1. Launching a headless browser instance 2. Creating an HTML template with the Mermaid code 3. Loading the Mermaid.jsRead full README on GitHub →
Are you the maintainer? Claim this listing