mermaid-mcp-server — MCP Server by peng-shawn

by peng-shawn · MCP Server · ★ 223

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

About mermaid-mcp-server

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: Launching a headless browser instance Creating an HTML template with the Mermaid code Loading the Mermaid.js library Rendering the diagram to SVG Either saving the SVG directly or taking a screenshot as PNG Either returning the image/SVG directly or saving it to disk Build Usage Use with Claude desktop Use with Cursor and Cline You

Quick Facts

Stars223
Forks22
LanguageJavaScript
CategoryMCP Server
LicenseMIT
Quality Score78.7229924577577/100
Open Issues5
Last Updated2025-06-21
Created2025-03-05
Platformsmcp, node
Est. Tokens~26k

Compatible Skills

These tools work well together with mermaid-mcp-server for enhanced workflows:

More MCP Server Tools

Explore other popular mcp server tools:

View all MCP Server tools →

Popular JavaScript Agent Tools

Frequently Asked Questions

What is mermaid-mcp-server?

mermaid-mcp-server is A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images. It is categorized as a MCP Server with 223 GitHub stars.

What programming language is mermaid-mcp-server written in?

mermaid-mcp-server is primarily written in JavaScript.

How do I install or use mermaid-mcp-server?

You can find installation instructions and usage details in the mermaid-mcp-server GitHub repository at github.com/peng-shawn/mermaid-mcp-server. The project has 223 stars and 22 forks, indicating an active community.

What license does mermaid-mcp-server use?

mermaid-mcp-server is released under the MIT license, making it free to use and modify according to the license terms.

View on GitHub → Browse MCP Server tools