mermaid-mcp-server

v0.3.0
@peng-shawn/mermaid-mcp-server Checked 4 days ago Published 1 month ago

A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate

Generate PNG image or SVG from mermaid markdown

ParameterTypeDescription
code *stringThe mermaid markdown to generate an image from
backgroundColorstringBackground color for the diagram, e.g. 'white', 'transparent', '#F0F0F0' (optional)
folderstringAbsolute path to save the image to (optional)
namestringName of the diagram (optional)
outputFormatstringOutput format for the diagram (optional, defaults to 'png')
themestringTheme for the diagram (optional)