
andrewmoshu/diagram-mcp-server
Deployment & DevOpsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
andrewmoshu/diagram-mcp-server は、https://github.com/andrewmoshu/diagram-mcp-server. からインポートされたMCPサーバー候補です。
概要
andrewmoshu/diagram-mcp-server は、https://github.com/andrewmoshu/diagram-mcp-server. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
マルチクラウドインフラストラクチャ図のためのモデルコンテキストプロトコル(MCP)サーバー
このMCPサーバーはPython図パッケージDSLを使ってシームレスに図を作成できます。Claude Desktopやその他のMCPクライアントを用いて、自然言語を用いて、あらゆるクラウドプロバイダー(AWS、GCP、Azure)、Kubernetes、オンプレミス、ハイブリッド、マルチクラウドアーキテクチャ向けにプロフェッショナルなインフラ図を作成できます。
注:これはawslabs/aws-diagram-mcp-serverを基にした派生作品で、マルチクラウドプロバイダー対応と強化された機能で拡張されています。
前提条件
- GraphViz 開発ヘッダー付き - 図作成および.drawioエクスポートに必要
- Astralから
uvをインストールする(推奨)か、[[T1]を使う] - (任意) Install Helm - [[T2]との完全なHelmチャート解析に必須)
GraphVizのインストール
macOS(ホームブルー):
Ubuntu/Debian:
ウィンドウズ(チョコレート):
または graphviz.org からダウンロード
ヘルムの取り付け(任意)
parse_helm_chartツールによる完全なテンプレートレンダリングにはHelmが必要です。Helmがなければ、パーサーはテンプレートサポートが限定的なフォールバックモードを使用します。
macOS(ホームブルー):
Ubuntu/Debian:
ウィンドウズ(チョコレート):
このページは 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"
}
}
}
}