Feedback

Mermaid MCP Server — by abekdwight

@abekdwight Claim

Basic information

Runtime
node
Category
License
MIT license
Transports
stdio
Author
abekdwight
Submitted by
Community
Quality
20
Stars
16

About Mermaid MCP Server

An MCP server providing tools for validating and rendering Mermaid diagrams.

Mermaid MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by abekdwight. Supported transport: stdio. Runtime: node. License: MIT license. The repository has 16 GitHub stars. Source code is hosted on github.com. Related topics: diagram-rendering, mcp-server, mermaid.

Mermaid MCP Server — by abekdwight config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Mermaid MCP Server — by abekdwight tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Mermaid MCP Server?

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.

How to use Mermaid MCP Server?

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.

Key features of Mermaid MCP Server

  • Validate Mermaid diagram syntax
  • Render valid Mermaid code to SVG format
  • Provide a link to official Mermaid documentation
  • Integrates seamlessly with MCP‑compatible clients
  • Uses @mermaid-js/mermaid-cli and Puppeteer for rendering

Use cases of Mermaid MCP Server

  • Check Mermaid code correctness before generating diagrams
  • Generate SVG images from Mermaid diagrams via an AI assistant
  • Quickly retrieve the official Mermaid documentation URL

Frequently asked questions

1 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.

2 What are the runtime requirements?

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.

3 How do I configure the server with Roo Cline?

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.

4 Where does the server process data?

All validation and rendering happens locally on the machine where the server runs. No external services are called beyond the Puppeteer download.

5 What transport does the server use?

The server communicates via standard input/output (stdio), the default MCP transport. No authentication or network endpoints are configured.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬