mermaid-mcp-server

generate

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