KosmoKrator

rendering

PlantUML MCP, CLI, and Lua Integration for AI Agents

PlantUML integration docs for AI agents: MCP gateway setup, PlantUML CLI commands, Lua API reference, credentials, and function schemas.

1 functions 0 read 1 write No credentials auth

PlantUML for agents

No credentials required; available in web and CLI hosts when runtime dependencies are installed.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
plantuml
route_slug
plantuml
package
plantuml
auth_strategy
none No credentials
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
false

Quick Links

PlantUML MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for PlantUML.

PlantUML CLI Matrix

Use these pages for direct PlantUML CLI workflows in scripts, CI, cron, and agent wrappers.

Runtime Requirements

NameTypeDescription
java binary Java is required to run PlantUML.

Function Catalog

FunctionTypeParametersDescription
plantuml.render_plantuml Write write 2 Render a PlantUML diagram to a PNG image. Pass valid PlantUML syntax and get back a markdown image embed. Supported diagram types: class, sequence, activity, component, state, use case, object, deployment, timing, network (nwdiag), wireframe (salt), Gantt, mindmap, WBS, JSON, YAML, ERD. Example syntax: ``` @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another request Bob --> Alice: Another response @enduml ``` Tips: - Always wrap syntax in @startuml / @enduml - Use `->` for solid arrows, `-->` for dashed arrows - Use `class ClassName { }` blocks for class diagrams - Use `(*) -->` for activity diagram start - Use `[Component]` for component diagrams - Use `state "Name" as s1` for state diagrams