plantuml-plantuml-validator-mcp-server

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

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/"
                ],
            },
        }
    }