uml.singsk.com PlantUML

Render, validate, encode/decode PlantUML diagram-as-code; 22 diagram types. Free, no auth.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
80%
命名品質
93%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~680Token(工具定義)
~363 B典型回應大小
中等的注意力影響(128k 上下文的 0.53%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "uml-plantuml": {
      "url": "https://uml.singsk.com/mcp"
    }
  }
}

遠端端點

https://uml.singsk.com/mcpstreamable-http

它能做什麼

工具清單

工具(6)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
⚪render_diagram(text, format)

Render PlantUML source text to a diagram image. Returns a PNG image block (format "png") or the SVG markup as text (format "svg", default), plus the shareable render URL. The source is validated first: on a syntax error the result is an error object with line, column, hint and a help link so you can fix the diagram and retry.

輸入結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "PlantUML source including @startuml ... @enduml (or the matching @start/@end pair)"
    },
    "format": {
      "type": "string",
      "enum": [
        "svg",
        "png"
      ],
      "default": "svg"
    }
  },
  "required": [
    "text"
  ]
}
🟢validate_diagram(text)

Check PlantUML source without rendering. Returns {ok:true, diagram_type} or {ok:false, error:{code, message, line, column, source_line, hint, diagram_type_detected, help}}. Cheap - call it in a generate -> validate -> fix loop before rendering.

輸入結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string"
    }
  },
  "required": [
    "text"
  ]
}
🟡encode_source(text)

Encode PlantUML source into a URL token and ready-to-use share/render URLs (svg + png). The result carries url_ok: GET URLs only work while the token is at most 16000 characters; when url_ok is false do not share the URLs - render with render_diagram instead (it uses the POST API, no size limit up to 5 MB). Tokens use PlantUML's own 64-character alphabet ("0-9 A-Z a-z - _") over raw DEFLATE. This is NOT base64 - never encode or decode tokens with a base64 codec; use encode_source / decode_token.

輸入結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string"
    }
  },
  "required": [
    "text"
  ]
}
⚪decode_token(encoded)

Recover the PlantUML source from a token or from any PlantUML render URL (the token is extracted automatically). Tokens use PlantUML's own 64-character alphabet ("0-9 A-Z a-z - _") over raw DEFLATE. This is NOT base64 - never encode or decode tokens with a base64 codec; use encode_source / decode_token.

輸入結構描述

{
  "type": "object",
  "properties": {
    "encoded": {
      "type": "string",
      "description": "Token or full render URL"
    }
  },
  "required": [
    "encoded"
  ]
}
🟢list_diagram_types

List the 22 supported diagram/reference types with a one-line description and the local syntax reference URL for each. Use it to pick the right @start directive.

輸入結構描述

{
  "type": "object",
  "properties": {}
}
🟢get_syntax_reference(type)

Get the syntax reference entry for one diagram type: description, a render-verified example, and the help page URL. Use it to ground diagram generation.

輸入結構描述

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Type id or label, e.g. \"sequence\", \"class\", \"mindmap\", \"gantt\", \"json\""
    }
  },
  "required": [
    "type"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本6 個工具