Mermaid MCP Server
@MCP-Mirror
关于 Mermaid MCP Server
Mirror of
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"peng-shawn_mermaid-mcp-server": {
"command": "npx",
"args": [
"tsc"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Mermaid MCP Server?
A Model Context Protocol (MCP) server that converts Mermaid diagram markdown code into PNG images using Puppeteer for headless browser rendering. It is designed for AI assistants and developers who need to generate visual diagrams from textual descriptions.
How to use Mermaid MCP Server?
Install via npx and configure as an MCP server in your client (e.g., Claude Desktop, Cursor). The tool generate accepts Mermaid code, optional theme and background color, and if CONTENT_IMAGE_SUPPORTED=false requires name and folder parameters to save the image to disk.
Key features of Mermaid MCP Server
- Converts Mermaid diagram code to PNG images.
- Supports diagram themes: default, forest, dark, neutral.
- Customizable background colors.
- Uses Puppeteer for high-quality headless browser rendering.
- Returns images directly or saves them to disk.
- Detailed error handling with descriptive messages.
Use cases of Mermaid MCP Server
- Generate flowcharts, sequence diagrams, and class diagrams from text.
- Create diagrams with specific themes and background colors.
- Save diagrams to disk for use in documentation or projects.
- Integrate with Claude Desktop, Cursor, or other MCP-compatible clients.
FAQ from Mermaid MCP Server
Doesn't Claude desktop already support mermaid via canvas?
Yes, but it doesn't support the theme and backgroundColor options. A dedicated server also makes it easier to create diagrams with other MCP clients.
Why do I need to specify CONTENT_IMAGE_SUPPORTED=false when using with Cursor?
Cursor does not support inline images in responses, so the server saves the image to disk instead of returning it directly.
其他 分类下的更多 MCP 服务器
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
评论