---
name: "xpay-plantuml"
description: "Generate UML diagrams from PlantUML markup"
version: "1.0.0"
provider: "PlantUML"
tools: 3
---

# PlantUML

Generate UML diagrams from PlantUML markup

## PlantUML

Generate UML diagrams from PlantUML markup

### Available Tools (3)

- **generate_plantuml_diagram**: Generate a PlantUML diagram with automatic syntax validation and error reporting for auto-fix workflows. Returns embeddable image URLs for valid diagrams or structured error details for invalid syntax that can be automatically corrected. Optionally saves the diagram to a local file. — $0.01/call
- **encode_plantuml**: Encode PlantUML code for URL usage — $0.01/call
- **decode_plantuml**: Decode encoded PlantUML string back to PlantUML code — $0.01/call

### Quick Start

```json
{
  "mcpServers": {
    "plantuml": {
      "url": "https://plantuml.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"
    }
  }
}
```

### Pricing

$0.01 per tool call. Pay per use from your XPay wallet. No subscriptions.

Get an API key at [xpay.tools](https://xpay.tools).


**Tools:** 3
**Category:** Dev Tools

## When to Use

Use PlantUML tools when you need to generate uml diagrams from plantuml markup. All tools are available through xpay✦'s single MCP connection.

## MCP Connection

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## Available Tools

- **Generate Plantuml Diagram** — Generate a PlantUML diagram with automatic syntax validation and error reporting for auto-fix workflows. Returns embeddable image URLs for valid diagrams or structured error details for invalid syntax that can be automatically corrected. Optionally saves the diagram to a local file. — $0.01/call — [SKILL.md](https://xpay.tools/skills/plantuml/generate-plantuml-diagram/SKILL.md)
- **Encode Plantuml** — Encode PlantUML code for URL usage — $0.01/call — [SKILL.md](https://xpay.tools/skills/plantuml/encode-plantuml/SKILL.md)
- **Decode Plantuml** — Decode encoded PlantUML string back to PlantUML code — $0.01/call — [SKILL.md](https://xpay.tools/skills/plantuml/decode-plantuml/SKILL.md)

## How to Execute

1. **`xpay_discover`** — Search for tools: `xpay_discover("plantuml")`
2. **`xpay_details`** — Get input schema: `xpay_details("plantuml/TOOL_NAME")`
3. **`xpay_run`** — Execute: `xpay_run("plantuml/TOOL_NAME", { ...inputs })`
4. **`xpay_balance`** — Check credits

## Links

- Provider page: https://xpay.tools/plantuml/
- All providers: https://xpay.tools/explore
- Docs: https://docs.xpay.sh
