mermaid-mcp-server
v0.3.0A 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
| Parameter | Type | Description |
|---|---|---|
code * | string | The mermaid markdown to generate an image from |
backgroundColor | string | Background color for the diagram, e.g. 'white', 'transparent', '#F0F0F0' (optional) |
folder | string | Absolute path to save the image to (optional) |
name | string | Name of the diagram (optional) |
outputFormat | string | Output format for the diagram (optional, defaults to 'png') |
theme | string | Theme for the diagram (optional) |