An MCP server that seamlessly creates infrastructure diagrams for AWS, Azure, GCP, Kubernetes and more
{
"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
Is it safe?
No known CVEs for infrastructure-diagram-mcp-server.
No authentication — any process on your machine can connect.
Apache-2.0. View license →
Is it maintained?
Last commit 77 days ago. 122 stars.
Will it work with my client?
Transport: stdio, http. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
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:
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
MCPSDK.dev(ToolSDK.ai)'s Awesome MCP Servers and Packages Registry and Database with Structured JSON configurations. Supports OAuth2.1, DCR...
MCP Server for GCP environment for interacting with various Observability APIs.
The full-stack TypeScript framework to build, test, and deploy production-ready MCP servers and AI-native apps.
Prismer Cloud
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)