MCP server for working with MermaidJS diagrams

MCP server for working with MermaidJS diagrams

mcp-mermaidjs-server•byunravel-team

An MCP server that lets a host save MermaidJS diagram specs and render them to output formats using mmdc, optionally with CSS.

License: MIT License•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Exposes two MCP tools, save-diagram and visualize-diagram, for working with MermaidJS.
  • •Allows a host to create a MermaidJS spec, save it, and render the saved spec in a chosen output format.
  • •Uses the mmdc CLI for rendering diagrams.

BEST FOR

  • •Hosts that need to create and save MermaidJS diagram specifications.
  • •Hosts that need to render saved MermaidJS diagrams with a specific output format.

ABOUT MCP-MERMAIDJS-SERVER

MCP server for working with MermaidJS diagrams is cataloged as an MCP server attributed to unravel-team. An MCP server that lets a host save MermaidJS diagram specs and render them to output formats using mmdc, optionally with CSS. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for working with MermaidJS diagrams are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does this server require any external dependency?

Yes, it needs the mmdc CLI to be installed.

Upstream README

View this exact version on GitHub

README.md · 36970bcf2804 · Fetched 2026-11-13 11:46:13 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

tech.unravel/mcp-mermaidjs-server

An MCP server for working with MermaidJS, using mmdc.

We create two simple tools:

  • save-diagram
  • visualize-diagram

Using these tools, a host can create beautiful mermaid-js diagrams by:

  • creating an mmd spec and saving it
  • then rendering the saved-spec using specific output format and (optionally) CSS (via access to mmdc)

Usage

Building the Uberjar

  1. make clean && make build

Running the MCP server

PRE-REQUISITES: Needs mmdc CLI to be installed.

Some example commands you can try in Claude Desktop or Inspector:

  1. Create a MermaidJS Sequence Diagram from this spec:
sequenceDiagram
%% See https://mermaidjs.github.io/sequenceDiagram.html

loop everyday D-2 working days 16:00
    ABCD->>DEE: [14:25] BEE (Calculation per TC until ACK becomes OK)

    ABCD->>FGG: BEE (Calculation per TC until ACK becomes OK)
    Note over ABCD,FGG: D-2 weekdays at 14:25
    ABCD->>HII: Projected Authorisations to HII
    Note over ABCD,HII: D-2 weekdays at 16:00
end

loop D-1 before deadline at 7:45
    HII->>DEE: Submission
    Note over HII,DEE: D-1 before deadline
    HII->>FGG: Submission
    Note over HII,FGG: D-1 before deadline
end

Before running the MCP server

Remember:

  1. Replace the full-path to the tech.unravel/mcp-mermaidjs-server Jar with the correct path on your system (i.e. replace /Users/vedang/repo-name below with the correct path)
  2. Specify the full-path to mmdc on your system

In Claude Desktop

    "mcp_mermaidjs_server": {
      "command": "java",
      "args": [
        "-Dclojure.tools.logging.factory=clojure.tools.logging.impl/log4j2-factory",
        "-Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.Slf4jLog",
        "-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector",
        "-Dlog4j2.configurationFile=log4j2-mcp.xml",
        "-Dbabashka.json.provider=metosin/jsonista",
        "-Dlogging.level=INFO",
        "-Dmcp.vegalite.mmdc_executable=/Users/vedang/.local/share/nvm/v23.11.0/bin/mmdc",
        "-cp",
        "/Users/vedang/repo-name/target/tech.unravel/mcp-mermaidjs-server-1.0.0.jar",
        "tech.unravel.mcp-mermaidjs-server"
      ]
    }

In MCP Inspector

Remember to use the full-path to the tech.unravel/mcp-mermaidjs-server JAR on your system.

npx @modelcontextprotocol/inspector java -Dclojure.tools.logging.factory=clojure.tools.logging.impl/log4j2-factory -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.Slf4jLog -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j2.configurationFile=log4j2-mcp.xml -Dbabashka.json.provider=metosin/jsonista -Dlogging.level=INFO -Dmcp.vegalite.mmdc_executable=/Users/vedang/.local/share/nvm/v23.11.0/bin/mmdc -cp /Users/vedang/repo-name/target/tech.unravel/mcp-mermaidjs-server-1.0.0.jar tech.unravel.mcp-mermaidjs-server

License

Copyright © 2025 Unravel.tech Engineering

Distributed under the MIT License

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for working with MermaidJS diagrams from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-mermaidjs-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design