mermaid-mcp-server

mermaid-mcp-server

3.4

If you are the rightful owner of mermaid-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Mermaid MCP Server is a Model Context Protocol server that provides tools for validating and rendering Mermaid diagrams.

The Mermaid MCP Server is designed to facilitate the interaction between AI assistants and Mermaid diagrams. It offers functionalities to validate Mermaid syntax, render diagrams into SVG format, and provide documentation links. This server is particularly useful for developers and AI tools that need to process and visualize Mermaid diagrams efficiently. It leverages the `@mermaid-js/mermaid-cli` and Puppeteer for rendering, ensuring high-quality SVG outputs. The server can be integrated with various MCP clients, such as the Roo Cline VSCode Extension, making it a versatile tool for developers working in different environments.

Features

  • Validate Mermaid Syntax: Check if the provided Mermaid code is syntactically correct.
  • Render to SVG: Convert valid Mermaid code into SVG image format.
  • Get Documentation Link: Provide a link to the official Mermaid documentation.

Tools

  1. validate_mermaid`

    Verify Mermaid syntax without rendering

  2. render_mermaid_svg`

    Render Mermaid code to SVG format

  3. get_mermaid_docs_link`

    Get the official Mermaid document link