Python APIΒΆ
This section is generated from docstrings via mkdocstrings. It mirrors what is available when you import UML-MCP as a Python package, which helps when embedding the server, writing custom tools, or extending the rendering pipeline.
| Module group | Description |
|---|---|
mcp_core.tools | MCP tool implementations (generate_uml, validate_uml, list_diagram_types, generate_uml_batch) and Pydantic input schemas. |
mcp_core.core | Service layer: rendering pipeline, validation, configuration, the DiagramRequest dataclass. |
tools.kroki | Backend clients: Kroki, PlantUML, Mermaid, D2, TikZ. |
Import paths
All classes and functions are documented with their full import path so you can copy and paste:
Source links
Every page is generated from the live docstrings. To improve the rendered output, edit the docstrings in the source files (linked from each section header) and rebuild the docs.