plantuml-mcp-server

v0.2.4
plantuml-mcp-server Checked 3 days ago Published 10 months ago

MCP 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.

ParameterTypeDescription
plantuml_code *stringPlantUML diagram code. Will be automatically validated for syntax errors before generating the diagram URL.
formatstringOutput image format (SVG or PNG)
output_pathstringOptional. 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

ParameterTypeDescription
plantuml_code *stringPlantUML diagram code to encode

decode_plantuml

Decode encoded PlantUML string back to PlantUML code

ParameterTypeDescription
encoded_string *stringEncoded PlantUML string to decode