---
name: arc-tech-architecture
description: Design, change or review system architecture in Arc-Tech over MCP. Use to map services, databases, DNS, cloud infrastructure and IoT fleets, model environments (development, staging, production), or document a running system as an Arc-Tech architecture design.
---
# Architecture in Arc-Tech

Reference with working JSON: https://arc-tech.dev/docs/build-architecture

## Build a new design

1. If you're documenting a real system, gather facts first (code, config, infrastructure files). Don't guess hosts, ports or versions. Leave a property out when you don't know it.
2. `create_design` with kind `architecture`. Its environments are `env-dev`, `env-staging` and `env-production`.
3. One `edit_design` call with `add_nodes` and `add_edges`:
   - columns from entry points (left) to data (right), about 280 apart, and about 140 between rows;
   - a `group` for each zone, with its members' `parentId` set to it and positions inside it;
   - base values in `properties`, and only what differs in `environments: { "<environment id>": { "overrides": {…} } }`;
   - `"enabled": false` where a component isn't deployed in an environment.
4. `render_design`, then once per environment.

## Component types

`dns`, `load_balancer`, `cdn`, `firewall`, `reverse_proxy`, `app_service`, `worker`, `function`, `vm`, `container_cluster`, `postgres`, `mysql`, `redis`, `object_storage`, `data_warehouse`, `queue`, `pubsub`, `webhook`, `external_api`, `api_gateway`, `auth_service`, `billing_service`, `notification_service`, `file_service`, `logs`, `metrics`, `monitoring`, `alerts`, `documentation`, `group`, `custom`

## Relationships

`depends_on`, `connects_to`, `reads_from`, `writes_to`, `routes_through`, `publishes_to`, `consumes_from`, `authenticates_with`, `stores_in`, `backed_by`

Point the connection the way the dependency goes: the API `writes_to` the database. Use `routes_through` for traffic passing on (DNS to load balancer, load balancer to service).

## Change an existing design

- Read it with `get_design`. Pass `environment` to see real values there.
- Change one component with `update_component`. Change many with `edit_design` and `update_nodes`, sending only the `id` and what changes.
- `null` in an environment means "use the base value".

## Review a design

Look for single points of failure, missing pieces (DNS, TLS, backups, monitoring, alerts), components missing from an environment, and values that differ where they shouldn't. Name the components. Suggest changes, but don't make them unless asked.

## Check before finishing

- Nothing overlaps, and every component is connected or intentionally alone.
- No secrets in any property.
- Status is honest: `draft` for planned, `active` for running, `deprecated` for going away.
