Submit

Kroki-MCP

@utain

Kroki-MCP is a Go-based Model Context Protocol tool that converts textual diagram definitions (PlantUML, Mermaid, and more) into images via a Kroki backend. Designed for simplicity and flexibility, it supports both local and remote Kroki servers, offers configurable settings, and outputs multiple formats – making it ideal for developers building AI
Overview

What is Kroki-MCP?

Kroki-MCP is a command-line tool and MCP integration that converts textual diagrams (like PlantUML and Mermaid) into images using a Kroki backend.

How to use Kroki-MCP?

To use Kroki-MCP, run the command-line interface with options to specify the output format and mode. For example, you can use kroki-mcp --format svg to convert a diagram to SVG format.

Key features of Kroki-MCP?

  • Supports multiple output formats: PNG, SVG, JPEG, PDF.
  • Can operate in different modes: SSE (Server-Sent Events) and STDIO.
  • Configurable backend host for Kroki server.
  • Extensible to support more diagram types and output formats.
  • Integrates with MCP for diagram conversion.

Use cases of Kroki-MCP?

  1. Converting UML diagrams from PlantUML to images.
  2. Generating visual representations of Mermaid diagrams.
  3. Integrating diagram generation into automated workflows using MCP.

FAQ from Kroki-MCP?

  • Can Kroki-MCP convert all types of diagrams?

Yes, it supports various diagram types as long as they are compatible with the Kroki backend.

  • Is there a graphical interface for Kroki-MCP?

No, Kroki-MCP is a command-line tool designed for integration into other systems.

  • How do I run Kroki-MCP as an MCP server?

You can run it using the command: go run github.com/utain/kroki-mcp/cmd/kroki-mcp@latest --mode sse --format png --kroki-host https://kroki.io.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.