MCP.so
ログイン

MCP Kroki Server

@tkoba1974

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

tkoba1974

MCP Kroki Server について

MCP server to convert a diagram to picture using kroki.io

MCP Kroki Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-kroki": {
      "command": "npx",
      "args": [
        "-y",
        "@tkoba1974/mcp-kroki"
      ]
    }
  }
}

MCP Kroki Server のツール

2

Generate a URL for a diagram using Kroki.io. This tool takes Mermaid diagram code or other supported diagram formats and returns a URL to the rendered diagram. The URL can be used to display the diagram in web browsers or embedded in documents.

Download a diagram image to a local file. This tool converts diagram code (such as Mermaid) into an image file and saves it to the specified location. Useful for generating diagrams for presentations, documentation, or other offline use. Includes an option to scale SVG output.

概要

What is MCP Kroki Server?

MCP Kroki Server is an MCP server that converts diagram markup (e.g., Mermaid, PlantUML) into SVG, PNG, PDF, or JPEG images using the Kroki.io API. It is designed for developers using MCP-compatible clients like Claude Desktop who need to generate and download diagrams programmatically.

How to use MCP Kroki Server?

Install via git clone and npm, or run with npx. Add the server to your MCP client configuration (e.g., Claude Desktop) and then call the generate_diagram_url or download_diagram tools with the diagram type and content. The server sends the diagram to Kroki.io for rendering.

Key features of MCP Kroki Server

  • Generate diagram URLs for embedding or sharing
  • Download diagrams as SVG, PNG, PDF, or JPEG files
  • Support for Mermaid, PlantUML, Graphviz, and more
  • Optional scale parameter for adjusting diagram size

Use cases of MCP Kroki Server

  • Render Mermaid diagrams directly in Claude Desktop conversations
  • Download diagrams for inclusion in documentation or reports
  • Integrate diagram generation into automated workflows or CI pipelines
  • Use multiple diagram formats from a single server tool

よくある質問

1

What diagram types are supported?

Mermaid, PlantUML, Graphviz, and many other formats supported by Kroki.io.

2

What output formats are available?

SVG, PNG, PDF, JPEG. For URL generation, base64 is also an option.

3

How does the scale parameter work?

The scale parameter (default 1.0, minimum 0.1

コメント

「その他」の他のコンテンツ