
andrewmoshu/diagram-mcp-server
Deployment & DevOps이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
andrewmoshu/diagram-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요
andrewmoshu/diagram-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
다중 클라우드 인프라 다이어그램을 위한 모델 컨텍스트 프로토콜(MCP) 서버
이 MCP 서버는 Python 다이어그램 패키지 DSL을 사용해 원활하게 다이어그램을 생성합니다. Claude Desktop 또는 기타 MCP 클라이언트를 사용하여 자연어를 사용해 모든 클라우드 제공자(AWS, GCP, Azure), Kubernetes, 온프레미스, 하이브리드 및 다중 클라우드 아키텍처를 위한 전문적인 인프라 다이어그램을 생성할 수 있습니다.
참고: 이 문서는 awslabs/aws-diagram-mcp-server를 기반으로 한 파생 작업물로, 멀티클라우드 제공자 지원과 향상된 기능을 추가하여 확장되었습니다.
선수 조건
- GraphViz 설치 개발 헤더와 함께 - 다이어그램 생성 및 .drawio 내보내기에 필수
- Astral에서
uv를 설치하거나 [[T1]를 사용하세요. - (선택) 헬름 설치 - [[T2]와 함께 헬름 차트 전체 해석을 위해 필수
GraphViz 설치
macOS (홈브류):
우분투/데비안:
창문들 (초콜릿):
또는 graphviz.org 에서 다운로드하세요
헬름 설치 (선택 사항)
Helm은 [parse_helm_chart 도구로 전체 템플릿 렌더링을 위해 필요합니다. Helm이 없으면 파서는 제한된 템플릿 지원이 있는 후퇴 모드를 사용합니다.
macOS (홈브류):
우분투/데비안:
창문들 (초콜릿):
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Infrastructure Diagram MCP Server
Model Context Protocol (MCP) server for Multi-Cloud Infrastructure Diagrams
This MCP server seamlessly creates diagrams using the Python diagrams package DSL. Generate professional infrastructure diagrams for any cloud provider (AWS, GCP, Azure), Kubernetes, on-premises, hybrid, and multi-cloud architectures using natural language with Claude Desktop or other MCP clients.
Note: This is a derivative work based on awslabs/aws-diagram-mcp-server, extended with multi-cloud provider support and enhanced features.
Prerequisites
- Install GraphViz with development headers - Required for diagram generation and .drawio export
- Install
uvfrom Astral (recommended) or usepip - (Optional) Install Helm - Required for full Helm chart parsing with
parse_helm_chart
Installing GraphViz
macOS (Homebrew):
brew install graphviz
Ubuntu/Debian:
sudo apt-get install graphviz graphviz-dev
Windows (Chocolatey):
choco install graphviz
Or download from graphviz.org
Installing Helm (Optional)
Helm is required for full template rendering with the parse_helm_chart tool. Without Helm, the parser will use a fallback mode with limited template support.
macOS (Homebrew):
brew install helm
Ubuntu/Debian:
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
Windows (Chocolatey):
choco install kubernetes-helm
Or download from helm.sh/docs/intro/install
MCP Client Configuration
Configure the MCP server in your MCP client. The CFLAGS and LDFLAGS (or INCLUDE and LIB on Windows) environment variables are needed for the initial build of pygraphviz.
Claude Desktop / Cursor on macOS (~/Library/Application Support/Claude/claude_desktop_config.json or ~/.cursor/mcp.json):
{
"mcpServers": {
"infrastructure-diagrams": {
"command": "uvx",
"args": ["infrastructure-diagram-mcp-server"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"CFLAGS": "-I/opt/homebrew/include",
"LDFLAGS": "-L/opt/homebrew/lib"
}
}
}
}
Note:
/opt/homebrewis the default Homebrew prefix on Apple Silicon Macs. For Intel Macs, use/usr/localinstead.
Linux (e.g., ~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
설치
uvx infrastructure-diagram-mcp-server설정
{
"mcpServers": {
"infrastructure-diagrams": {
"command": "uvx",
"args": ["infrastructure-diagram-mcp-server"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"CFLAGS": "-I/opt/homebrew/include",
"LDFLAGS": "-L/opt/homebrew/lib"
}
}
}
}