Cloud Architect
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cloud ArchitectAnalyze my project for cloud architecture recommendations on AWS"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cloud Architect
Cloud architecture analysis, recommendations, and artifacts for any project. Works as an MCP server for AI-powered coding tools (Claude Code, Cursor, Windsurf) or as a standalone CLI.
Scans your project, detects your stack, and provides architecture recommendations, diagrams, decision records, and deployment comparisons for AWS, GCP, or Azure.
Install
npm install -g github:bmdietrich/agent-cloud-architectRelated MCP server: CodeBase Optimizer
Usage
CLI
# Analyze a project and get architecture recommendations
cloud-architect analyze --provider aws --dir /path/to/project
# Generate a Mermaid architecture diagram
cloud-architect diagram --provider gcp --style mermaid
# Review against well-architected framework
cloud-architect review --provider azure --checklist security reliability cost
# Compare deployment options
cloud-architect compare --provider aws --options ecs-fargate eks lambda
# Generate an Architecture Decision Record
cloud-architect adr "Use Fargate for backend services" --context "Migrating from EC2"
# Ask a question using the agentic loop (requires ANTHROPIC_API_KEY)
cloud-architect ask "What's the best way to handle background jobs?" --provider awsAll commands accept:
-p, --provider <aws|gcp|azure>— cloud provider (default:aws)-d, --dir <path>— project directory to analyze (default: cwd)
MCP Server
Add to your project's .mcp.json:
{
"mcpServers": {
"cloud-architect": {
"command": "npx",
"args": ["-y", "github:bmdietrich/agent-cloud-architect"],
"env": {
"PROJECT_DIR": ".",
"CLOUD_PROVIDER": "aws"
}
}
}
}Or register via Claude Code CLI:
claude mcp add cloud-architect \
-e PROJECT_DIR=. \
-e CLOUD_PROVIDER=aws \
-- npx -y github:bmdietrich/agent-cloud-architectTools
Tool | Description |
| Scan project structure, detect stack, recommend cloud architecture |
| Generate Architecture Decision Records with context, options, and trade-offs |
| Produce Mermaid or D2 diagrams of the target architecture |
| Review against well-architected framework pillars (security, reliability, cost, etc.) |
| Compare deployment options (e.g., ECS vs EKS vs Lambda) with trade-off analysis |
How It Works
Project Scanner
The context scanner detects:
Languages — JavaScript, TypeScript, Python, Go, Rust, Java, Kotlin
Frameworks — React, Next.js, Express, NestJS, FastAPI, Django, Spring, and more
Databases — MongoDB, PostgreSQL, MySQL, Redis, DynamoDB, RabbitMQ, Kafka
Infrastructure — Terraform, Serverless Framework, CDK, CloudFormation
Containers — Dockerfiles, Docker Compose, Kubernetes manifests
CI/CD — GitHub Actions, GitLab CI, Jenkins, CircleCI, CodeBuild
Services — Detects individual services in monorepos with type inference (frontend, backend, worker, lambda)
Provider Parameterization
The cloudProvider setting shapes all output — service names, architecture patterns, and recommendations map to the target provider:
Concept | AWS | GCP | Azure |
Serverless containers | Fargate | Cloud Run | Container Apps |
FaaS | Lambda | Cloud Functions | Azure Functions |
Container orchestration | ECS/EKS | GKE | AKS |
Document DB | DocumentDB | Firestore | Cosmos DB |
Cache | ElastiCache | Memorystore | Azure Cache for Redis |
Queue | SQS | Pub/Sub | Service Bus |
MCP Mode vs CLI Mode
MCP mode — the host AI (Claude, Cursor, etc.) is the reasoning layer. Tools return structured analysis, the AI interprets and applies it. No API key needed.
CLI mode — tools run directly and return markdown output. The ask command and --agent flag use an agentic loop with Claude to provide interactive analysis (requires ANTHROPIC_API_KEY).
Environment Variables
Variable | Required | Description |
| MCP mode | Project directory to analyze |
| No |
|
| CLI agent mode | Required for |
Development
git clone github:bmdietrich/agent-cloud-architect
cd cloud-architect
npm install
npm run dev # watch mode
npm run build # one-time buildLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Designs, prices, and deploys AWS/GCP cloud infrastructure from plain-English requirements.
Compare, estimate, and deploy cloud infrastructure across AWS, GCP, and Azure for AI agents.
Discover cloud shapes and create, inspect, validate, patch, and review architecture diagrams.
Evidence-first architecture workbench: 48 deterministic tools, 10 architect personas, any cloud
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceThis server provides guidance and recommendations based on AWS's Well-Architected Framework for cloud architectures, enabling analysis and review focused on operational excellence, security, reliability, performance efficiency, cost optimization, and sustainability.-
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive codebase analysis including project structure evaluation, cross-language duplicate detection, microservices validation, and configuration optimization with AI-powered pattern learning that generates actionable improvement reports.MIT
- FlicenseDqualityDmaintenanceEnables read-only assessment of AWS environments by inventorying resources, running security and operational checks, and generating actionable reports with cost analysis. Designed for contractors with support for assume-role authentication using external IDs.10-
- AlicenseAqualityDmaintenanceAI-powered cloud architecture - describe infrastructure in natural language, get Terraform, cost estimates, and compliance reports1933MIT