plantuml-mcp-server
v0.2.4MCP server for generating PlantUML diagrams
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generate_plantuml_diagram
Generate a PlantUML diagram with automatic syntax validation and error reporting for auto-fix workflows. Returns embeddable image URLs for valid diagrams or structured error details for invalid syntax that can be automatically corrected. Optionally saves the diagram to a local file.
| Parameter | Type | Description |
|---|---|---|
plantuml_code * | string | PlantUML diagram code. Will be automatically validated for syntax errors before generating the diagram URL. |
format | string | Output image format (SVG or PNG) |
output_path | string | Optional. Path to save diagram locally. Automatically creates all necessary parent directories. Restricted to current working directory by default. Set PLANTUML_ALLOWED_DIRS env var (colon-separated p… |
encode_plantuml
Encode PlantUML code for URL usage
| Parameter | Type | Description |
|---|---|---|
plantuml_code * | string | PlantUML diagram code to encode |
decode_plantuml
Decode encoded PlantUML string back to PlantUML code
| Parameter | Type | Description |
|---|---|---|
encoded_string * | string | Encoded PlantUML string to decode |