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
noneNo credentials- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
false
Quick Links
Lua APIAgent-facing namespace and function reference. PlantUML CLIHeadless setup and direct function calls. PlantUML MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
PlantUML MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for PlantUML.
Claude Code PlantUML MCP setup for Claude Code. Cursor PlantUML MCP setup for Cursor. Codex PlantUML MCP setup for Codex. OpenAI Agents PlantUML MCP setup for OpenAI Agents SDK. Claude Agent SDK PlantUML MCP setup for Claude Agent SDK. Vercel AI SDK PlantUML MCP setup for Vercel AI SDK. LangChain PlantUML MCP setup for LangChain. LangGraph PlantUML MCP setup for LangGraph. CrewAI PlantUML MCP setup for CrewAI. MCP clients PlantUML MCP setup for Generic MCP Clients.
PlantUML CLI Matrix
Use these pages for direct PlantUML CLI workflows in scripts, CI, cron, and agent wrappers.
CI PlantUML CLI for CI. Cron Jobs PlantUML CLI for cron jobs. Shell Scripts PlantUML CLI for shell scripts. Headless Automation PlantUML CLI for headless automation. Coding Agents PlantUML CLI for coding agents.
Runtime Requirements
| Name | Type | Description |
|---|---|---|
java | binary | Java is required to run PlantUML. |
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
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 |