Skip to main content
Glama

MCP Server Mermaid

MIT License
198
7
  • Apple

MCP 美人鱼

使用 AI MCP 动态生成美人鱼图和图表。您也可以使用mcp-server-chart生成图表、图形和地图。

✨ 特点

  • 完全支持Mermaid的所有功能和语法。
  • 支持backgroundColortheme的配置,使大型AI模型能够输出丰富的风格配置。
  • 支持导出为pngsvgmermaid格式,并对Mermaid进行验证,方便模型多轮输出正确的语法和图形。

🤖 使用方法

如需与 Claude、VSCode、Cline、Cherry Studio 等Desktop APP配合使用,请添加下方 MCP 服务器配置。Mac 系统:

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

在 Windows 系统上:

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

另外,您还可以在 aliyun、modelscope、glama.ai、smithery.ai 或其他具有 HTTP、SSE 协议的平台上使用它。

🚰 使用 SSE 或 Streamable 传输运行

全局安装该包。

npm install -g mcp-mermaid

使用您首选的传输选项运行服务器:

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

然后您可以通过以下方式访问服务器:

  • SSE 传输: http://localhost:3033/sse
  • 可流式传输: http://localhost:3033/mcp

🎮 CLI 选项

运行 MCP 服务器时,您还可以使用以下 CLI 选项。使用-h运行 cli 命令。

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

🔨开发

安装依赖项:

npm install

构建服务器:

npm run build

启动 MCP 服务器:

npm run start

📄 许可证

MIT@ hustcc

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

MCP 服务器美人鱼

  1. ✨ 特点
    1. 🤖 使用方法
      1. 🚰 使用 SSE 或 Streamable 传输运行
        1. 🎮 CLI 选项
          1. 🔨开发
            1. 📄 许可证

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                A server that implements the Model Context Protocol (MCP), providing an interface for LLM applications to generate mermaid.js visualizations and diagrams.
                Last updated -
                Python
                MIT License
              • -
                security
                A
                license
                -
                quality
                List of small useful mcp servers including: * docx\_replace: replace tag in word document * yt-dlp: extract chaper and subtitles base on chapter * mermaid: generate and render image using mermaidchart.com API
                Last updated -
                3
                Python
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/hustcc/mcp-mermaid'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server