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

# Auth API

> Authentication gate for the MCP HTTP API

## Get Auth Status

```http theme={null}
GET /api/auth/status
```

Check whether authentication is enabled for the HTTP API.

```json theme={null}
{
  "enabled": false
}
```

## Enable Auth (Tauri IPC)

```javascript theme={null}
invoke('enable_auth')
```

Enables authentication on the MCP HTTP API. Once enabled, API requests require a valid token.

```json theme={null}
{
  "enabled": true,
  "token": "cb_xxxxxxxxxxxxxxxxxxxx"
}
```

<Warning>Save the token immediately -- it is only shown once. If lost, disable and re-enable auth to generate a new token.</Warning>

## Disable Auth (Tauri IPC)

```javascript theme={null}
invoke('disable_auth')
```

Disables authentication. All API requests will be accepted without a token.

```json theme={null}
{
  "enabled": false
}
```

## Get Auth Info (Tauri IPC)

```javascript theme={null}
invoke('get_auth_info')
```

Returns authentication details including the Claude CLI login status and API key information.
