Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Kroki Mcp

    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

    5 stars
    Go
    Updated Sep 18, 2025
    diagram-mcp
    kroki
    mcp-go
    mcp-server
    model-context-protocol
    model-context-protocol-servers
    plantuml-diagrams
    uml-mcp

    Table of Contents

    • Features
    • Usage
    • Configuration
    • Project Structure
    • Implementation Steps
    • Example: Running as an MCP Server
    • Development with Docker
    • Build and Run with Docker
    • Using docker-compose (with local Kroki server)
    • Contributing
    • Changelog
    • Related Projects
    • License

    Table of Contents

    • Features
    • Usage
    • Configuration
    • Project Structure
    • Implementation Steps
    • Example: Running as an MCP Server
    • Development with Docker
    • Build and Run with Docker
    • Using docker-compose (with local Kroki server)
    • Contributing
    • Changelog
    • Related Projects
    • License

    Documentation

    Kroki-MCP

    CI

    Go Version

    License: MIT

    Kroki-MCP is a command-line tool and MCP integration for converting textual diagrams (e.g., PlantUML, Mermaid) into images using a Kroki backend. It supports both local and remote Kroki servers, with flexible configuration and multiple output formats.

    Features

    • Modes:
    • SSE: Streams results using Server-Sent Events.
    • STDIO (default): Reads diagram code from stdin and outputs to stdout.
    • Output Formats: Supports png (default), svg, jpeg, and pdf.
    • Kroki Server: Configurable backend host (default: https://kroki.io).
    • Extensible: Easily add support for more diagram types and output formats.
    • MCP Integration: Exposes diagram conversion as an MCP tool using github.com/mark3labs/mcp-go.

    Usage

    sh
    # Default (SSE mode, PNG, default Kroki host)
    kroki-mcp
    
    # Specify output format
    kroki-mcp --format svg
    
    # Use STDIO mode
    kroki-mcp --mode stdio --format pdf
    
    # Specify a custom Kroki server
    kroki-mcp --kroki-host http://localhost:8000

    Configuration

    OptionDescriptionTypeDefault
    --host, -hServer host addressstringlocalhost
    --port, -pServer portint5090
    --mode, -mOperation mode (sse or stdio)stringstdio
    --format, -fOutput format (png, svg, jpeg, pdf)stringpng
    --kroki-hostKroki server URLstringhttps://kroki.io
    --log-levelLog level (debug, info, warn, error)stringinfo
    --log-formatLog format (text or json)stringtext

    Project Structure

    code
    kroki-mcp/
    ├── cmd/
    │   └── kroki-mcp/           # Main CLI and MCP server entry point
    ├── internal/
    │   ├── kroki/               # Kroki client logic (HTTP, formats)
    │   ├── config/              # Configuration management (flags, env, files)
    │   └── mcp/                 # MCP tool/server integration
    ├── test/                    # Unit and integration tests
    ├── Dockerfile               # Docker build file
    ├── docker-compose.yml       # Docker Compose for dev environment
    ├── go.mod                   # Go module definition
    ├── README.md                # Project documentation
    └── .gitignore               # Git ignore file

    Implementation Steps

    1. Scaffold Go project.

    2. Implement CLI with default SSE mode, format flags.

    3. Implement Kroki client supporting all formats.

    4. Implement SSE and STDIO modes.

    5. Integrate with mcp-go for MCP tool support.

    6. Add error handling and tests.

    7. Document usage.

    Example: Running as an MCP Server

    To run Kroki-MCP as an MCP server from source:

    sh
    go run github.com/utain/kroki-mcp/cmd/kroki-mcp@latest --mode sse --format png --kroki-host https://kroki.io

    You can configure the MCP server in your MCP configuration file as follows:

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

    Development with Docker

    You can use Docker and docker-compose for local development and testing.

    Build and Run with Docker

    sh
    docker build -t kroki-mcp .
    docker run --rm -it kroki-mcp --help

    Using docker-compose (with local Kroki server)

    sh
    docker-compose up --build
    • This will start both a Kroki server and the kroki-mcp service.
    • kroki-mcp will connect to the Kroki server at http://kroki:8000.

    Contributing

    Please see CONTRIBUTING.md for guidelines on how to contribute to this project.

    Changelog

    See CHANGELOG.md for release history.

    Related Projects

    • Kroki
    • PlantUML
    • Mermaid
    • Model Context Protocol (MCP)
    • mcp-go

    License

    This project is licensed under the MIT License.

    Similar MCP

    Based on tags & features

    • MC

      Mcpjungle

      Go·
      617
    • MC

      Mcp Ipfs

      TypeScript·
      11
    • MC

      Mcp Cyclops

      Go·
      29
    • MC

      Mcp K8s

      Go·
      128

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • MC

      Mcpjungle

      Go·
      617
    • MC

      Mcp Ipfs

      TypeScript·
      11
    • MC

      Mcp Cyclops

      Go·
      29
    • MC

      Mcp K8s

      Go·
      128

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k