AWS Architecture Diagram MCP
An MCP server that turns a list of AWS
services and connections into a self-contained, interactive architecture
diagram — a single HTML file you can open in any browser or attach to an
email. No server, no internet, no build step for the consumer.
It also generates .drawio files and exports the diagram's elements as neutral
JSON — a machine-readable handoff (sidecar .json + export_diagram_json) that
downstream apps consume: the official AWS IaC MCP
for infrastructure, or a cost app such as aws-cost-app-mcp (a separate MCP) to
price it. This server draws the diagram; it does not price or deploy.

Guided walkthrough — step through the architecture beat by beat, with the camera
framing each stage and an overlay card explaining the WHY:

The same self-contained HTML is fully interactive — switch language, collapse
containers, and flip the theme, all offline:
| Language switch (any language) | Collapsible containers | Light / dark theme |
|---|
 |  |  |
One file can also be a small document: a caption band that frames it when
opened cold, and a tab rail with the architecture, an animated UML sequence, a
typed diagram (here an ER data model) and a prose tab for decisions:

| Animated UML sequence tab | Typed diagram tab (ER) |
|---|
 |  |
Workflows, data-flow diagrams and state machines get their own player, with
decisions, converging branches, loop-backs and a narrated walkthrough:

Disclaimer: Provided for illustration and documentation purposes, "as is"
without warranty. The diagrams and any IaC or pricing it helps produce are
starting points — review, test, and harden them (security, cost, and
Well-Architected best practices) before using anything in production.
Features
- Interactive HTML diagram (React Flow) — draggable nodes, animated edges,
dark/light theme, any-language switch, LR/TB layout. Fully self-contained (icons
inlined as base64), so it works from
file:// and as an email attachment.
- Guided walkthrough — define ordered beats; arrow keys or the dock's play
button step through them. Each beat shows an overlay card (title, rich-markdown
body, bullets, status chips, code snippets) whose position you pick per beat via
cardSide (right default, left, top, or full centered modal), and tints —
and optionally zooms (stepZoom) or isolates (stepFocus) — a subset of the diagram.
Effects are opt-in per diagram, so a single HTML file both is the diagram and
narrates it. See Guided walkthrough for all knobs.
- Any language — pass
languages: ['en','ja','fr', …] and author any text field
as a { en, ja, … } map; the toolbar shows a language dropdown and the whole diagram
(labels, roles, walkthrough) re-renders in place. Not limited to EN/PT — localize
the UI chrome for any language with uiStrings + langLabels.
- Multi-tab documents — pass
sequence (or an explicit tabs[]) and the same
single HTML file becomes a small document with a tab rail: the architecture canvas,
the animated UML sequence player (the same renderer as the standalone
render_diagram_media sequence output — play/step/keyboard, activation bars,
alt/opt/loop/par fragments, participant groups, notes, tone/badge
narration cards with source proof links, PNG/SVG export), and free-form
doc tabs (sections, bullets, code), and typed tabs — any of 15 typed
diagrams (Gantt, ER, swimlane, timeline, Kanban, journey, Wardley, decision
workflow, …). Tabs deep-link via the URL hash. See
Multi-tab documents.
- Workflow, data-flow and lifecycle diagrams —
generate_workflow_diagram,
generate_dataflow_diagram and generate_lifecycle_diagram (or the incremental
<type>_create → _add_nodes / _add_edges / _add_steps → _render) draw a
directed graph with typed node shapes (decision diamonds, datastores, states),
labeled branches and loop-backs, and an optional narrated walkthrough. Same
self-contained HTML, theme and SVG/PNG export as the other players.
- Caption band —
caption (eyebrow, title, text, meta[]) renders a
header above the canvas, so a file opened cold (email attachment, wiki link)
says what it is, its version and its owner. In a tabbed document it frames every tab.
- Validation before render —
validate_diagram reports unresolved icons,
dangling connection endpoints and orphaned parentId/step references;