What does Mermaid MCP Server do?
It provides three MCP tools: `validate_mermaid` checks syntax, `render_mermaid_svg` converts valid Mermaid code to SVG, and `get_mermaid_docs_link` returns the documentation URL.
@abekdwight
基本信息
An MCP server providing tools for validating and rendering Mermaid diagrams.
** Validate Mermaid syntax without rendering.
** `{ "mermaid_code": "string" }`
** Text indicating success or failure with error details.
** Render Mermaid code to SVG format.
** `{ "mermaid_code": "string" }`
** SVG content as text (`mimeType: 'image/svg+xml'`) or an error message.
** Get a link to the official Mermaid documentation.
** `{}` (No input required)
** Text containing the URL.
A Model Context Protocol (MCP) server that provides tools for validating and rendering Mermaid diagrams. It enables AI assistants like Roo to check Mermaid syntax, render diagrams into SVG format, and access official documentation links.
Install globally with npm install -g mermaid-mcp-server, then configure the server in your MCP client’s settings file (e.g., Roo Cline’s mcp_settings.json) by adding an entry under mcpServers. Restart VSCode; the tools validate_mermaid, render_mermaid_svg, and get_mermaid_docs_link will then be available to the AI assistant.
@mermaid-js/mermaid-cli and Puppeteer for renderingIt provides three MCP tools: `validate_mermaid` checks syntax, `render_mermaid_svg` converts valid Mermaid code to SVG, and `get_mermaid_docs_link` returns the documentation URL.
Node.js v18 or later, npm or yarn, a compatible MCP client (e.g., Roo Cline VSCode Extension), and network connectivity on first run for Puppeteer to download Chromium.
Install globally, then add a `mermaid-mcp-server` entry in the Roo Cline MCP settings file with `"command": "mermaid-mcp-server"`. If built from source, use `"command": "node"` with the absolute path to `build/index.js` as an argument.
All validation and rendering happens locally on the machine where the server runs. No external services are called beyond the Puppeteer download.
The server communicates via standard input/output (stdio), the default MCP transport. No authentication or network endpoints are configured.

Model Context Protocol Servers
Open-source MCP to use Blender with any LLM
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
🚀 The fast, Pythonic way to build MCP servers and clients.
评论