PlantUML-MCP-Server
@mzagar
关于 PlantUML-MCP-Server
A Model Context Protocol (MCP) server that provides PlantUML diagram generation capabilities for Claude Desktop and Claude Code.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"plantuml": {
"command": "npx",
"args": [
"plantuml-mcp-server"
],
"env": {
"PLANTUML_SERVER_URL": "https://www.plantuml.com/plantuml"
}
}
}
}工具
3Generate a PlantUML diagram and return embeddable image URL
Encode PlantUML code for URL usage
Decode encoded PlantUML string back to PlantUML code
概览
What is PlantUML-MCP-Server?
A Model Context Protocol (MCP) server that integrates PlantUML diagram generation into Claude Desktop and Claude Code. It provides tools to generate, encode, and decode PlantUML diagrams, producing embeddable SVG/PNG URLs.
How to use PlantUML-MCP-Server?
Add the server to Claude Desktop or Claude Code using npx plantuml-mcp-server and optionally set the PLANTUML_SERVER_URL environment variable (defaults to public PlantUML server). After activation, ask Claude to generate any PlantUML diagram type (sequence, class, C4, etc.) using the generate_plantuml_diagram tool.
Key features of PlantUML-MCP-Server
- Three tools: generate, encode, and decode PlantUML diagrams.
- Produces embeddable SVG/PNG URLs for diagrams.
- Supports advanced PlantUML features like
!includeand external libraries. - Configurable PlantUML server URL via environment variable.
- Works with both Claude Desktop and Claude Code.
Use cases of PlantUML-MCP-Server
- Quickly create sequence diagrams to document workflows within Claude.
- Generate C4 architecture diagrams for software projects.
- Encode or decode PlantUML code for sharing via URLs.
- Embed diagrams in Claude responses without leaving the chat.
FAQ from PlantUML-MCP-Server
What tools does PlantUML-MCP-Server provide?
It provides three tools: generate_plantuml_diagram to create diagrams with SVG/PNG URLs, encode_plantuml to convert PlantUML code into an encoded string, and decode_plantuml to reverse the encoding.
How do I configure a custom PlantUML server?
Set the PLANTUML_SERVER_URL environment variable to your server’s URL when adding the MCP server to Claude Desktop or Claude Code (default is https://www.plantuml.com/plantuml).
What are the runtime requirements?
Node.js 18+ and npm are required for local installation. The server runs via npx without local installation for normal use.
Does this server store any data or require authentication?
No. The server only interacts with the configured PlantUML server to generate/encode/decode diagrams; no authentication or persistent storage is mentioned.
What transport protocol does the server use?
It uses the standard Model Context Protocol (MCP) for communication with Claude clients; no custom transports are specified.
其他 分类下的更多 MCP 服务器
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
ICSS
chokcoco不止于 CSS
Codelf
unbugA search tool helps dev to solve the naming things problem.
评论