Plantuml Web logo

Plantuml Web

by 2niuhe

Generate PlantUML diagrams as SVG or PNG and validate PlantUML syntax through MCP tools.

Install Plantuml Web

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for 2niuhe/plantuml_web, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The 2niuhe/plantuml_web MCP server exposes PlantUML image generation and syntax validation to MCP clients. It runs alongside a web frontend and PlantUML service, with the MCP endpoint available over SSE at port 8765. Use it when an AI assistant needs to turn PlantUML source into SVG or PNG output, or check source for syntax errors. Docker and local startup options are documented.

Use cases

  • Generate SVG architecture diagrams from PlantUML source
  • Render PlantUML code as PNG images
  • Validate diagram syntax before rendering
  • Preview and edit diagrams in the NiceGUI interface

Key features

  • PlantUML image generation
  • SVG and PNG output
  • PlantUML syntax validation
  • Detailed validation errors
  • SSE-based MCP endpoint
  • NiceGUI live-preview editor

Tools2

What Plantuml Web lets your agent do. Expand a tool for its parameters.

Self-reported~35 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

18/18 checks healthy over the last 88d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars15Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Tools exposed2Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Plantuml Web works

What 2niuhe/plantuml_web MCP server does

The 2niuhe/plantuml_web MCP server adds PlantUML operations to MCP-compatible AI clients. It provides two tools: one converts PlantUML source into a diagram image, and the other checks the source and returns a validation result with detailed error information. Image output can be generated in SVG or PNG format.

The project also includes a NiceGUI-based browser interface. That interface provides an editor with live preview, diagram saving and loading, and resizable panels. The web UI is useful for people who want to edit diagrams interactively, while the MCP endpoint is intended for assistant-driven operations.

How it works

The application is composed of three parts when started using the supplied script: a PlantUML service on port 8000, the web interface on port 8080, and the MCP service on port 8765. MCP clients connect to the SSE endpoint at http://localhost:8765/sse when the services are running locally.

The 2niuhe/plantuml_web MCP server uses the PlantUML 1.2025.3 JAR for diagram processing. An MCP client sends PlantUML code to either the image-generation or syntax-validation tool, depending on whether it needs rendered output or a check of the source.

Setup and configuration

The documented Docker workflow builds an image named plantuml_web_mcp, or runs the published 2niuhe/plantuml_web_mcp:latest image. The container maps port 8080 for the browser interface and port 8765 for MCP access:

Terminal
docker run -d -p 8080:8080 -p 8765:8765 2niuhe/plantuml_web_mcp:latest

After startup, open http://127.0.0.1:8080 for the web interface and use http://127.0.0.1:8765/sse as the MCP server URL. For a non-Docker setup, install the dependencies from requirements.txt and run start.sh; the script starts all three services and their documented ports.

Claude Desktop can be configured with the SSE URL through its MCP server settings. The repository also includes test_plantuml_mcp.py, which accepts the MCP endpoint URL and can be used to test the running service.

Tools and capabilities

  • generate_plantuml_image: renders PlantUML code as an SVG or PNG diagram.
  • validate_plantuml_syntax: checks PlantUML code and reports the validation result, including detailed errors.
  • NiceGUI web editor: provides live preview, diagram save/load actions, and resizable editor panels.

Limitations and notes

The documented local deployment uses fixed ports for the PlantUML service, web interface, and MCP service. The project does not document authentication, environment variables, hosted operation, or additional MCP tools beyond the two listed above.

The 2niuhe/plantuml_web MCP server depends on the included PlantUML version and the services started by Docker or start.sh. If only the MCP functionality is needed, the deployment still starts the related PlantUML and web-interface processes according to the documented startup flow.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Plantuml Web

Run the published Docker image with ports 8080 and 8765 mapped, or install `requirements.txt` dependencies and run `start.sh`.

The documented local endpoint is `http://localhost:8765/sse`.

Yes.

Yes. Its `validate_plantuml_syntax` tool checks PlantUML code and returns validation details and error messages.

Yes. The `generate_plantuml_image` tool supports PNG and SVG diagram output.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPlantuml Web AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/2niuhe-plantuml-web?style=directory)](https://allmcps.com/mcp/2niuhe-plantuml-web)
HTML Embed
<a href="https://allmcps.com/mcp/2niuhe-plantuml-web"><img src="https://allmcps.com/api/badge/2niuhe-plantuml-web?style=directory" alt="Plantuml Web on AllMCPs" /></a>