# AWS Diagram

AWS Diagram — a server that turns Python code into AWS, sequence, flow, and class diagrams using the diagrams package. Fits when schemas should live in the repo next to the code.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 9939 repo stars
- Author: awslabs
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/awslabs/mcp/tree/HEAD/src/aws-diagram-mcp-server
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/aws-diagram

## What it does

AWS Diagram takes Python written in the diagrams DSL and renders it as a picture. Four kinds are supported: AWS infrastructure, sequence, flow, and class. You describe the layout in code, the agent runs it, and the server produces the diagram.

Python plus the diagrams package are required. The server is open source, Apache-2.0, maintained by awslabs in `awslabs/mcp` alongside other AWS MCP servers. No Python on the machine means no diagrams.

It connects to Claude Code, Codex, Cursor, GitHub Copilot, Windsurf, Cline, Zed, and Gemini CLI. For architecture docs or code review, code-generated schemas replace dragging boxes around.

## Requirements
- Needs: Docker
- Works with: AWS

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- Draw an AWS architecture from Python code
- Generate a sequence diagram for service interactions
- Produce a flow diagram without a visual editor
- Describe classes and relations in a class diagram
- Version diagrams alongside the project code

## Example prompts
- Describe the AWS architecture in Python and render the diagram
- Build a sequence diagram: order, payment, delivery
- Create a flow diagram for the user signup process

## Similar
- [aws-architecture-diagram](https://affpapa.org/en/nevibecode/skills/aws-architecture-diagram.md) — skill · 872 installs
- [aws-drawio-architecture-diagrams](https://affpapa.org/en/nevibecode/skills/aws-drawio-architecture-diagrams.md) — skill · ★ 372 repo stars
- [aws-diagrams](https://affpapa.org/en/nevibecode/skills/aws-diagrams.md) — skill · 1200 installs
- [architecture-diagram](https://affpapa.org/en/nevibecode/skills/architecture-diagram.md) — skill · 2200 installs
- [drawio-diagram-forge](https://affpapa.org/en/nevibecode/skills/drawio-diagram-forge.md) — skill · 118 installs
- [aws-well-architected-framework-review](https://affpapa.org/en/nevibecode/skills/aws-well-architected-framework-review.md) — skill · 339 installs

From the same set: [awslabs/mcp](https://affpapa.org/en/nevibecode/by/awslabs/mcp.md) — 36 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
