An MCP server that seamlessly creates infrastructure diagrams for AWS, Azure, GCP, Kubernetes and more
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"infrastructure-diagrams": {
"env": {
"CFLAGS": "-I/opt/homebrew/include",
"LDFLAGS": "-L/opt/homebrew/lib",
"FASTMCP_LOG_LEVEL": "ERROR"
},
"args": [
"infrastructure-diagram-mcp-server"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Model Context Protocol (MCP) server for Multi-Cloud Infrastructure Diagrams
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'infrastructure-diagram-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked infrastructure-diagram-mcp-server against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in cloud / devops
MCP server for using the GitLab API
MCP Server for GCP environment for interacting with various Observability APIs.
⚡ A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.
MCP server for Datto SaaS Protection — M365/GWS backups, restores, seats.
MCP Security Weekly
Get CVE alerts and security updates for Diagram Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
uv from Astral (recommended) or use pipparse_helm_chartmacOS (Homebrew):
brew install graphviz
Ubuntu/Debian:
sudo apt-get install graphviz graphviz-dev
Windows (Chocolatey):
choco install graphviz
Or download from graphviz.org
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
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": {
"infrastructure-diagrams": {
"command": "uvx",
"args": ["infrastructure-diagram-mcp-server"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR"
}
}
}
}
Note: On Linux, install
graphviz-devfirst (sudo apt-get install graphviz graphviz-dev), then no extra env vars are needed.
Windows (e.g., %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"infrastructure-diagrams": {
"command": "uvx",
"args": ["infrastructure-diagram-mcp-server"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"INCLUDE": "C:\\Program Files\\Graphviz\\include",
"LIB": "C:\\Program Files\\Graphviz\\lib"
}
}
}
}
Note: Adjust the Graphviz path if you installed it in a different location.
Other MCP Clients (e.g., Kiro - ~/.kiro/settings/mcp.json):
{
"mcpServers": {
"infrastructure-diagrams": {
"command": "uvx",
"args": ["infrastructure-diagram-mcp-server"],
"env": {
"F
... [View full README on GitHub](https://github.com/andrewmoshu/diagram-mcp-server#readme)