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

# ultra config

> Manage Ultra configuration

Set tokens, headers, and view configuration details.

## Usage

```bash theme={null}
ultra config <subcommand> [flags]
```

## Subcommands

### `set-token`

Set an authentication token (PAT, API key) for an MCP server. The token is stored as an `Authorization: Bearer` header.

```bash theme={null}
ultra config set-token <server-name> [token]
```

If the token is not provided as an argument, you'll be prompted to enter it securely (hidden input).

| Flag            | Short | Default | Description                   |
| --------------- | ----- | ------- | ----------------------------- |
| `--interactive` | `-i`  | `false` | Force interactive token input |

```bash theme={null}
# Set token interactively (recommended)
ultra config set-token github-mcp-server

# Set token directly (less secure — appears in shell history)
ultra config set-token github-mcp-server ghp_xxxxxxxxxxxx
```

### `set-header`

Set a custom HTTP header for an MCP server.

```bash theme={null}
ultra config set-header <server-name> <header-name> <header-value>
```

```bash theme={null}
# Set a custom API key header
ultra config set-header my-server X-API-Key abc123

# Set an authorization header manually
ultra config set-header my-server Authorization "Bearer xyz"
```

### `path`

Show the configuration file path.

```bash theme={null}
ultra config path
```

## Examples

```bash theme={null}
# Set a token for a server
ultra config set-token github-mcp-server YOUR_TOKEN

# Set a custom header
ultra config set-header linear "X-API-Key" YOUR_API_KEY

# Show current config path
ultra config path
```
