plantuml-validator-mcp-server

The plantuml-validator-mcp-server is a C# based server application designed to validate PlantUML diagrams. This tool helps users identify syntax errors and logical issues in the UML diagrams they create, assisting in corrections. Developers can use this tool to enhance the quality of their code.

GitHub Stars

3

User Rating

Not Rated

Favorites

0

Views

18

Forks

0

Issues

0

README
Plantuml Validation MCP Server

This project is an MCP server for validating Plantuml code.

🏅 Certified by MCPHub

This project is certified by MCPHub.

Tools
ValidatePlantuml

Validates the provided Plantuml message. If valid, it returns "Ok". If invalid, it returns detailed error information, including the error description, the line where the error occurred, and other metadata.

validatePlantuml
sequence

Usage with SSE

overview-sse

1. Run Docker Compose

Run the following command to start the server:

docker compose up -d
2. MCP Configuration in VSCode
    "mcp": {
        "servers": {
            "my-plantuml-mcp-server": {
                "type": "sse",
                "url": "http://localhost:3000/sse"
            }
        }
    }
Usage with Docker

overview-docker

1. Build and Publish the Container
cd plantuml-mcp-server-stdio
dotnet publish /t:PublishContainer
2. MCP Configuration in VSCode
    "mcp": {
        "servers": {
            "my-plantuml-mcp-server-docker": {
                "type": "stdio",
                "command": "docker",
                "args": [
                    "run",
                    "--rm",
                    "-i",
                    "--network=host",
                    "kwhrkzk/plantuml-validator-mcp-server",
                    "PlantumlBaseUrl=http://your_plantuml_server/"
                ],
            },
        }
    }