---
slug: "plantuml-plantuml-validator-mcp-server"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/kwhrkzk/plantuml-validator-mcp-server@main/README.md"
repo: "https://github.com/kwhrkzk/plantuml-validator-mcp-server"
source_file: "README.md"
branch: "main"
---
# Plantuml Validation MCP Server

This project is an MCP server for validating Plantuml code.

🏅 Certified by MCPHub

[This project is certified by MCPHub.](https://mcphub.com/mcp-servers/kwhrkzk/plantuml-validator-mcp-server)

## 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](https://github.com/kwhrkzk/plantuml-validator-mcp-server/raw/HEAD/docs/ValidatePlantUml.png)
![sequence](https://github.com/kwhrkzk/plantuml-validator-mcp-server/raw/HEAD/docs/sequence.png)

## Usage with SSE

![overview-sse](https://github.com/kwhrkzk/plantuml-validator-mcp-server/raw/HEAD/docs/overview-sse.png)

### 1. Run Docker Compose
Run the following command to start the server:

```bash
docker compose up -d
```

### 2. MCP Configuration in VSCode

```json: settings.json
    "mcp": {
        "servers": {
            "my-plantuml-mcp-server": {
                "type": "sse",
                "url": "http://localhost:3000/sse"
            }
        }
    }
```

## Usage with Docker

![overview-docker](https://github.com/kwhrkzk/plantuml-validator-mcp-server/raw/HEAD/docs/overview-docker.png)

### 1. Build and Publish the Container
```bash
cd plantuml-mcp-server-stdio
dotnet publish /t:PublishContainer
```

### 2. MCP Configuration in VSCode

```json: settings.json
    "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/"
                ],
            },
        }
    }
```
