uml-mcp

Uml MCP Server

uml-mcp brings UML and other text-based diagram rendering into MCP-compatible assistants and applications. It serves users documenting software structures and workflows, with tools for discovering diagram types, validating source, and generating individual or batch outputs.

Server facts

uml-mcp

Project

License
MIT license

Tech

Runtime / language
python
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
106
Last commit
Data as of

Tags

  • diagram generation
  • mcp interface
  • uml mcp

Overview

Software structures, object interactions, and process flows can be rendered through uml-mcp using diagram source supplied by an MCP client. Its generate_uml tool accepts a diagram type and code, covering UML alongside formats such as Mermaid and D2. Users can inspect available types through list_diagram_types, which also reports backend and output-format details when a client cannot access resources. Resources separately expose templates, examples, supported formats, and server information, while prompts help users describe classes, sequences, and activities.

Before rendering, validate_uml checks the selected type, output format, source length, and basic syntax locally, returning errors and suggestions without contacting Kroki. For related diagrams, generate_uml_batch accepts multiple items with individual format, theme, and scale options plus an optional shared output directory. Results or errors are returned for each item. Rendering configuration supports local or remote PlantUML and Kroki services, with SVG, PNG, and PDF among the documented outputs. The Python project communicates over stdio and includes integration guidance for Claude Desktop and Cursor.

uml-mcp setup notes

  • uml-mcp records stdio only; confirm a network transport upstream before planning remote access.

Related MCP servers