mermaid-image-gen-mcp.md

Mermaid Image Generator MCP Server

MCP server
from"codingthefuturewithai"
1

codingthefuturewithai/mcp_mermaid_image_gen is a community Python server that renders Mermaid source as SVG, PNG or PDF. It supports file-return and streamed-image modes over stdio or SSE, but no ui:// MCP App is present.

Not for: An inline diagram editor. It generates output files or image data; editing remains in the Mermaid source and the chosen client.

Source and setup verified on 2026-11-03

Visualization
MermaiddiagramsSVGPNG

Quick facts

Maintainer
codingthefuturewithai (community)
Outputs
SVG, PNG and PDF
Transports
stdio and SSE
GitHub stars
1 on 2026-11-03

What you can do

  • Render Mermaid source to SVG
  • Create PNG and PDF output
  • Return a file path or streamed image data

Requirements

  • uv
  • Node.js for automatic Mermaid CLI installation
  • An MCP client that can receive image data for stream mode
setup.md
# 1. Install with uv
$uv tool install mcp-mermaid-image-gen
# Maintainer setup guide
https://github.com/codingthefuturewithai/mcp_mermaid_image_gen/blob/main/AI_SETUP_GUIDE.md

Choose the file-based or streamed-image mode supported by your client.

Always confirm the latest setup instructions with the maintainer before installing.

>Questions

Is Mermaid Image Generator MCP Server an MCP App with inline UI?

No inline MCP App UI is claimed here. It is listed as a server or host because the verified source documents MCP tools or client support, not a ui:// app resource.

Where were these details checked?

Against the maintainer's README, source, or official documentation at https://github.com/codingthefuturewithai/mcp_mermaid_image_gen, plus the GitHub API where a repository is available.