Hustcc Mcp Mermaid

ai.smitheryv0.1.3更新於 Oct 1, 2026

Generate dynamic Mermaid diagrams and charts with AI assistance. Customize styles and export diagr…

已驗證Streamable HTTP可網頁執行AI & ML

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Hustcc Mcp Mermaid,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "hustcc-mcp-mermaid": {
      "type": "http",
      "url": "https://server.smithery.ai/@hustcc/mcp-mermaid/mcp"
    }
  }
}

README

[圖片] MCP Mermaid [圖片] [build] [npm Version] [smithery badge] [npm License] [Trust Score]

Generate [圖片] mermaid diagram and chart with AI MCP dynamically. Also you can use:

✨ Features

  • Fully support all features and syntax of Mermaid.

  • Support configuration of backgroundColor and theme, enabling large AI models to output rich style configurations.

  • Support exporting to base64, svg, mermaid, file, and remote-friendly svg_url, png_url formats, with validation for Mermaid to facilitate the model's multi-round output of correct syntax and graphics. Use outputType: "file" to automatically save PNG diagrams to disk for AI agents, or the URL modes to share diagrams through public mermaid.ink links.

[mcp-mermaid]

🤖 Usage

To use with Desktop APP, such as Claude, VSCode, Cline, Cherry Studio, and so on, add the MCP server config below. On Mac system:

json
{  "mcpServers": {    "mcp-mermaid": {      "command": "npx",      "args": [        "-y",        "mcp-mermaid"      ]    }  }}

On Window system:

json
{  "mcpServers": {    "mcp-mermaid": {      "command": "cmd",      "args": [        "/c",        "npx",        "-y",        "mcp-mermaid"      ]    }  }}

Also, you can use it on aliyun, modelscope, glama.ai, smithery.ai or others with HTTP, SSE Protocol.

Access Points:

  • SSE: http://localhost:3033/sse
  • Streamable: http://localhost:1122/mcp

Available Docker Tags:

  • susuperli/mcp-mermaid:latest - Latest stable version
  • View all available tags at Docker Hub

🚰 Run with SSE or Streamable transport

Option 1: Global Installation

Install the package globally:

bash
npm install -g mcp-mermaid

Run the server with your preferred transport option:

bash
# For SSE transport (default endpoint: /sse)mcp-mermaid -t sse
# For Streamable transport with custom endpointmcp-mermaid -t streamable

Option 2: Local Development

If you're working with the source code locally:

bash
# Clone and setupgit clone https://github.com/hustcc/mcp-mermaid.gitcd mcp-mermaidnpm installnpm run build
# Run with npm scriptsnpm run start:sse        # SSE transport on port 3033npm run start:streamable # Streamable transport on port 1122

Access Points

Then you can access the server at:

  • SSE transport: http://localhost:3033/sse
  • Streamable transport: http://localhost:1122/mcp (local) or http://localhost:3033/mcp (global)

🎮 CLI Options

You can also use the following CLI options when running the MCP server. Command options by run cli with -h.

plain
MCP Mermaid CLI
Options:  --transport, -t  Specify the transport protocol: "stdio", "sse", or "streamable" (default: "stdio")  --port, -p       Specify the port for SSE or streamable transport (default: 3033)  --endpoint, -e   Specify the endpoint for the transport:                    - For SSE: default is "/sse"                    - For streamable: default is "/mcp"  --help, -h       Show this help message

🔨 Development

Install dependencies:

bash
npm install

Build the server:

bash
npm run build

Start the MCP server

Using MCP Inspector (for debugging):

bash
npm run start

Using different transport protocols:

bash
# SSE transport (Server-Sent Events)npm run start:sse
# Streamable HTTP transportnpm run start:streamable

Direct node commands:

bash
# SSE transport on port 3033node build/index.js --transport sse --port 3033
# Streamable HTTP transport on port 1122node build/index.js --transport streamable --port 1122
# STDIO transport (for MCP client integration)node build/index.js --transport stdio

🐳 Docker Usage

Run MCP Mermaid with Docker:

bash
# Pull the imagedocker pull susuperli/mcp-mermaid:latest
# Run with SSE transport (default)docker run -p 3033:3033 susuperli/mcp-mermaid:latest --transport sse
# Run with streamable transportdocker run -p 1122:1122 susuperli/mcp-mermaid:latest --transport streamable --port 1122

📄 License

MIT@hustcc.

來源:README.md,提交 1349706

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.3最新Sep 16, 2026