What tools does the server provide?
The server provides `generate_mermaid` (create and preview), `update_diagram` (replace syntax and re-render), `list_diagrams` (list session diagrams), and `export_diagram` (save SVG to disk).
@iishyfishyy
Basic information
An MCP server that generates live Mermaid diagrams from any AI assistant. Claude, Cursor, and more.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mermaid": {
"command": "npx",
"args": [
"-y",
"mermaid-live-mcp"
]
}
}
}Generate a diagram from Mermaid.js syntax. Renders in live preview browser with SVG/PNG download options. Supports flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, Gantt charts, and more.
Replace a diagram's Mermaid syntax and re-render it in the preview.
List all diagrams generated in this session.
Write a diagram's SVG to disk. PNG export is available via the browser download buttons.
mermaid-live-mcp is an MCP (Model Context Protocol) server that lets you generate Mermaid diagrams from natural language prompts and preview them live in a browser. It renders diagrams in real-time via WebSocket and supports SVG/PNG export. This tool is intended for developers and AI assistant users who want to quickly create and iterate on diagrams.
Install the server via npx and add it to your MCP client configuration (Claude Desktop, Cursor, Claude Code, or Windsurf). The server exposes four tools: generate_mermaid, update_diagram, list_diagrams, and export_diagram. Use generate_mermaid with your Mermaid syntax to open a live browser preview, then update or export as needed.
The server provides `generate_mermaid` (create and preview), `update_diagram` (replace syntax and re-render), `list_diagrams` (list session diagrams), and `export_diagram` (save SVG to disk).
Add the MCP server configuration to your Claude Desktop config file located at `~/Library/Application Support/Claude/claude_desktop_config.json` on macOS, using the command: `npx -y mermaid-live-mcp`.
The server opens a browser tab with the diagram rendered as SVG. Any updates to a diagram are pushed instantly to the browser via a WebSocket connection – no page refresh required.
Yes. You can download SVG or PNG from the live preview buttons, or use the `export_diagram` tool to write the SVG directly to disk.
All standard Mermaid diagram types are supported, including flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, Gantt charts, pie charts, git graphs, mindmaps, timelines, and more.

FLORA is a remote MCP server available at https://agents.flora.ai. The FLORA MCP lets users generate, organize, and iterate on visual assets — hero images, moodboards, lifestyle shots, promo graphics — directly from a co
NetFoundry LLM Gateway is an OpenAI-compatible API proxy that routes requests across multiple LLM providers using zero-trust networking. Zero trust LLM gateway. OpenAI-compatible proxy with semantic routing and load bala
GoBuy gives AI agents marketplace-evidence trust scores. One call returns a 0–100 Evidence Score with observed/missing signals, freshness, and product context. Tools: • check_product_trust — inspect one Amazon, Walmart,
Detect and redact PII, PHI, PCI and secrets — SSNs, credit cards, passports, API keys and cloud credentials — in text and in local files, using the Strac DLP API. Five tools: redact_text, detect_sensitive_data, detect_fi

1,000+ fully localized prompt templates across 40+ categories. Compare Mode — send the same prompt to up to 9 AI providers (ChatGPT, Claude, Gemini, Grok, Groq, Copilot, Mistral, Perplexity, DuckDuckGo AI) and compare an
Comments