mermaid-mcp-server

generate

Convert Mermaid markdown to PNG images with customizable options for background color, theme, and file name. Save diagrams to specified folders efficiently.

Instructions

Generate PNG image from mermaid markdown

Input Schema

NameRequiredDescriptionDefault
backgroundColorNoBackground color for the diagram, e.g. 'white', 'transparent', '#F0F0F0' (optional)
codeYesThe mermaid markdown to generate an image from
folderNoAbsolute path to save the image to (optional)
nameNoName of the diagram (optional)
themeNoTheme for the diagram (optional)

Input Schema (JSON Schema)

{ "properties": { "backgroundColor": { "description": "Background color for the diagram, e.g. 'white', 'transparent', '#F0F0F0' (optional)", "type": "string" }, "code": { "description": "The mermaid markdown to generate an image from", "type": "string" }, "folder": { "description": "Absolute path to save the image to (optional)", "type": "string" }, "name": { "description": "Name of the diagram (optional)", "type": "string" }, "theme": { "description": "Theme for the diagram (optional)", "enum": [ "default", "forest", "dark", "neutral" ], "type": "string" } }, "required": [ "code" ], "type": "object" }

You must be authenticated.

Other Tools from mermaid-mcp-server

Related Tools

ID: lzjlbitkzr