# create_component

> create_component, an Arc-Tech MCP tool. Add a component to an architecture design.

Source: https://arc-tech.dev/docs/tools/create_component

Add a component to an architecture design.

**Changes something.** Needs a read & write token, and a `reason`.

## Parameters

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `design_id` | string | Yes |  |
| `type` | string | Yes | One of: `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`. |
| `name` | string | Yes |  |
| `properties` | object | No | The base values, used by every environment. |
| `environments` | object | No | Per environment (by name or id): {"Staging": {"properties": {...}}, "Development": {"enabled": false}}. |
| `group_id` | string | No | A group component to put it in. |
| `version` | integer | No | The version you read; refused if it has changed since. |
| `reason` | string | Yes | Why, in one short sentence the team will read in the project’s activity log. |

## Example arguments

```json
{
  "design_id": "<design id>",
  "type": "dns",
  "name": "<name>",
  "reason": "Why, in one short sentence"
}
```

## Guide

See [Build architecture with AI](https://arc-tech.dev/md/build-architecture.md).

Every refusal says why, and nothing is saved. See [errors and limits](https://arc-tech.dev/md/errors.md).
