plantuml_web
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

Features
Web Interface
- Interactive PlantUML editor with live preview
- Save and load diagrams
- Responsive UI with resizable panels
MCP Server
- Generate PlantUML diagrams in SVG or PNG format
- Validate PlantUML code with detailed error messages
Usage:
With Docker
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:
- Web interface: http://127.0.0.1:8080
- MCP server: http://127.0.0.1:8765/sse
Without Docker
pip install -r requirements.txt
sh start.sh
The start script will launch:
- PlantUML server on port 8000
- Web interface on port 8080
- MCP server on port 8765
Connecting to the MCP Server
You can connect to the MCP server using any MCP client, such as Claude Desktop:
- Open Claude Desktop
- Go to Settings > MCP Servers
- Add a new server with the URL:
http://localhost:8765/sse - Restart Claude Desktop
Testing the MCP Server
A test client is provided to verify the MCP server functionality:
python test_plantuml_mcp.py http://localhost:8765/sse
Available MCP Tools
generate_plantuml_image: Generate a diagram image from PlantUML codevalidate_plantuml_syntax: Validate PlantUML code and return validation result
ref
Home · 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
Recommend MCP Servers 💡
pr-creator-mcp
GitHub Pull Request 자동 생성 및 푸시를 위한 MCP 서버로, Cursor, Claude 등과 연동 가능합니다.
@pyroprompts/mcp-stdio-to-streamable-http-adapter
An MCP server that acts as a STDIO to Streamable HTTP adapter, enabling existing MCP clients to interact with Streamable HTTP MCP servers.
replicate-flux-mcp
MCP for Replicate Flux Model - A powerful tool for generating customized images and SVG assets that match specific coding vibes and aesthetic styles. Streamline your visual asset creation process with AI-powered design generation tailored for developers.
github.com/mrexodia/user-feedback-mcp
Simple MCP Server to enable a human-in-the-loop workflow in tools like Cline and Cursor.
@mcphub/gateway
A gateway service that bridges stdio-based MCP implementations with HTTP/SSE-based MCP servers
@first-to-fly/code-cleanup
A MCP server for cleaning up code files using Google's Generative AI, with stash backup and custom prompts.