Labsco
MCP SERVER

Mermaid MCP Server

by peng-shawn

Render the mermaid markdown you just wrote into a PNG or an SVG on disk, with the theme, background colour, folder and filename decided in the same call.

Diagrams & ChartsVerified
Summary
A diagram drafted in a conversation ends up as a file the repository can reference.

One tool, and its arguments cover what actually varies between renders: format, theme, background colour, folder and name. That makes it worth leaving installed — the drafting and the rendering stop being two separate places, and the diagram in the message is the same artefact as the one in the docs.

What it is

A single-tool server that renders mermaid markdown to an image file.

What you get
  • A diagram rendered from mermaid markdown as a PNG or an SVG
  • Theme and background colour chosen per render, so the image suits the document it is going into
  • The output folder and filename given in the call, so the file lands where the document already expects it
Requirements

The mermaid markdown itself and a folder the server can write into. Nothing is authenticated: it declares no environment variables.

Setup effort

One command — npx -y @smithery/cli install @peng-shawn/mermaid-mcp-server --client claude