> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tai42.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# tai sub-mcp

> Register and inspect sub-MCP apps.

Register and inspect sub-MCP apps.

```console theme={null}
$ tai sub-mcp [OPTIONS] COMMAND [ARGS]...
```

## `tai sub-mcp delete`

Unregister a sub-MCP app.

Example: `tai sub-mcp delete billing`

```console theme={null}
$ tai sub-mcp delete [OPTIONS] SLUG
```

| Argument | Description                    |
| -------- | ------------------------------ |
| `SLUG`   | Sub-MCP app slug. *(required)* |

| Option                 | Description                            |
| ---------------------- | -------------------------------------- |
| `--json` / `--no-json` | Emit raw JSON instead of human tables. |

## `tai sub-mcp list`

List the registered sub-MCP apps and their tools.

Example: `tai sub-mcp list`

```console theme={null}
$ tai sub-mcp list [OPTIONS]
```

| Option                 | Description                            |
| ---------------------- | -------------------------------------- |
| `--json` / `--no-json` | Emit raw JSON instead of human tables. |

## `tai sub-mcp register`

Register (or reload) a sub-MCP app exposing the named tools under a slug.

Example: `tai sub-mcp register billing --tool invoice --tool refund`

```console theme={null}
$ tai sub-mcp register [OPTIONS] SLUG
```

| Argument | Description                                       |
| -------- | ------------------------------------------------- |
| `SLUG`   | Slug to mount the sub-MCP app under. *(required)* |

| Option                 | Description                            |
| ---------------------- | -------------------------------------- |
| `--tool` `TEXT`        | A tool name to expose (repeatable).    |
| `--json` / `--no-json` | Emit raw JSON instead of human tables. |
