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

# amika-server CLI reference

> Commands, flags, and examples for the amika-server binary.

## `amika-server`

*You only need to run this if you are self-hosting a "local-docker" control plane.*

Server that exposes the Amika API as a service.

```bash theme={null}
amika-server
amika-server -addr :9090
PORT=9090 amika-server
```

| Flag / Env          | Default | Description                                               |
| ------------------- | ------- | --------------------------------------------------------- |
| `-addr <host:port>` | `:8080` | Listen address                                            |
| `PORT` (env)        |         | Override listen address (mutually exclusive with `-addr`) |

The server provides OpenAPI documentation at `/openapi.json` and `/docs`.
