# tanomis mcp connector set-status

Reference for tanomis mcp connector set-status: set a connector's lifecycle status (draft|active|degraded|disabled|retired).

Generated from the <code>tanomis</code> command tree on 2026-10-01. Flags and defaults match the binary; run <code>tanomis mcp connector set-status --help</code> for the version you have installed.

## Usage

```text title="Usage"
tanomis mcp connector set-status CONNECTOR_ID STATUS [flags]
```

## Description

Set a connector's lifecycle status through the registry's validated transition route.

The server is the only authorization opinion (manage:mcp-connectors or the armed workspace
capability) and enforces the transition rules; the CLI only refuses values outside the
vocabulary so a typo fails before a network call. The primary use is activating a delegated
connector: probe and discover never change a per-user connector's status, so activation is an
explicit operator action rather than a side effect of a health check.

disabled and retired take the connector away from every member and, where the gateway
provisioner is armed, tear down its data-plane routes — so both require `--yes`, like the other
verbs whose mistakes are felt by someone else.

## Flags

| Flag | Type | Description |
|---|---|---|
| `--yes` | bool | Confirm a disabled/retired transition without prompting. |

<details>
<summary>Global flags</summary>

| Flag | Type | Description |
|---|---|---|
| `--config` | string | Config file path. |
| `--context` | string | Config context to use. |
| `-o`, `--output` | string | Output format: table\|json. |
| `--tenant` | string | Tenant id (X-Tenant-ID). |
| `--verbose` | bool | Verbose output. |

</details>
