Kroki Mcp Server

Created By
utaina year ago
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 Go-based Model Context Protocol tool that converts textual diagram definitions (like PlantUML and Mermaid) into images using a Kroki backend. It is designed for simplicity and flexibility, making it ideal for developers building AI applications.

How to use Kroki-MCP?

To use Kroki-MCP, you can run it from the command line with various options to specify the output format and mode. For example, you can run kroki-mcp for default settings or specify formats like svg or pdf using command-line flags.

Key features of Kroki-MCP?

  • Supports multiple output formats: png, svg, jpeg, and pdf.
  • Configurable backend host for local or remote Kroki servers.
  • Extensible to add support for more diagram types and output formats.
  • Provides both Server-Sent Events (SSE) and standard input/output (STDIO) modes for flexibility.

Use cases of Kroki-MCP?

  1. Generating UML diagrams from textual descriptions.
  2. Converting Mermaid diagrams into images for documentation.
  3. Integrating with AI applications that require dynamic diagram generation.

FAQ from Kroki-MCP?

  • Can Kroki-MCP convert all types of diagrams?

Yes, it supports various diagram types including UML and Mermaid.

  • Is there a way to run Kroki-MCP locally?

Yes, you can run it on a local Kroki server by specifying the host in the command line.

  • What programming language is Kroki-MCP written in?

Kroki-MCP is written in Go.

Server Config

{
  "mcpServers": {
    "kroki-mcp": {
      "command": "go",
      "args": [
        "run",
        "github.com/utain/kroki-mcp/cmd/kroki-mcp@latest",
        "-m",
        "stdio",
        "-f",
        "png",
        "--kroki-host",
        "https://kroki.io"
      ]
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
utain
Star
-
Language
-
License
-

Recommend Servers

View All
Tavily Mcp
@tavily-ai

JavaScript
a year ago
Gelbooru

16 hours ago