Uml Mcp

data-ai MCP Server

UML-MCP Server is a UML diagram generation tool based on MCP (Model Context Protocol), which can help users generate various types of UML diagrams through natural language description or directly writing PlantUML and Mermaid and Kroki https://uml-mcp.vercel.app/docs

Verified
data-aidata-ai
4 views87 stars26 forksMIT

Why This Matters

Discovered via github-topic:mcp and last synced 3mo ago.

Verified
Source
github-topic:mcp
Stars
87
Last synced
3mo ago
Install
Check source

Install

Install instructions not detected yet

Check the source repository for the latest setup steps.

View source instructions
21
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (21)

MCP_MAX_CODE_LENGTH

Max diagram code length

Category

Examples

Variable

Description

USE_LOCAL_PLANTUML

Use local PlantUML instance

MCP_BATCH_MAX_ITEMS

Max items per `generate_uml_batch`

Source

URL

Resource

Description

USE_LOCAL_KROKI

Use local Kroki instance

Topic

What you get

MCP_RATE_LIMIT_PER_MINUTE

HTTP rate limit per IP for diagram/MCP routes (`0` = off)

KROKI_SERVER

Kroki server URL

PLANTUML_SERVER

PlantUML server URL

Tool

Purpose

MCP_OUTPUT_DIR

Diagram output directory

MCP_READ_ONLY

Disable file writes

validate_uml

Structural validation before render; `strict` enables extra Mermaid/D2 checks

generate_uml

Render a diagram; omit `output_dir` for URL/base64 only

generate_uml_batch

Multiple diagrams in one call (cap: `MCP_BATCH_MAX_ITEMS`)

list_diagram_types

Same metadata as `uml://types` when resources are awkward

General

Mermaid, D2, Graphviz, ERD, BlockDiag, BPMN, C4

Specialized

TikZ, Excalidraw, Nomnoml, Pikchr, Structurizr, SVGBob, WaveDrom, WireViz, …