A web-based PlantUML frontend with MCP server integration, enable plantuml image generation and plantuml syntax validation.
Using nicegui as a PlantUML frontend, you can deploy PlantUML on an intranet.
It's a nicegui demo project with an added MCP (Model Context Protocol) server that exposes PlantUML functionality to AI assistants.
Plantuml jar version: plantuml-1.2025.3.jar
docker build -t plantuml_web_mcp .
# or pull from dockerhub
# docker pull 2niuhe/plantuml_web_mcp:latest
docker run -d -p 8080:8080 -p 8765:8765 plantuml_web_mcp:latest
Then you can access:
pip install -r requirements.txt
sh start.sh
The start script will launch:
You can connect to the MCP server using any MCP client, such as Claude Desktop:
http://localhost:8765/sse
A test client is provided to verify the MCP server functionality:
python test_plantuml_mcp.py http://localhost:8765/sse
generate_plantuml_image
: Generate a diagram image from PlantUML codevalidate_plantuml_syntax
: Validate PlantUML code and return validation resultHome · zauberzeug/nicegui Wiki
How to use nicegui for beginners? · zauberzeug/nicegui · Discussion #1486
Nicegui example and suggestions · zauberzeug/nicegui · Discussion #1778
syejing/nicegui-reference-cn: NiceGUI 中文版本文档
(1) Use NiceGUI to watch images and do it from the COMMAND LINE! - YouTube