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" ] } } }

また、HTTP、SSE プロトコルを使用して、aliyun、modelscope、glama.ai、smithery.ai などでも使用できます。

🚰 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