Skip to main content
Glama

generate_mermaid_svg

Convert Mermaid diagram syntax to SVG files with customizable themes and background colors for visual documentation.

Instructions

Generate SVG content from Mermaid diagram syntax and save it to a file. This tool renders Mermaid diagrams to SVG format with customizable themes and background colors, always saving the result as an SVG file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mermaidYesThe mermaid diagram syntax to be rendered as SVG
themeNoTheme for the diagramdefault
backgroundColorNoBackground color for the diagram (CSS color value)white
filenameNoOptional filename for the SVG file (without extension)

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jagadeesh52423/mermaid-svg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server