Diagram AI Generator

v1.0.0Developer Toolsstable

AI-powered architecture diagram generator with MCP server integration. Create professional cloud diagrams (AWS, Azure, GCP, K8s) with real provider icons. Works seamlessly with Claude Desktop.

aiarchitecture-diagramsawsgcpiac
Share:
8
Stars
0
Downloads
0
Weekly
0/5

What is Diagram AI Generator?

Diagram AI Generator is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ai-powered architecture diagram generator with mcp server integration. create professional cloud diagrams (aws, azure, gcp, k8s) with real provider icons. works seamlessly with claude desktop.

AI-powered architecture diagram generator with MCP server integration. Create professional cloud diagrams (AWS, Azure, GCP, K8s) with real provider icons. Works seamlessly with Claude Desktop.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • AI-powered architecture diagram generator with MCP server in

Use Cases

Architecture diagram generation
Cloud provider icon support (AWS, Azure, GCP)
carlosmgv02

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedFeb 12, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx diagram-ai-generator

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Diagram AI Generator

Diagram AI Generator is a Python-based MCP server that generates professional cloud architecture diagrams for AWS, Azure, GCP, Kubernetes, and 14+ other providers using real provider icons. It integrates with Claude Desktop and guides users through a structured three-step workflow to discover providers, select component categories, get exact node names, and generate diagrams as image files.

Prerequisites

  • Python 3.10 or newer installed
  • Graphviz installed (brew install graphviz on macOS, or https://graphviz.org/download/ on Windows/Linux)
  • pip for installing the Python package
  • Claude Desktop or another MCP-compatible client
1

Install Graphviz

Graphviz is a required system dependency for rendering diagram files. Install it before the Python package.

# macOS:
brew install graphviz

# Ubuntu/Debian:
sudo apt-get install graphviz

# Windows (winget):
winget install graphviz
2

Install the diagram-ai-generator package

Install the package from PyPI using pip or your system Python.

pip install diagram-ai-generator

# macOS (if pip maps to Python 2):
/usr/local/bin/python3 -m pip install diagram-ai-generator
3

Configure Claude Desktop

Edit your Claude Desktop config file to register the MCP server. Use python3 to run the modular server module.

{
  "mcpServers": {
    "diagram-ai-generator": {
      "command": "python3",
      "args": ["-m", "src.application.mcp.server_modular"]
    }
  }
}
4

Set a custom output directory (optional)

By default, diagrams are saved to ./generated_diagrams/ relative to the server working directory. Override this with the DIAGRAM_OUTPUT_DIR environment variable.

{
  "mcpServers": {
    "diagram-ai-generator": {
      "command": "python3",
      "args": ["-m", "src.application.mcp.server_modular"],
      "env": {
        "DIAGRAM_OUTPUT_DIR": "/Users/yourname/diagrams"
      }
    }
  }
}
5

Restart Claude Desktop and verify

Close and reopen Claude Desktop. Ask Claude to list available diagram providers to confirm the server is connected.

# Ask Claude:
# "List all available cloud providers for diagram generation"
6

Generate your first diagram

Use the three-step workflow: list providers, get categories, get nodes, then create the diagram. Or describe what you want and let Claude orchestrate the steps.

# Ask Claude:
# "Create an AWS serverless architecture diagram with API Gateway, Lambda, and DynamoDB"
# "Generate a Kubernetes cluster diagram showing a web app with ingress, deployment, and service"
# "Make a multi-cloud diagram combining AWS Lambda and Azure Functions"

Diagram AI Generator Examples

Client configuration

Claude Desktop claude_desktop_config.json with diagram-ai-generator and a custom output directory.

{
  "mcpServers": {
    "diagram-ai-generator": {
      "command": "python3",
      "args": ["-m", "src.application.mcp.server_modular"],
      "env": {
        "DIAGRAM_OUTPUT_DIR": "/Users/yourname/Desktop/diagrams"
      }
    }
  }
}

Prompts to try

Architecture diagram generation prompts for Claude with the diagram-ai-generator server connected.

- "List all available cloud providers for diagram generation"
- "Create an AWS three-tier web architecture with ALB, EC2 Auto Scaling, and RDS"
- "Generate a GCP data pipeline diagram with Pub/Sub, Dataflow, and BigQuery"
- "Show me the available Azure networking components I can use in a diagram"
- "Create a multi-cloud diagram with AWS API Gateway fronting Azure Functions"

Troubleshooting Diagram AI Generator

Diagram generation fails with 'graphviz executable not found'

Graphviz must be installed as a system binary, not just as a Python package. On macOS run 'brew install graphviz', on Ubuntu run 'sudo apt-get install graphviz'. After installing, restart your terminal and Claude Desktop to ensure the PATH is updated.

Module 'src.application.mcp.server_modular' not found when starting the server

The server must be run from the repository root directory where the 'src' folder exists. If you installed via pip, the module paths may differ. Try running 'python3 -m diagram_ai_generator.mcp.server' or check the installed package structure with 'pip show diagram-ai-generator'.

Diagrams are generated but cannot be found on disk

Check the DIAGRAM_OUTPUT_DIR environment variable setting. If not set, diagrams are saved to ./generated_diagrams/ relative to where the server process was started — which may be an unexpected directory. Set DIAGRAM_OUTPUT_DIR to an absolute path in your MCP config env section.

Frequently Asked Questions about Diagram AI Generator

What is Diagram AI Generator?

Diagram AI Generator is a Model Context Protocol (MCP) server that ai-powered architecture diagram generator with mcp server integration. create professional cloud diagrams (aws, azure, gcp, k8s) with real provider icons. works seamlessly with claude desktop. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Diagram AI Generator?

Follow the installation instructions on the Diagram AI Generator GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Diagram AI Generator?

Diagram AI Generator works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Diagram AI Generator free to use?

Yes, Diagram AI Generator is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "diagram-ai-generator": { "command": "npx", "args": ["-y", "diagram-ai-generator"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Diagram AI Generator?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides