Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables visualization of Terraform plan changes as interactive cloud architecture diagrams with official AWS, Azure, and GCP icons, showing resource dependencies and changes.

README.md

Cloud Diagram MCP

![Tests](https://github.com/aviveldan/cloud-diagram-mcp/actions/workflows/test.yml) ![CodeQL](https://github.com/aviveldan/cloud-diagram-mcp/actions/workflows/codeql.yml) ![License: MIT](https://opensource.org/licenses/MIT)

MCP server that visualizes Terraform plan changes as cloud architecture diagrams with official AWS, Azure, and GCP icons.

Features

  • Generate diagrams from Terraform plan JSON (no cloud credentials required)
  • Multi-cloud support with official provider icons
  • Hierarchical architecture views with dependency connections
  • Interactive HTML with clickable resources showing configuration details
  • Color-coded changes: green (create), red (delete), orange (update), purple (replace)

Screenshots

!AWS Infrastructure !Azure Infrastructure !Complex AWS Architecture !Interactive HTML

Installation

Prerequisites: Python 3.10+, Graphviz, Node.js 18+

# Install Graphviz
# Ubuntu/Debian: sudo apt-get install graphviz
# macOS: brew install graphviz
# Windows: winget install --id Graphviz.Graphviz (add bin to PATH)

# Clone and install
git clone https://github.com/aviveldan/cloud-diagram-mcp.git
cd cloud-diagram-mcp
pip install -r requirements.txt

# Build React UI
cd ui && npm install && npm run build && cd ..

Usage

MCP Server

Add to your MCP client configuration (e.g., Claude Desktop):

{
  "mcpServers": {
    "cloud-diagram": {
      "command": "python3",
      "args": ["-m", "cloud_diagram_mcp.server"],
      "cwd": "/path/to/cloud-diagram-mcp"
    }
  }
}

Terraform Plan

terraform plan -out=tfplan
terraform show -json tfplan > plan.json

Use the MCP visualize_tf_diff tool with the plan JSON as input: ``json { "plan": "<plan-json-content>" } ``

Command Line

python3 test_mcp.py                          # Test MCP tools
python3 generate_documentation_diagrams.py    # Generate example diagrams

Supported Resources

AWS: EC2, VPC, RDS, S3, ELB, Lambda, IAM, ElastiCache, Route53, CloudFront, NAT Gateway, and more Azure: VMs, Virtual Networks, SQL Database, Storage Accounts, Managed Identities, and more GCP: Compute Engine, VPC, Cloud SQL, Cloud Storage, GKE, and more

Development

# Build UI
cd ui && npm install && npm run build

# Run Python tests (requires Graphviz)
python3 test_mcp.py

# Run Playwright UI tests
cd ui
npm run build
python create-test-harness.py
python create-test-harness-architecture.py
npm test

For complete testing documentation, see TESTING.md.

Continuous Integration

All tests run automatically on every pull request via GitHub Actions. See .github/workflows/test.yml for the complete CI configuration.

For complete CI/CD documentation, including release process and workflows, see CI_CD.md.

CI/CD

This repository includes comprehensive CI/CD workflows:

  • Tests (.github/workflows/test.yml): Runs Python and Playwright tests on all PRs and pushes to main
  • Release (.github/workflows/release.yml): Automatically publishes to PyPI when a new version tag is pushed
  • Dependabot (.github/dependabot.yml): Automatically updates dependencies weekly

Creating a Release

  1. Update version in cloud_diagram_mcp/__init__.py
  2. Update CHANGELOG.md with the new version and changes
  3. Commit the changes
  4. Create and push a version tag:
   git tag v2.1.0
   git push origin v2.1.0
  1. The release workflow will automatically:
  • Build the package
  • Create a GitHub release with release notes
  • Publish to PyPI

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to contribute to this project.

License

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Cloud & DevOps servers.