plantuml-validator-mcp-server

plantuml-validator-mcp-server

1

The Plantuml Validation MCP Server is an MCP server that validates Plantuml code. It offers detailed error information if the code is invalid and is configured to run with Docker or SSE in VSCode.

Plantuml Validation MCP Server

This project is an MCP server for validating Plantuml code.

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

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",
                    "plantuml-mcp-server-stdio",
                    "PlantumlBaseUrl=http://your_plantuml_server/"
                ],
            },
        }
    }