render_plantuml
ActiveTool of diagrams-mcp
Render a PlantUML diagram definition and return the image. The definition should be valid PlantUML syntax wrapped in @startuml/@enduml (sequence, class, component, activity, state, deployment, etc.). Args: definition: PlantUML diagram definition text. filename: Output filename without extension. format: Output format — ``"png"`` (default) or ``"svg"``. PDF is not supported (requires Batik/FOP). download_link: If True, return a temporary download URL path (/images/{token}) that expires after 15 minutes; if False, return inline image bytes. Defaults to True (URL) — set ``DIAGRAMS_INLINE_DEFAULT=true`` on the server to flip the default. SVG and PNGs larger than the inline limit always use a download link.
Parameters schema
{
"type": "object",
"required": [
"definition"
],
"properties": {
"format": {
"enum": [
"png",
"svg",
"pdf"
],
"type": "string",
"default": "png"
},
"filename": {
"type": "string",
"default": "diagram"
},
"definition": {
"type": "string"
},
"download_link": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Parent server
diagrams-mcp
https://github.com/ByteOverDev/diagrams-mcp
2/7 registries