PlantUML MCP Server
PlantUML MCP 서버
PlantUML 스니펫을 공유 가능한 다이어그램으로 변환하는 유연한 MCP(Model Context Protocol) 서버입니다.
모든 기능은 HTTP, SSE(Server-Sent Events) 및 STDIO를 통해 노출되므로 Claude Desktop, Flowise 또는 기타 MCP 호환 런타임에 서버를 연결할 수 있습니다.
주요 기능
🧰 도구:
generate_plantuml_diagram,generate_capability_landscape,generate_business_scenario,encode_plantuml,decode_plantuml🧾 프롬프트:
plantuml_error_handling,capability_landscape_input_format,archimate_diagram_input_format,business_scenario_input_format📚 정적 리소스:
resource://plantuml/server-guide,resource://plantuml/archimate-mapping🔒
MCP_API_KEY를 통한 선택적 Bearer 인증☁️ 서명된 다운로드 URL을 통한 선택적
ob-file내보내기 (OB_FILE_API_BASE_URL)🔐
ob-file을 위한 선택적 OIDC 클라이언트 자격 증명 흐름 (OB_FILE_OIDC_*)📁 대체 공유 볼륨 내보내기 (
GENERATED_FILES_DIR+PUBLIC_FILE_BASE_URL)
Related MCP server: PlantUML MCP Server
요구 사항
Node.js 18+
npm 9+
npm install
npm run build # emits dist/plantuml-mcp-server.js빌드 후 npx plantuml-mcp-server 또는 node dist/plantuml-mcp-server.js를 사용하세요.
전송 모드
모드 | 사용 시기 | 시작 방법 |
HTTP (기본값) | 직접적인 REST 스타일 통합, 리버스 프록시, 상태 확인 |
|
SSE | 네트워크를 통한 푸시 업데이트가 필요한 Claude Desktop / Flowise |
|
STDIO | 로컬 CLI 도구 (npx, Claude Code CLI, Flowise 관리 프로세스) |
|
HTTP 전송
MCP_TRANSPORT=http \
MCP_HOST=0.0.0.0 \
MCP_PORT=8765 \
MCP_HTTP_PATH=/mcp \
node dist/plantuml-mcp-server.jsPOST /mcp를 통해 초기화하고 JSON-RPC 페이로드를 전송합니다.GET /mcp및DELETE /mcp는 스트리밍 가능한 세션을 유지합니다.GET /healthz는 준비 상태 확인(readiness probe)을 위해 사용할 수 있습니다.샘플 클라이언트 설정:
client_config_http.json.
SSE 전송
MCP_TRANSPORT=sse \
MCP_HOST=0.0.0.0 \
MCP_PORT=8765 \
MCP_SSE_PATH=/sse \
MCP_SSE_MESSAGES_PATH=/messages \
node dist/plantuml-mcp-server.js클라이언트는 이벤트 수신을 위해
/sse(GET)에 연결하고,/messages로 JSON 메시지를 POST합니다.Claude Desktop / Flowise용 샘플 구성:
client_config_sse.json.
STDIO 전송
MCP_TRANSPORT=stdio npx plantuml-mcp-server
# or run the compiled file directly
MCP_TRANSPORT=stdio node dist/plantuml-mcp-server.js로컬 실험,
mcpCLI 또는 바이너리를 생성하는 Flowise 노드에 이상적입니다.예제 설정은
client_config_stdio.json에 있습니다.
샘플 클라이언트 구성
client_config_http.json– 스트리밍 가능한 HTTP (기본값/mcp)client_config_sse.json– SSE + 전용messagesUrlclient_config_stdio.json–npx및 Flowise 관리 프로세스를 위한 STDIO 예제
이 파일들을 MCP 인식 클라이언트에 넣거나 필요에 따라 스니펫을 복사하세요. 배포 환경에 맞게 호스트 이름, 포트 및 API 키를 업데이트하세요.
환경 변수
변수 | 기본값 | 목적 |
|
|
|
|
| 업스트림 PlantUML 렌더러 |
|
|
|
|
| 바인딩 주소 + 포트 (HTTP/SSE) |
|
| HTTP JSON-RPC 엔드포인트 |
|
| true일 경우 JSON 본문 반환 (디버깅용) |
|
| SSE 스트림 엔드포인트 |
|
| 메시지 수집 엔드포인트 |
| 설정 안 됨 | 제공 시 Bearer 인증 활성화 |
| 설정 안 됨 |
|
| 설정 안 됨 |
|
| 설정 안 됨 | 서비스 액세스 토큰을 얻는 데 사용되는 Authelia OIDC 검색 URL |
| 설정 안 됨 | 선택적 직접 토큰 엔드포인트 재정의 (내부 서비스 간 호출에 유용) |
| 설정 안 됨 |
|
| 설정 안 됨 |
|
|
| 클라이언트 자격 증명 토큰 요청 시 요청되는 범위 |
|
| 클라이언트 자격 증명 토큰 요청 시 요청되는 대상 |
| 설정 안 됨 | 내부 Authelia 호출을 위한 선택적 |
| 설정 안 됨 | 내부 Authelia 호출을 위한 선택적 |
|
|
|
|
| 공유 볼륨 내보내기 사용 시 반환되는 대체 기본 URL |
| 설정 안 됨 |
|
OB_FILE_API_BASE_URL이 구성되면 렌더링된 다이어그램은 ob-file을 통해 업로드되며 MCP 응답은 ob-file이 생성한 서명된 download_url을 반환합니다. OB_FILE_OIDC_DISCOVERY_URL, OB_FILE_OIDC_CLIENT_ID 및 OB_FILE_OIDC_CLIENT_SECRET이 구성된 경우, 서버는 OAuth 2.0 클라이언트 자격 증명을 통해 액세스 토큰을 자동으로 획득하고 캐시합니다. 공유 볼륨 경로는 로컬/개발 환경을 위한 호환성 대체 수단으로 유지됩니다.
도구, 프롬프트 및 리소스
도구는
tools/list를 통해 자동으로 등록됩니다. 유효성 검사, 선택적 자동 수정 기능을 수행하며 구조화된 메타데이터(success, URL, 마크다운 스니펫, 인코딩된 다이어그램 데이터 및 유효성 검사 오류)를 반환합니다.프롬프트는 PlantUML 오류 처리를 통해 모델을 안내하고 준비된 기능 랜드스케이프 템플릿을 제공합니다.
리소스 템플릿은 온보딩 콘텐츠(
resource://plantuml/server-guide)를 노출하여 클라이언트가 사용 지침을 스스로 발견할 수 있도록 합니다.
Docker 이미지
제공된 Dockerfile은 TypeScript 소스를 빌드하고 최소한의 런타임 이미지를 생성합니다:
docker build -t plantuml-mcp-server .
docker run --rm -e MCP_TRANSPORT=http -p 8765:8765 plantuml-mcp-server필요에 따라 환경 변수(PLANTUML_SERVER_URL, MCP_API_KEY 등)를 재정의하세요.
테스트 및 도구
npm run build– TypeScript 컴파일npm start– 기본 HTTP 전송을 사용하여 실행npm run start:sse/npm run start:stdio– 편리한 스크립트npm run test:business-scenario–test_files/generate_sequence_diagram/payload.json을 PlantUML로 변환하고expected.puml과 비교하는 스냅샷 테스트make test-mcp–mcpCLI를 통한 스모크 테스트 명령
도움이 필요하신가요?
curl http://<host>:<port>/healthz로 연결 확인활성화된 경우 인증 헤더가
MCP_API_KEY(Bearer 토큰)와 일치하는지 확인MCP Inspector 또는 Flowise 노드 로그를 사용하여 JSON-RPC 페이로드 추적
이 서버는 HTTP, SSE 및 STDIO를 통해 작동하는 데 필요한 모든 것을 갖추고 있습니다. 환경에 맞는 전송 방식을 연결하고 다이어그램 생성을 시작하세요!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Render, validate, encode/decode PlantUML diagram-as-code; 22 diagram types. Free, no auth.
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Generate org charts, MCD/ERD data models, and C4 architecture diagrams — pilot OrgGen AI via MCP.
Generate cloud architecture diagrams, flowcharts, and sequence diagrams.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA tool that generates various UML diagrams through natural language descriptions or PlantUML code, functioning as an MCP server that can integrate with clients like Claude.28
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to generate UML diagrams from text descriptions using PlantUML, supporting multiple output formats (PNG, SVG, PDF), syntax validation, and diagram source extraction.18MIT
- AlicenseNot gradedqualityCmaintenanceEnables generation of PlantUML ArchiMate enterprise architecture diagrams with full ArchiMate 3.2 specification support across all 7 layers, including automatic validation, multi-format export (PNG/SVG/XML), and instant diagram viewing through a built-in HTTP server.31MIT
- AlicenseAqualityFmaintenanceMCP server for AI Diagram Maker — generate software engineering diagrams from natural language, code, ASCII diagram, images, or Mermaid. Inline diagram rendering using MCP apps UI and diagram URL in responses. Works with Cursor, Claude Desktop, Claude Code, and any MCP-compatible AI.5568MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sysam68/plantuml-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server