Labsco
MCP SERVER

UML Diagram Generator

by antoinebou12

Turn diagram source into a rendered file — class, sequence, mermaid, d2 and the rest — and catch the syntax errors before the render round trip.

Diagrams & ChartsVerified
Summary
A broken diagram fails before it costs a round trip.

validate_uml checks the type, format, code length and basic syntax locally and returns suggestions, so the ordinary mistakes surface without a Kroki call. generate_uml_batch takes a list with one shared output directory and reports results per index, which is the shape you want when a rename means regenerating every diagram in a document.

What it is

A Kroki-backed diagram renderer with four tools: list the supported types, validate source locally, render one diagram, or render a batch in a single call.

What you get
  • A diagram rendered from source by type — class, sequence, mermaid and d2 among them — with output format, theme, scale and output directory
  • A batch of diagrams rendered in one call, sharing an output_dir, returning per-index results or errors
  • Local validation of diagram type, format, code length and basic syntax, returning errors and suggestions without calling Kroki
  • The supported types listed with their Kroki backend, description and formats, for clients that cannot read the uml://types resource
Requirements

Uv on your PATH, which resolves the Python runtime through UV_PYTHON. Rendering goes out to Kroki; validation runs locally.