MCP ScannerCustom audit
All servers

aws-samples/sample-architecture-diagram-mcp-server

MCP server that turns a described AWS architecture into a self-contained interactive HTML diagram (official AWS icons, walkthroughs, UML sequence tabs, .drawio/PNG/GIF/SVG export).

Packagesample-architecture-diagram-mcp-server
Version2.5.0 in package.json
PublisherAmazon (AWS) Official
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 12Forks 2Last push 2026-11-13
TypeScript 93.4%JavaScript 6.6%by source files the scanner reads
Code safetypartly tracedExposurepartly tracedPrompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence88%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposurepartly traced—

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.

  • In 235 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 39 source files could be read only in part
  • 16 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code

Top risks in plain words

  • INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 92 tools, 2 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

None of the tools reaches any of these in the code the scanner could trace.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (94: 92 tools, 2 resources)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

(name computed at run time)resource
No description.
(name computed at run time)resource
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
auto_generate_diagramtool Generate a fully positioned AWS architecture .drawio diagram. Computes layout, container sizing, badge positions, and edge routing with the SAME ELK compound en
Generate a fully positioned AWS architecture .drawio diagram. Computes layout, container sizing, badge positions, and edge routing with the SAME ELK compound engine as the interactive HTML — no manual x/y. Containers: pass `groups` + services' `parentId` for arbitrary nesting (multi-VPC, accounts, AZs, on-prem), OR just `subnet` on services for the classic single AWS Cloud → VPC → public/private subnet tree.
auto_generate_diagramtool Generate a fully positioned AWS architecture .drawio diagram. Computes layout, container sizing, badge positions, and edge routing with the SAME ELK compound en
Generate a fully positioned AWS architecture .drawio diagram. Computes layout, container sizing, badge positions, and edge routing with the SAME ELK compound engine as the interactive HTML — no manual x/y. Containers: pass `groups` + services' `parentId` for arbitrary nesting (multi-VPC, accounts, AZs, on-prem), OR just `subnet` on services for the classic single AWS Cloud → VPC → public/private subnet tree.
build_bundletool Build the page that includes a layout's custom components (Vite build of the standalone page, cached by a hash of the components, the base page and the package
Build the page that includes a layout's custom components (Vite build of the standalone page, cached by a hash of the components, the base page and the package version). Layouts with only built-in components need no build. Requires a clone of the repository with dev dependencies installed; the npm package cannot build.
build_bundletool Build the page that includes a layout's custom components (Vite build of the standalone page, cached by a hash of the components, the base page and the package
Build the page that includes a layout's custom components (Vite build of the standalone page, cached by a hash of the components, the base page and the package version). Layouts with only built-in components need no build. Requires a clone of the repository with dev dependencies installed; the npm package cannot build.
create_layouttool Save a layout under a name so specs can use it as `layout: "<name>"`. Start from a preset with `extends` and change it with `patch` (add / remove / move / repla
Save a layout under a name so specs can use it as `layout: "<name>"`. Start from a preset with `extends` and change it with `patch` (add / remove / move / replace a component, or set its props), or give whole `slots`; add `theme` tokens, a CSS file and `branding` (local logo/favicon files, inlined). Validated before saving; presets are read-only.
create_layouttool Save a layout under a name so specs can use it as `layout: "<name>"`. Start from a preset with `extends` and change it with `patch` (add / remove / move / repla
Save a layout under a name so specs can use it as `layout: "<name>"`. Start from a preset with `extends` and change it with `patch` (add / remove / move / replace a component, or set its props), or give whole `slots`; add `theme` tokens, a CSS file and `branding` (local logo/favicon files, inlined). Validated before saving; presets are read-only.
describe_componenttool One component of the catalog, with the JSON Schema of its props.
One component of the catalog, with the JSON Schema of its props.
describe_componenttool One component of the catalog, with the JSON Schema of its props.
One component of the catalog, with the JSON Schema of its props.
diagram_add_connectionstool Append connections (edges) to a draft. Same shape as generate_html_diagram: { id, source, target, label?, type?, dashed? }.
Append connections (edges) to a draft. Same shape as generate_html_diagram: { id, source, target, label?, type?, dashed? }.
diagram_add_connectionstool Append connections (edges) to a draft. Same shape as generate_html_diagram: { id, source, target, label?, type?, dashed? }.
Append connections (edges) to a draft. Same shape as generate_html_diagram: { id, source, target, label?, type?, dashed? }.
diagram_add_doc_tabtool Attach a prose tab (readable sections: title + body + bullets + code) to a draft — the written companion to the architecture and sequence tabs in the same self-
Attach a prose tab (readable sections: title + body + bullets + code) to a draft — the written companion to the architecture and sequence tabs in the same self-contained file.
diagram_add_doc_tabtool Attach a prose tab (readable sections: title + body + bullets + code) to a draft — the written companion to the architecture and sequence tabs in the same self-
Attach a prose tab (readable sections: title + body + bullets + code) to a draft — the written companion to the architecture and sequence tabs in the same self-contained file.
diagram_add_groupstool Append container groups to a draft. Same shape as generate_html_diagram: { id, label, parent?, variant?, icon? }.
Append container groups to a draft. Same shape as generate_html_diagram: { id, label, parent?, variant?, icon? }.
diagram_add_groupstool Append container groups to a draft. Same shape as generate_html_diagram: { id, label, parent?, variant?, icon? }.
Append container groups to a draft. Same shape as generate_html_diagram: { id, label, parent?, variant?, icon? }.
diagram_add_sequencetool Attach an animated UML SEQUENCE view to a draft (participants + ordered messages, alt/opt/loop fragments, notes). The rendered HTML becomes a two-tab document:
Attach an animated UML SEQUENCE view to a draft (participants + ordered messages, alt/opt/loop fragments, notes). The rendered HTML becomes a two-tab document: Architecture + Sequence. Call once per sequence tab; pass `tabLabel` to name the tab.
diagram_add_sequencetool Attach an animated UML SEQUENCE view to a draft (participants + ordered messages, alt/opt/loop fragments, notes). The rendered HTML becomes a two-tab document:
Attach an animated UML SEQUENCE view to a draft (participants + ordered messages, alt/opt/loop fragments, notes). The rendered HTML becomes a two-tab document: Architecture + Sequence. Call once per sequence tab; pass `tabLabel` to name the tab.
diagram_add_servicestool Append services (nodes) to a draft. Same service shape as generate_html_diagram: { id, service, shape, category, icon?, role?, parentId?, subnet?, config? }.
Append services (nodes) to a draft. Same service shape as generate_html_diagram: { id, service, shape, category, icon?, role?, parentId?, subnet?, config? }.
diagram_add_servicestool Append services (nodes) to a draft. Same service shape as generate_html_diagram: { id, service, shape, category, icon?, role?, parentId?, subnet?, config? }.
Append services (nodes) to a draft. Same service shape as generate_html_diagram: { id, service, shape, category, icon?, role?, parentId?, subnet?, config? }.
diagram_add_stepstool Append guided-walkthrough beats to a draft. Same step shape as generate_html_diagram (tone/color/cardSide/nodes/edges/groups/eyebrow/icon/title/body/bullets/chi
Append guided-walkthrough beats to a draft. Same step shape as generate_html_diagram (tone/color/cardSide/nodes/edges/groups/eyebrow/icon/title/body/bullets/chips/sections…).
diagram_add_stepstool Append guided-walkthrough beats to a draft. Same step shape as generate_html_diagram (tone/color/cardSide/nodes/edges/groups/eyebrow/icon/title/body/bullets/chi
Append guided-walkthrough beats to a draft. Same step shape as generate_html_diagram (tone/color/cardSide/nodes/edges/groups/eyebrow/icon/title/body/bullets/chips/sections…).
diagram_createtool Start an incremental diagram draft. Returns a draftId; feed it to diagram_add_services / diagram_add_connections / diagram_add_groups / diagram_add_steps in any
Start an incremental diagram draft. Returns a draftId; feed it to diagram_add_services / diagram_add_connections / diagram_add_groups / diagram_add_steps in any order, then diagram_render to write the HTML. Use this when building a diagram in stages; use generate_html_diagram for a single-shot build.
diagram_createtool Start an incremental diagram draft. Returns a draftId; feed it to diagram_add_services / diagram_add_connections / diagram_add_groups / diagram_add_steps in any
Start an incremental diagram draft. Returns a draftId; feed it to diagram_add_services / diagram_add_connections / diagram_add_groups / diagram_add_steps in any order, then diagram_render to write the HTML. Use this when building a diagram in stages; use generate_html_diagram for a single-shot build.
diagram_deltatool Render an ARCHITECTURE DELTA — a before→after comparison of two diagram IRs as ONE self-contained interactive HTML. Every service/connection/group is tagged add
Render an ARCHITECTURE DELTA — a before→after comparison of two diagram IRs as ONE self-contained interactive HTML. Every service/connection/group is tagged added / removed / changed / unchanged; the viewer gets a Before / Delta / After toggle (added=green, removed=red, changed=amber). Layout is computed once over the union so nodes keep their position as you flip views. Pass the SAME service/connection/group shapes as generate_html_diagram, split into `before` and `after`.
diagram_deltatool Render an ARCHITECTURE DELTA — a before→after comparison of two diagram IRs as ONE self-contained interactive HTML. Every service/connection/group is tagged add
Render an ARCHITECTURE DELTA — a before→after comparison of two diagram IRs as ONE self-contained interactive HTML. Every service/connection/group is tagged added / removed / changed / unchanged; the viewer gets a Before / Delta / After toggle (added=green, removed=red, changed=amber). Layout is computed once over the union so nodes keep their position as you flip views. Pass the SAME service/connection/group shapes as generate_html_diagram, split into `before` and `after`.
diagram_rendertool Render an incremental draft to a self-contained HTML file, then discard the draft. Pass keep:true to keep the draft for further edits.
Render an incremental draft to a self-contained HTML file, then discard the draft. Pass keep:true to keep the draft for further edits.
diagram_rendertool Render an incremental draft to a self-contained HTML file, then discard the draft. Pass keep:true to keep the draft for further edits.
Render an incremental draft to a self-contained HTML file, then discard the draft. Pass keep:true to keep the draft for further edits.
export_diagramtool Export a .drawio file (from auto_generate_diagram / generate_diagram) to PNG/SVG/PDF. Requires the draw.io desktop CLI (optional dependency).
Export a .drawio file (from auto_generate_diagram / generate_diagram) to PNG/SVG/PDF. Requires the draw.io desktop CLI (optional dependency).
export_diagramtool Export a .drawio file (from auto_generate_diagram / generate_diagram) to PNG/SVG/PDF. Requires the draw.io desktop CLI (optional dependency).
Export a .drawio file (from auto_generate_diagram / generate_diagram) to PNG/SVG/PDF. Requires the draw.io desktop CLI (optional dependency).
export_diagram_jsontool Extract the diagram's elements as neutral JSON from a generated .html: { title, subtitle, region, direction, services[], connections[], groups[] }. This is the
Extract the diagram's elements as neutral JSON from a generated .html: { title, subtitle, region, direction, services[], connections[], groups[] }. This is the machine-readable handoff any downstream app consumes (e.g. aws-cost-app-mcp to price it, an inventory or docs generator). Each service carries its display name, role, category, and any authored config (iac/pricing metadata). No pricing or IaC is performed here — this server only draws the diagram and hands off its structure.
export_diagram_jsontool Extract the diagram's elements as neutral JSON from a generated .html: { title, subtitle, region, direction, services[], connections[], groups[] }. This is the
Extract the diagram's elements as neutral JSON from a generated .html: { title, subtitle, region, direction, services[], connections[], groups[] }. This is the machine-readable handoff any downstream app consumes (e.g. aws-cost-app-mcp to price it, an inventory or docs generator). Each service carries its display name, role, category, and any authored config (iac/pricing metadata). No pricing or IaC is performed here — this server only draws the diagram and hands off its structure.
export_iac_jsontool Extract an Infrastructure-as-Code handoff payload from a generated diagram's services and connections, for the official AWS IaC MCP (awslabs.aws-iac-mcp-server)
Extract an Infrastructure-as-Code handoff payload from a generated diagram's services and connections, for the official AWS IaC MCP (awslabs.aws-iac-mcp-server). This server does NOT generate IaC itself; it returns the architecture (resources + dependencies + any per-node config.iac) plus an instruction telling the agent to use the AWS IaC MCP's cdk_best_practices / search_cdk_samples_and_constructs and validate before deploy.
export_iac_jsontool Extract an Infrastructure-as-Code handoff payload from a generated diagram's services and connections, for the official AWS IaC MCP (awslabs.aws-iac-mcp-server)
Extract an Infrastructure-as-Code handoff payload from a generated diagram's services and connections, for the official AWS IaC MCP (awslabs.aws-iac-mcp-server). This server does NOT generate IaC itself; it returns the architecture (resources + dependencies + any per-node config.iac) plus an instruction telling the agent to use the AWS IaC MCP's cdk_best_practices / search_cdk_samples_and_constructs and validate before deploy.
generate_diagramtool Generate diagram with manual x/y positioning. Use auto_generate_diagram for automatic layout.
Generate diagram with manual x/y positioning. Use auto_generate_diagram for automatic layout.
generate_diagramtool Generate diagram with manual x/y positioning. Use auto_generate_diagram for automatic layout.
Generate diagram with manual x/y positioning. Use auto_generate_diagram for automatic layout.
generate_html_diagramtool Generate an interactive animated HTML diagram with React Flow in ONE call. Nodes are draggable and clickable (detail modal), edges animate + carry label pills,
Generate an interactive animated HTML diagram with React Flow in ONE call. Nodes are draggable and clickable (detail modal), edges animate + carry label pills, optional guided walkthrough. Self-contained single HTML file. For staged assembly, use diagram_create + diagram_add_* + diagram_render instead.
generate_html_diagramtool Generate an interactive animated HTML diagram with React Flow in ONE call. Nodes are draggable and clickable (detail modal), edges animate + carry label pills,
Generate an interactive animated HTML diagram with React Flow in ONE call. Nodes are draggable and clickable (detail modal), edges animate + carry label pills, optional guided walkthrough. Self-contained single HTML file. For staged assembly, use diagram_create + diagram_add_* + diagram_render instead.
generate_sequence_diagramtool Generate an ANIMATED, self-contained HTML sequence diagram in ONE call (no CDN, opens under file://). Full UML vocabulary: lifelines with execution/activation b
Generate an ANIMATED, self-contained HTML sequence diagram in ONE call (no CDN, opens under file://). Full UML vocabulary: lifelines with execution/activation bars, sync (filled) / async (open) / reply (dashed) arrowheads, «create» & destroy(✕) messages, found/lost boundary dots, stick-figure actors, participant stereotypes, aggregation boxes (groups), and combined fragments (alt/opt/loop/par/break/critical/ref/neg/assert). Plays step by step: each message draws its arrow, active participants light up, and a synced side panel shows title/description/proof/code. For staged assembly use sequence_create + sequence_add_* + sequence_render. Lifeline icons auto-resolve from each participant's `service` (or explicit `icon`, e.g. tech-icons/vault.svg) — call resolve_icon to confirm.
generate_sequence_diagramtool Generate an ANIMATED, self-contained HTML sequence diagram in ONE call (no CDN, opens under file://). Full UML vocabulary: lifelines with execution/activation b
Generate an ANIMATED, self-contained HTML sequence diagram in ONE call (no CDN, opens under file://). Full UML vocabulary: lifelines with execution/activation bars, sync (filled) / async (open) / reply (dashed) arrowheads, «create» & destroy(✕) messages, found/lost boundary dots, stick-figure actors, participant stereotypes, aggregation boxes (groups), and combined fragments (alt/opt/loop/par/break/critical/ref/neg/assert). Plays step by step: each message draws its arrow, active participants light up, and a synced side panel shows title/description/proof/code. For staged assembly use sequence_create + sequence_add_* + sequence_render. Lifeline icons auto-resolve from each participant's `service` (or explicit `icon`, e.g. tech-icons/vault.svg) — call resolve_icon to confirm.
get_schematool Return one published contract of THIS running server, generated from its own definitions: a document schema (diagram, sequence, flow-workflow|dataflow|lifecycle
Return one published contract of THIS running server, generated from its own definitions: a document schema (diagram, sequence, flow-workflow|dataflow|lifecycle, typed/<kind>, typed-diagram, layout, layout-ref, components, spec, and the parts under diagram/, sequence/, flow/, layout/, common/), a tool's input (tools/<tool name>), or the OpenAPI 3.1 document (openapi). The same content is served as MCP resources schema://<name>.
get_schematool Return one published contract of THIS running server, generated from its own definitions: a document schema (diagram, sequence, flow-workflow|dataflow|lifecycle
Return one published contract of THIS running server, generated from its own definitions: a document schema (diagram, sequence, flow-workflow|dataflow|lifecycle, typed/<kind>, typed-diagram, layout, layout-ref, components, spec, and the parts under diagram/, sequence/, flow/, layout/, common/), a tool's input (tools/<tool name>), or the OpenAPI 3.1 document (openapi). The same content is served as MCP resources schema://<name>.
list_componentstool List the components a layout can mount: id, slot (dock, stepCard, nodeModal, header), built-in or custom, and what each does. Use describe_component for one com
List the components a layout can mount: id, slot (dock, stepCard, nodeModal, header), built-in or custom, and what each does. Use describe_component for one component's props schema.
list_componentstool List the components a layout can mount: id, slot (dock, stepCard, nodeModal, header), built-in or custom, and what each does. Use describe_component for one com
List the components a layout can mount: id, slot (dock, stepCard, nodeModal, header), built-in or custom, and what each does. Use describe_component for one component's props schema.
list_layoutstool List the layouts a spec can name in `layout`: the presets (default = the standard page, cost = cost estimate up front) and the saved layouts (DIAGRAM_LAYOUTS_DI
List the layouts a spec can name in `layout`: the presets (default = the standard page, cost = cost estimate up front) and the saved layouts (DIAGRAM_LAYOUTS_DIR or ~/.aws-architecture-diagram/layouts).
list_layoutstool List the layouts a spec can name in `layout`: the presets (default = the standard page, cost = cost estimate up front) and the saved layouts (DIAGRAM_LAYOUTS_DI
List the layouts a spec can name in `layout`: the presets (default = the standard page, cost = cost estimate up front) and the saved layouts (DIAGRAM_LAYOUTS_DIR or ~/.aws-architecture-diagram/layouts).
list_service_configstool List a service's IaC config fields (CDK/TF properties) — useful when authoring a node's config.iac. For pricing, hand the diagram off (export_diagram_json) to a
List a service's IaC config fields (CDK/TF properties) — useful when authoring a node's config.iac. For pricing, hand the diagram off (export_diagram_json) to a pricing app such as aws-cost-app-mcp.
list_service_configstool List a service's IaC config fields (CDK/TF properties) — useful when authoring a node's config.iac. For pricing, hand the diagram off (export_diagram_json) to a
List a service's IaC config fields (CDK/TF properties) — useful when authoring a node's config.iac. For pricing, hand the diagram off (export_diagram_json) to a pricing app such as aws-cost-app-mcp.
list_shapestool List common AWS4 drawio shape names for the .drawio path (auto_generate_diagram/generate_diagram, field `shape`). For the interactive HTML path use service disp
List common AWS4 drawio shape names for the .drawio path (auto_generate_diagram/generate_diagram, field `shape`). For the interactive HTML path use service display names + resolve_icon instead.
list_shapestool List common AWS4 drawio shape names for the .drawio path (auto_generate_diagram/generate_diagram, field `shape`). For the interactive HTML path use service disp
List common AWS4 drawio shape names for the .drawio path (auto_generate_diagram/generate_diagram, field `shape`). For the interactive HTML path use service display names + resolve_icon instead.
preview_layouttool Render a small generic diagram (edge, API, data; caption, walkthrough, cost link, two languages) with a layout, to see it without writing a spec.
Render a small generic diagram (edge, API, data; caption, walkthrough, cost link, two languages) with a layout, to see it without writing a spec.
preview_layouttool Render a small generic diagram (edge, API, data; caption, walkthrough, cost link, two languages) with a layout, to see it without writing a spec.
Render a small generic diagram (edge, API, data; caption, walkthrough, cost link, two languages) with a layout, to see it without writing a spec.
render_diagram_mediatool Rasterize an interactive diagram HTML (from generate_html_diagram / diagram_render) into publishable assets: a PNG @2x figure, an animated GIF, and/or an animat
Rasterize an interactive diagram HTML (from generate_html_diagram / diagram_render) into publishable assets: a PNG @2x figure, an animated GIF, and/or an animated SVG. GIF has two modes: 'flow' (the dots travelling the edges, one seamless loop) and 'walkthrough' (one animated segment PER guided beat/step, concatenated into a looping tour). The SVG is vector + STILL ANIMATED (the flow-dot SMIL is preserved) — sharp at any size and tiny to serve, but many CMSs incl. the AWS Blog/WordPress BLOCK svg upload, so use SVG for your OWN site/embed and GIF for WordPress. Use this to embed a diagram where JS can't run — blog post, PDF, email, slide. Needs headless Chromium (Playwright) and, for GIF, a full ffmpeg on PATH.
render_diagram_mediatool Rasterize an interactive diagram HTML (from generate_html_diagram / diagram_render) into publishable assets: a PNG @2x figure, an animated GIF, and/or an animat
Rasterize an interactive diagram HTML (from generate_html_diagram / diagram_render) into publishable assets: a PNG @2x figure, an animated GIF, and/or an animated SVG. GIF has two modes: 'flow' (the dots travelling the edges, one seamless loop) and 'walkthrough' (one animated segment PER guided beat/step, concatenated into a looping tour). The SVG is vector + STILL ANIMATED (the flow-dot SMIL is preserved) — sharp at any size and tiny to serve, but many CMSs incl. the AWS Blog/WordPress BLOCK svg upload, so use SVG for your OWN site/embed and GIF for WordPress. Use this to embed a diagram where JS can't run — blog post, PDF, email, slide. Needs headless Chromium (Playwright) and, for GIF, a full ffmpeg on PATH.
render_from_spectool Re-render a diagram from a spec file — the <name>.spec.json written next to every generated HTML, or any file with the generate_html_diagram input. Validates it
Re-render a diagram from a spec file — the <name>.spec.json written next to every generated HTML, or any file with the generate_html_diagram input. Validates it, applies its layout (or `layout` here), and writes the HTML, the elements JSON and (unless writeSpec:false or it is the input itself) the spec next to it.
render_from_spectool Re-render a diagram from a spec file — the <name>.spec.json written next to every generated HTML, or any file with the generate_html_diagram input. Validates it
Re-render a diagram from a spec file — the <name>.spec.json written next to every generated HTML, or any file with the generate_html_diagram input. Validates it, applies its layout (or `layout` here), and writes the HTML, the elements JSON and (unless writeSpec:false or it is the input itself) the spec next to it.
resolve_icontool Resolve an AWS service display name to its icon filename. Omit `service` to list all mapped services. The generator auto-resolves icons from service names, so p
Resolve an AWS service display name to its icon filename. Omit `service` to list all mapped services. The generator auto-resolves icons from service names, so passing `icon` in services is optional.
resolve_icontool Resolve an AWS service display name to its icon filename. Omit `service` to list all mapped services. The generator auto-resolves icons from service names, so p
Resolve an AWS service display name to its icon filename. Omit `service` to list all mapped services. The generator auto-resolves icons from service names, so passing `icon` in services is optional.
sequence_add_fragmentstool Append alt/opt/loop/par fragment boxes to a sequence draft. Shape: { kind, label, startId, endId, dividers?:[{beforeId,label}] } — anchored by event ids already
Append alt/opt/loop/par fragment boxes to a sequence draft. Shape: { kind, label, startId, endId, dividers?:[{beforeId,label}] } — anchored by event ids already added.
sequence_add_fragmentstool Append alt/opt/loop/par fragment boxes to a sequence draft. Shape: { kind, label, startId, endId, dividers?:[{beforeId,label}] } — anchored by event ids already
Append alt/opt/loop/par fragment boxes to a sequence draft. Shape: { kind, label, startId, endId, dividers?:[{beforeId,label}] } — anchored by event ids already added.
sequence_add_groupstool Append aggregation container boxes (PlantUML `box`) to a sequence draft — group contiguous participant columns under a labeled boundary. Shape: { label, partici
Append aggregation container boxes (PlantUML `box`) to a sequence draft — group contiguous participant columns under a labeled boundary. Shape: { label, participants:[ids], tone? }.
sequence_add_groupstool Append aggregation container boxes (PlantUML `box`) to a sequence draft — group contiguous participant columns under a labeled boundary. Shape: { label, partici
Append aggregation container boxes (PlantUML `box`) to a sequence draft — group contiguous participant columns under a labeled boundary. Shape: { label, participants:[ids], tone? }.
sequence_add_messagestool Append message steps to a sequence draft (reveal order = call order across all add calls). Shape: { id, from, to, label?, arrow?('sync'|'async'|'reply'), create
Append message steps to a sequence draft (reveal order = call order across all add calls). Shape: { id, from, to, label?, arrow?('sync'|'async'|'reply'), create?, destroy?, found?, lost?, activate?, deactivate?, tone?, badge?, title?, flow?, desc?, proof?, code?, codeLabel? }. arrow: sync=filled head, async=open head, reply=dashed open head.
sequence_add_messagestool Append message steps to a sequence draft (reveal order = call order across all add calls). Shape: { id, from, to, label?, arrow?('sync'|'async'|'reply'), create
Append message steps to a sequence draft (reveal order = call order across all add calls). Shape: { id, from, to, label?, arrow?('sync'|'async'|'reply'), create?, destroy?, found?, lost?, activate?, deactivate?, tone?, badge?, title?, flow?, desc?, proof?, code?, codeLabel? }. arrow: sync=filled head, async=open head, reply=dashed open head.
sequence_add_notestool Append note bands (phase markers / asides) to a sequence draft, interleaved in reveal order. Shape: { id, over:[participantIds], label, tone?, badge?, title?, f
Append note bands (phase markers / asides) to a sequence draft, interleaved in reveal order. Shape: { id, over:[participantIds], label, tone?, badge?, title?, flow?, desc?, proof? }.
sequence_add_notestool Append note bands (phase markers / asides) to a sequence draft, interleaved in reveal order. Shape: { id, over:[participantIds], label, tone?, badge?, title?, f
Append note bands (phase markers / asides) to a sequence draft, interleaved in reveal order. Shape: { id, over:[participantIds], label, tone?, badge?, title?, flow?, desc?, proof? }.
sequence_add_participantstool Append lifeline participants to a sequence draft. Shape: { id, label, sub?, service?, icon?, actor? }. Order = left→right column order.
Append lifeline participants to a sequence draft. Shape: { id, label, sub?, service?, icon?, actor? }. Order = left→right column order.
sequence_add_participantstool Append lifeline participants to a sequence draft. Shape: { id, label, sub?, service?, icon?, actor? }. Order = left→right column order.
Append lifeline participants to a sequence draft. Shape: { id, label, sub?, service?, icon?, actor? }. Order = left→right column order.
sequence_createtool Start an incremental sequence-diagram draft. Returns a sequenceId; feed it to sequence_add_participants / sequence_add_messages / sequence_add_notes / sequence_
Start an incremental sequence-diagram draft. Returns a sequenceId; feed it to sequence_add_participants / sequence_add_messages / sequence_add_notes / sequence_add_fragments / sequence_add_groups in any order, then sequence_render to write the animated HTML.
sequence_createtool Start an incremental sequence-diagram draft. Returns a sequenceId; feed it to sequence_add_participants / sequence_add_messages / sequence_add_notes / sequence_
Start an incremental sequence-diagram draft. Returns a sequenceId; feed it to sequence_add_participants / sequence_add_messages / sequence_add_notes / sequence_add_fragments / sequence_add_groups in any order, then sequence_render to write the animated HTML.
sequence_rendertool Render an incremental sequence draft to a self-contained animated HTML file, then discard the draft. Pass keep:true to keep it for further edits.
Render an incremental sequence draft to a self-contained animated HTML file, then discard the draft. Pass keep:true to keep it for further edits.
sequence_rendertool Render an incremental sequence draft to a self-contained animated HTML file, then discard the draft. Pass keep:true to keep it for further edits.
Render an incremental sequence draft to a self-contained animated HTML file, then discard the draft. Pass keep:true to keep it for further edits.
setup_iconstool Install the AWS Architecture Icons (once per machine) so diagrams render real service icons instead of category-colored initials. Call this when a generate/vali
Install the AWS Architecture Icons (once per machine) so diagrams render real service icons instead of category-colored initials. Call this when a generate/validate result reports unresolved icons. With no argument it picks up the newest Icon-package*.zip (or older Asset-Package*.zip) from ~/Downloads/~/Desktop; if none is there, it returns the download instructions to relay to the user. Icons install to ~/.aws-architecture-icons and are shared by every copy of this server.
setup_iconstool Install the AWS Architecture Icons (once per machine) so diagrams render real service icons instead of category-colored initials. Call this when a generate/vali
Install the AWS Architecture Icons (once per machine) so diagrams render real service icons instead of category-colored initials. Call this when a generate/validate result reports unresolved icons. With no argument it picks up the newest Icon-package*.zip (or older Asset-Package*.zip) from ~/Downloads/~/Desktop; if none is there, it returns the download instructions to relay to the user. Icons install to ~/.aws-architecture-icons and are shared by every copy of this server.
update_layouttool Change a saved layout: append `patch` ops and/or replace top-level keys with `set` (null deletes a key). Validated before saving.
Change a saved layout: append `patch` ops and/or replace top-level keys with `set` (null deletes a key). Validated before saving.
update_layouttool Change a saved layout: append `patch` ops and/or replace top-level keys with `set` (null deletes a key). Validated before saving.
Change a saved layout: append `patch` ops and/or replace top-level keys with `set` (null deletes a key). Validated before saving.
validate_diagramtool Validate a diagram IR (services + connections + groups + steps) for well-formedness — orphan nodes, dangling connection endpoints, duplicate ids, missing icons,
Validate a diagram IR (services + connections + groups + steps) for well-formedness — orphan nodes, dangling connection endpoints, duplicate ids, missing icons, broken parent references, group cycles, and unreachable/dangling walkthrough steps. Returns a structured report with STABLE rule codes and, when repair=true (default), the auto-repaired IR plus a receipt of every change. The render tools (generate_html_diagram / diagram_render) run this same pass automatically; call this to lint first or in CI.
validate_diagramtool Validate a diagram IR (services + connections + groups + steps) for well-formedness — orphan nodes, dangling connection endpoints, duplicate ids, missing icons,
Validate a diagram IR (services + connections + groups + steps) for well-formedness — orphan nodes, dangling connection endpoints, duplicate ids, missing icons, broken parent references, group cycles, and unreachable/dangling walkthrough steps. Returns a structured report with STABLE rule codes and, when repair=true (default), the auto-repaired IR plus a receipt of every change. The render tools (generate_html_diagram / diagram_render) run this same pass automatically; call this to lint first or in CI.
validate_layouttool Resolve a layout without rendering: checks component ids, slots, props, extends chain and files, and reports the components per slot and whether it needs a bund
Resolve a layout without rendering: checks component ids, slots, props, extends chain and files, and reports the components per slot and whether it needs a bundle (custom components).
validate_layouttool Resolve a layout without rendering: checks component ids, slots, props, extends chain and files, and reports the components per slot and whether it needs a bund
Resolve a layout without rendering: checks component ids, slots, props, extends chain and files, and reports the components per slot and whether it needs a bundle (custom components).

Text the model reads (94)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

(name computed at run time) tool
auto_generate_diagram tool
Generate a fully positioned AWS architecture .drawio diagram. Computes layout, container sizing, badge positions, and edge routing with the SAME ELK compound engine as the interactive HTML — no manual x/y. Containers: pass `groups` + services' `parentId` for arbitrary nesting (multi-VPC, accounts, AZs, on-prem), OR just `subnet` on services for the classic single AWS Cloud → VPC → public/private subnet tree.
generate_diagram tool
Generate diagram with manual x/y positioning. Use auto_generate_diagram for automatic layout.
generate_html_diagram tool
Generate an interactive animated HTML diagram with React Flow in ONE call. Nodes are draggable and clickable (detail modal), edges animate + carry label pills, optional guided walkthrough. Self-contained single HTML file. For staged assembly, use diagram_create + diagram_add_* + diagram_render instead.
validate_diagram tool
Validate a diagram IR (services + connections + groups + steps) for well-formedness — orphan nodes, dangling connection endpoints, duplicate ids, missing icons, broken parent references, group cycles, and unreachable/dangling walkthrough steps. Returns a structured report with STABLE rule codes and, when repair=true (default), the auto-repaired IR plus a receipt of every change. The render tools (generate_html_diagram / diagram_render) run this same pass automatically; call this to lint first or in CI.
diagram_delta tool
Render an ARCHITECTURE DELTA — a before→after comparison of two diagram IRs as ONE self-contained interactive HTML. Every service/connection/group is tagged added / removed / changed / unchanged; the viewer gets a Before / Delta / After toggle (added=green, removed=red, changed=amber). Layout is computed once over the union so nodes keep their position as you flip views. Pass the SAME service/connection/group shapes as generate_html_diagram, split into `before` and `after`.
list_components tool
List the components a layout can mount: id, slot (dock, stepCard, nodeModal, header), built-in or custom, and what each does. Use describe_component for one component's props schema.
describe_component tool
One component of the catalog, with the JSON Schema of its props.
list_layouts tool
List the layouts a spec can name in `layout`: the presets (default = the standard page, cost = cost estimate up front) and the saved layouts (DIAGRAM_LAYOUTS_DIR or ~/.aws-architecture-diagram/layouts).
create_layout tool
Save a layout under a name so specs can use it as `layout: "<name>"`. Start from a preset with `extends` and change it with `patch` (add / remove / move / replace a component, or set its props), or give whole `slots`; add `theme` tokens, a CSS file and `branding` (local logo/favicon files, inlined). Validated before saving; presets are read-only.
update_layout tool
Change a saved layout: append `patch` ops and/or replace top-level keys with `set` (null deletes a key). Validated before saving.
validate_layout tool
Resolve a layout without rendering: checks component ids, slots, props, extends chain and files, and reports the components per slot and whether it needs a bundle (custom components).
preview_layout tool
Render a small generic diagram (edge, API, data; caption, walkthrough, cost link, two languages) with a layout, to see it without writing a spec.
build_bundle tool
Build the page that includes a layout's custom components (Vite build of the standalone page, cached by a hash of the components, the base page and the package version). Layouts with only built-in components need no build. Requires a clone of the repository with dev dependencies installed; the npm package cannot build.
render_from_spec tool
Re-render a diagram from a spec file — the <name>.spec.json written next to every generated HTML, or any file with the generate_html_diagram input. Validates it, applies its layout (or `layout` here), and writes the HTML, the elements JSON and (unless writeSpec:false or it is the input itself) the spec next to it.
export_diagram tool
Export a .drawio file (from auto_generate_diagram / generate_diagram) to PNG/SVG/PDF. Requires the draw.io desktop CLI (optional dependency).
render_diagram_media tool
Rasterize an interactive diagram HTML (from generate_html_diagram / diagram_render) into publishable assets: a PNG @2x figure, an animated GIF, and/or an animated SVG. GIF has two modes: 'flow' (the dots travelling the edges, one seamless loop) and 'walkthrough' (one animated segment PER guided beat/step, concatenated into a looping tour). The SVG is vector + STILL ANIMATED (the flow-dot SMIL is preserved) — sharp at any size and tiny to serve, but many CMSs incl. the AWS Blog/WordPress BLOCK svg upload, so use SVG for your OWN site/embed and GIF for WordPress. Use this to embed a diagram where JS can't run — blog post, PDF, email, slide. Needs headless Chromium (Playwright) and, for GIF, a full ffmpeg on PATH.
list_service_configs tool
List a service's IaC config fields (CDK/TF properties) — useful when authoring a node's config.iac. For pricing, hand the diagram off (export_diagram_json) to a pricing app such as aws-cost-app-mcp.
export_diagram_json tool
Extract the diagram's elements as neutral JSON from a generated .html: { title, subtitle, region, direction, services[], connections[], groups[] }. This is the machine-readable handoff any downstream app consumes (e.g. aws-cost-app-mcp to price it, an inventory or docs generator). Each service carries its display name, role, category, and any authored config (iac/pricing metadata). No pricing or IaC is performed here — this server only draws the diagram and hands off its structure.
export_iac_json tool
Extract an Infrastructure-as-Code handoff payload from a generated diagram's services and connections, for the official AWS IaC MCP (awslabs.aws-iac-mcp-server). This server does NOT generate IaC itself; it returns the architecture (resources + dependencies + any per-node config.iac) plus an instruction telling the agent to use the AWS IaC MCP's cdk_best_practices / search_cdk_samples_and_constructs and validate before deploy.
list_shapes tool
List common AWS4 drawio shape names for the .drawio path (auto_generate_diagram/generate_diagram, field `shape`). For the interactive HTML path use service display names + resolve_icon instead.
resolve_icon tool
Resolve an AWS service display name to its icon filename. Omit `service` to list all mapped services. The generator auto-resolves icons from service names, so passing `icon` in services is optional.
setup_icons tool
Install the AWS Architecture Icons (once per machine) so diagrams render real service icons instead of category-colored initials. Call this when a generate/validate result reports unresolved icons. With no argument it picks up the newest Icon-package*.zip (or older Asset-Package*.zip) from ~/Downloads/~/Desktop; if none is there, it returns the download instructions to relay to the user. Icons install to ~/.aws-architecture-icons and are shared by every copy of this server.
diagram_create tool
Start an incremental diagram draft. Returns a draftId; feed it to diagram_add_services / diagram_add_connections / diagram_add_groups / diagram_add_steps in any order, then diagram_render to write the HTML. Use this when building a diagram in stages; use generate_html_diagram for a single-shot build.
diagram_add_services tool
Append services (nodes) to a draft. Same service shape as generate_html_diagram: { id, service, shape, category, icon?, role?, parentId?, subnet?, config? }.
diagram_add_connections tool
Append connections (edges) to a draft. Same shape as generate_html_diagram: { id, source, target, label?, type?, dashed? }.
diagram_add_groups tool
Append container groups to a draft. Same shape as generate_html_diagram: { id, label, parent?, variant?, icon? }.
diagram_add_steps tool
Append guided-walkthrough beats to a draft. Same step shape as generate_html_diagram (tone/color/cardSide/nodes/edges/groups/eyebrow/icon/title/body/bullets/chips/sections…).
diagram_add_sequence tool
Attach an animated UML SEQUENCE view to a draft (participants + ordered messages, alt/opt/loop fragments, notes). The rendered HTML becomes a two-tab document: Architecture + Sequence. Call once per sequence tab; pass `tabLabel` to name the tab.
diagram_add_doc_tab tool
Attach a prose tab (readable sections: title + body + bullets + code) to a draft — the written companion to the architecture and sequence tabs in the same self-contained file.
diagram_render tool
Render an incremental draft to a self-contained HTML file, then discard the draft. Pass keep:true to keep the draft for further edits.
generate_sequence_diagram tool
Generate an ANIMATED, self-contained HTML sequence diagram in ONE call (no CDN, opens under file://). Full UML vocabulary: lifelines with execution/activation bars, sync (filled) / async (open) / reply (dashed) arrowheads, «create» & destroy(✕) messages, found/lost boundary dots, stick-figure actors, participant stereotypes, aggregation boxes (groups), and combined fragments (alt/opt/loop/par/break/critical/ref/neg/assert). Plays step by step: each message draws its arrow, active participants light up, and a synced side panel shows title/description/proof/code. For staged assembly use sequence_create + sequence_add_* + sequence_render. Lifeline icons auto-resolve from each participant's `service` (or explicit `icon`, e.g. tech-icons/vault.svg) — call resolve_icon to confirm.
sequence_create tool
Start an incremental sequence-diagram draft. Returns a sequenceId; feed it to sequence_add_participants / sequence_add_messages / sequence_add_notes / sequence_add_fragments / sequence_add_groups in any order, then sequence_render to write the animated HTML.
sequence_add_participants tool
Append lifeline participants to a sequence draft. Shape: { id, label, sub?, service?, icon?, actor? }. Order = left→right column order.
sequence_add_messages tool
Append message steps to a sequence draft (reveal order = call order across all add calls). Shape: { id, from, to, label?, arrow?('sync'|'async'|'reply'), create?, destroy?, found?, lost?, activate?, deactivate?, tone?, badge?, title?, flow?, desc?, proof?, code?, codeLabel? }. arrow: sync=filled head, async=open head, reply=dashed open head.
sequence_add_notes tool
Append note bands (phase markers / asides) to a sequence draft, interleaved in reveal order. Shape: { id, over:[participantIds], label, tone?, badge?, title?, flow?, desc?, proof? }.
sequence_add_fragments tool
Append alt/opt/loop/par fragment boxes to a sequence draft. Shape: { kind, label, startId, endId, dividers?:[{beforeId,label}] } — anchored by event ids already added.
sequence_add_groups tool
Append aggregation container boxes (PlantUML `box`) to a sequence draft — group contiguous participant columns under a labeled boundary. Shape: { label, participants:[ids], tone? }.
sequence_render tool
Render an incremental sequence draft to a self-contained animated HTML file, then discard the draft. Pass keep:true to keep it for further edits.
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
get_schema tool
Return one published contract of THIS running server, generated from its own definitions: a document schema (diagram, sequence, flow-workflow|dataflow|lifecycle, typed/<kind>, typed-diagram, layout, layout-ref, components, spec, and the parts under diagram/, sequence/, flow/, layout/, common/), a tool's input (tools/<tool name>), or the OpenAPI 3.1 document (openapi). The same content is served as MCP resources schema://<name>.
get_schema tool
Return one published contract of THIS running server, generated from its own definitions: a document schema (diagram, sequence, flow-workflow|dataflow|lifecycle, typed/<kind>, typed-diagram, layout, layout-ref, components, spec, and the parts under diagram/, sequence/, flow/, layout/, common/), a tool's input (tools/<tool name>), or the OpenAPI 3.1 document (openapi). The same content is served as MCP resources schema://<name>.
(name computed at run time) tool
auto_generate_diagram tool
Generate a fully positioned AWS architecture .drawio diagram. Computes layout, container sizing, badge positions, and edge routing with the SAME ELK compound engine as the interactive HTML — no manual x/y. Containers: pass `groups` + services' `parentId` for arbitrary nesting (multi-VPC, accounts, AZs, on-prem), OR just `subnet` on services for the classic single AWS Cloud → VPC → public/private subnet tree.
generate_diagram tool
Generate diagram with manual x/y positioning. Use auto_generate_diagram for automatic layout.
generate_html_diagram tool
Generate an interactive animated HTML diagram with React Flow in ONE call. Nodes are draggable and clickable (detail modal), edges animate + carry label pills, optional guided walkthrough. Self-contained single HTML file. For staged assembly, use diagram_create + diagram_add_* + diagram_render instead.
validate_diagram tool
Validate a diagram IR (services + connections + groups + steps) for well-formedness — orphan nodes, dangling connection endpoints, duplicate ids, missing icons, broken parent references, group cycles, and unreachable/dangling walkthrough steps. Returns a structured report with STABLE rule codes and, when repair=true (default), the auto-repaired IR plus a receipt of every change. The render tools (generate_html_diagram / diagram_render) run this same pass automatically; call this to lint first or in CI.
diagram_delta tool
Render an ARCHITECTURE DELTA — a before→after comparison of two diagram IRs as ONE self-contained interactive HTML. Every service/connection/group is tagged added / removed / changed / unchanged; the viewer gets a Before / Delta / After toggle (added=green, removed=red, changed=amber). Layout is computed once over the union so nodes keep their position as you flip views. Pass the SAME service/connection/group shapes as generate_html_diagram, split into `before` and `after`.
diagram_create tool
Start an incremental diagram draft. Returns a draftId; feed it to diagram_add_services / diagram_add_connections / diagram_add_groups / diagram_add_steps in any order, then diagram_render to write the HTML. Use this when building a diagram in stages; use generate_html_diagram for a single-shot build.
diagram_add_services tool
Append services (nodes) to a draft. Same service shape as generate_html_diagram: { id, service, shape, category, icon?, role?, parentId?, subnet?, config? }.
diagram_add_connections tool
Append connections (edges) to a draft. Same shape as generate_html_diagram: { id, source, target, label?, type?, dashed? }.
diagram_add_groups tool
Append container groups to a draft. Same shape as generate_html_diagram: { id, label, parent?, variant?, icon? }.
diagram_add_steps tool
Append guided-walkthrough beats to a draft. Same step shape as generate_html_diagram (tone/color/cardSide/nodes/edges/groups/eyebrow/icon/title/body/bullets/chips/sections…).
diagram_add_sequence tool
Attach an animated UML SEQUENCE view to a draft (participants + ordered messages, alt/opt/loop fragments, notes). The rendered HTML becomes a two-tab document: Architecture + Sequence. Call once per sequence tab; pass `tabLabel` to name the tab.
diagram_add_doc_tab tool
Attach a prose tab (readable sections: title + body + bullets + code) to a draft — the written companion to the architecture and sequence tabs in the same self-contained file.
diagram_render tool
Render an incremental draft to a self-contained HTML file, then discard the draft. Pass keep:true to keep the draft for further edits.
list_service_configs tool
List a service's IaC config fields (CDK/TF properties) — useful when authoring a node's config.iac. For pricing, hand the diagram off (export_diagram_json) to a pricing app such as aws-cost-app-mcp.
export_diagram_json tool
Extract the diagram's elements as neutral JSON from a generated .html: { title, subtitle, region, direction, services[], connections[], groups[] }. This is the machine-readable handoff any downstream app consumes (e.g. aws-cost-app-mcp to price it, an inventory or docs generator). Each service carries its display name, role, category, and any authored config (iac/pricing metadata). No pricing or IaC is performed here — this server only draws the diagram and hands off its structure.
export_iac_json tool
Extract an Infrastructure-as-Code handoff payload from a generated diagram's services and connections, for the official AWS IaC MCP (awslabs.aws-iac-mcp-server). This server does NOT generate IaC itself; it returns the architecture (resources + dependencies + any per-node config.iac) plus an instruction telling the agent to use the AWS IaC MCP's cdk_best_practices / search_cdk_samples_and_constructs and validate before deploy.
list_shapes tool
List common AWS4 drawio shape names for the .drawio path (auto_generate_diagram/generate_diagram, field `shape`). For the interactive HTML path use service display names + resolve_icon instead.
resolve_icon tool
Resolve an AWS service display name to its icon filename. Omit `service` to list all mapped services. The generator auto-resolves icons from service names, so passing `icon` in services is optional.
setup_icons tool
Install the AWS Architecture Icons (once per machine) so diagrams render real service icons instead of category-colored initials. Call this when a generate/validate result reports unresolved icons. With no argument it picks up the newest Icon-package*.zip (or older Asset-Package*.zip) from ~/Downloads/~/Desktop; if none is there, it returns the download instructions to relay to the user. Icons install to ~/.aws-architecture-icons and are shared by every copy of this server.
export_diagram tool
Export a .drawio file (from auto_generate_diagram / generate_diagram) to PNG/SVG/PDF. Requires the draw.io desktop CLI (optional dependency).
render_diagram_media tool
Rasterize an interactive diagram HTML (from generate_html_diagram / diagram_render) into publishable assets: a PNG @2x figure, an animated GIF, and/or an animated SVG. GIF has two modes: 'flow' (the dots travelling the edges, one seamless loop) and 'walkthrough' (one animated segment PER guided beat/step, concatenated into a looping tour). The SVG is vector + STILL ANIMATED (the flow-dot SMIL is preserved) — sharp at any size and tiny to serve, but many CMSs incl. the AWS Blog/WordPress BLOCK svg upload, so use SVG for your OWN site/embed and GIF for WordPress. Use this to embed a diagram where JS can't run — blog post, PDF, email, slide. Needs headless Chromium (Playwright) and, for GIF, a full ffmpeg on PATH.
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
list_components tool
List the components a layout can mount: id, slot (dock, stepCard, nodeModal, header), built-in or custom, and what each does. Use describe_component for one component's props schema.
describe_component tool
One component of the catalog, with the JSON Schema of its props.
list_layouts tool
List the layouts a spec can name in `layout`: the presets (default = the standard page, cost = cost estimate up front) and the saved layouts (DIAGRAM_LAYOUTS_DIR or ~/.aws-architecture-diagram/layouts).
create_layout tool
Save a layout under a name so specs can use it as `layout: "<name>"`. Start from a preset with `extends` and change it with `patch` (add / remove / move / replace a component, or set its props), or give whole `slots`; add `theme` tokens, a CSS file and `branding` (local logo/favicon files, inlined). Validated before saving; presets are read-only.
update_layout tool
Change a saved layout: append `patch` ops and/or replace top-level keys with `set` (null deletes a key). Validated before saving.
validate_layout tool
Resolve a layout without rendering: checks component ids, slots, props, extends chain and files, and reports the components per slot and whether it needs a bundle (custom components).
preview_layout tool
Render a small generic diagram (edge, API, data; caption, walkthrough, cost link, two languages) with a layout, to see it without writing a spec.
build_bundle tool
Build the page that includes a layout's custom components (Vite build of the standalone page, cached by a hash of the components, the base page and the package version). Layouts with only built-in components need no build. Requires a clone of the repository with dev dependencies installed; the npm package cannot build.
render_from_spec tool
Re-render a diagram from a spec file — the <name>.spec.json written next to every generated HTML, or any file with the generate_html_diagram input. Validates it, applies its layout (or `layout` here), and writes the HTML, the elements JSON and (unless writeSpec:false or it is the input itself) the spec next to it.
generate_sequence_diagram tool
Generate an ANIMATED, self-contained HTML sequence diagram in ONE call (no CDN, opens under file://). Full UML vocabulary: lifelines with execution/activation bars, sync (filled) / async (open) / reply (dashed) arrowheads, «create» & destroy(✕) messages, found/lost boundary dots, stick-figure actors, participant stereotypes, aggregation boxes (groups), and combined fragments (alt/opt/loop/par/break/critical/ref/neg/assert). Plays step by step: each message draws its arrow, active participants light up, and a synced side panel shows title/description/proof/code. For staged assembly use sequence_create + sequence_add_* + sequence_render. Lifeline icons auto-resolve from each participant's `service` (or explicit `icon`, e.g. tech-icons/vault.svg) — call resolve_icon to confirm.
sequence_create tool
Start an incremental sequence-diagram draft. Returns a sequenceId; feed it to sequence_add_participants / sequence_add_messages / sequence_add_notes / sequence_add_fragments / sequence_add_groups in any order, then sequence_render to write the animated HTML.
sequence_add_participants tool
Append lifeline participants to a sequence draft. Shape: { id, label, sub?, service?, icon?, actor? }. Order = left→right column order.
sequence_add_messages tool
Append message steps to a sequence draft (reveal order = call order across all add calls). Shape: { id, from, to, label?, arrow?('sync'|'async'|'reply'), create?, destroy?, found?, lost?, activate?, deactivate?, tone?, badge?, title?, flow?, desc?, proof?, code?, codeLabel? }. arrow: sync=filled head, async=open head, reply=dashed open head.
sequence_add_notes tool
Append note bands (phase markers / asides) to a sequence draft, interleaved in reveal order. Shape: { id, over:[participantIds], label, tone?, badge?, title?, flow?, desc?, proof? }.
sequence_add_fragments tool
Append alt/opt/loop/par fragment boxes to a sequence draft. Shape: { kind, label, startId, endId, dividers?:[{beforeId,label}] } — anchored by event ids already added.
sequence_add_groups tool
Append aggregation container boxes (PlantUML `box`) to a sequence draft — group contiguous participant columns under a labeled boundary. Shape: { label, participants:[ids], tone? }.
sequence_render tool
Render an incremental sequence draft to a self-contained animated HTML file, then discard the draft. Pass keep:true to keep it for further edits.
(name computed at run time) resource
(name computed at run time) resource

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposurepartly traced
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 94 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 94 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 94 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 94 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 94 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 94 capabilities; 94 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 94 capabilities; 94 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 94 capabilities; 94 more call code the scanner could not follow, where it may happen
Where the code is: 94 handlers in 10 files at commit 2291dafa0fba
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    2 manifests: package.json, packages/diagram-core/package.json
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: packages/diagram-core/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies
    No production dependency with a known advisory
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    @modelcontextprotocol/sdk ^1.32.2
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 94 capabilities; 94 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (16 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDK@modelcontextprotocol/sdk ^1.32.2

The project's own security

Security policyyes SECURITY.md
Private reportingthe policy does not name a private channel
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-13
Signed releasesnot checked yet

Where it is published

Listed in1 catalog (github_search)
LicenseMIT-0
Created2026-07-21
Topicsarchitecture-diagrams aws claude-code diagrams drawio mcp model-context-protocol

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.