Plantuml Mcp Server

by infobip

237 downloads
Not rated
GitHub

About

MCP server that provides PlantUML diagram generation capabilities

Details

Author
infobip
Downloads
237
Categories
Developer Tools, Other

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Plantuml Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

{
  "mcpServers": {
    "plantuml": {
      "command": "npx",
      "args": [
        "plantuml-mcp-server"
      ],
      "env": {
        "PLANTUML_SERVER_URL": "https://www.plantuml.com/plantuml"
      }
    }
  }
}

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.

encode_plantuml

Encode PlantUML code for URL usage

decode_plantuml

Decode encoded PlantUML string back to PlantUML code

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "plantuml mcp server": {
            "plantuml": {
                "command": "npx",
                "args": [
                    "plantuml-mcp-server"
                ],
                "env": {
                    "PLANTUML_SERVER_URL": "https://www.plantuml.com/plantuml"
                }
            }
        }
    }
}

McpServers

{
    "plantuml": {
        "command": "npx",
        "args": [
            "plantuml-mcp-server"
        ],
        "env": {
            "PLANTUML_SERVER_URL": "https://www.plantuml.com/plantuml"
        }
    }
}

AModel Context Protocol (MCP)server that provides PlantUML diagram generation capabilities for Claude Desktop and Claude Code.
- generate_plantuml_diagram- Generate diagrams and get embeddable URLs (SVG/PNG), optionally save locally
- encode_plantuml- Encode PlantUML code for URL sharing
- decode_plantuml- Decode PlantUML from encoded strings
- plantuml_error_handling- Guidelines for handling PlantUML syntax errors and implementing auto-fix workflows

This prompt provides Claude instances with comprehensive instructions on how to:

- Detect PlantUML syntax errors using native server validation
- Implement intelligent auto-fix workflows for common syntax issues
- Parse structured error responses and apply appropriate corrections
- Handle validation failures gracefully with retry logic

The prompt enables Claude to automatically detect and fix common PlantUML errors like missing tags, invalid arrow syntax, typos in keywords, and missing quotes, making PlantUML diagram generation more reliable and user-friendly.

# Using default PlantUML server claude mcp add plantuml --scope user --env PLANTUML_SERVER_URL=https://www.plantuml.com/plantuml -- npx plantuml-mcp-server

Add this to your Claude Desktop MCP configuration (~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS):

{ "mcpServers": { "plantuml": { "command": "npx", "args": ["plantuml-mcp-server"], "env": { "PLANTUML_SERVER_URL": "https://www.plantuml.com/plantuml" } } } }

To use your own PlantUML server, change thePLANTUML_SERVER_URLenvironment variable.

Then restart Claude Desktop/Code to activate the MCP server.

- Generate PlantUML diagramsand get embeddable SVG/PNG URLs
- Create sequence diagrams, class diagrams, architecture diagrams
- Use advanced PlantUML featureslike!includedirectives and external libraries
- Encode/decode PlantUMLfor URL sharing
- Save diagrams locallywith secure path restrictions

Thegenerate_plantuml_diagramtool supports saving diagrams to local files via theoutput_pathparameter.

Security:By default, files can only be saved within the current working directory. Only.svgand.pngextensions are allowed.

To allow additional directories, set thePLANTUML_ALLOWED_DIRSenvironment variable:

# Allow specific directories (colon-separated) PLANTUML_ALLOWED_DIRS=/home/user/diagrams:/tmp/output # Allow any directory (use with caution) PLANTUML_ALLOWED_DIRS=*
> add c4 diagram for this project in readme 'C4 diagram for plantuml-mcp-server' section

Sequence diagram for plantuml-mcp-server

> add sequence diagram in readme in architecture section
> show me basic oauth2 flow png, open it in browser
# Clone and setup git clone https://github.com/mzagar/plantuml-mcp-server.git cd plantuml-mcp-server make setup
# Show all available commands make help # Build and run all tests make clean build test-all

MIT License - seeLICENSEfile for details.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Extentos is a multi-vendor development platform for adding smart-glasses capabilities to existing iOS and Android apps. The simplest analogy is Stripe for smart glasses

An MCP server tailored for React Native–first development using Gluestack UI

Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.

Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control.

Understand, develop, and debug authorization policies in Oso Cloud.

Up-to-date documentation for your coding agent. Covers 1000s of public repos and sites. Built by ref.tools

Points agents to the canonical Agentry install docs for errors, product analytics, and deploy attribution.

Gives coding agents deterministic, read-only documentation handoffs with edit boundaries, ownership, and required checks before repository changes.

Deterministic JSON checks with signed evidence and x402-paid execution

Search Apple's Developer Documentation with smart search and wildcard support.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.