Reference
These pages list every command, endpoint, tool, setting and metric Zentri has. Each one is generated from the code that defines it, so it says what the code does.
| Page | What it covers |
|---|---|
| zt CLI | Every zt command and flag, and the exit codes. |
| zentri-server CLI | Every zentri-server command and flag. |
| MCP tools | Every tool the coordinator serves to agents over MCP, with its arguments. |
| Configuration | The CLI config file and the router settings file. |
| Environment variables | Every environment variable each program reads, with its default. |
| Metrics | Every Prometheus metric the coordinator exports. |
| HTTP API | Every endpoint of the coordinator’s HTTP API, rendered from its OpenAPI spec. |
How the pages stay current
Section titled “How the pages stay current”Go tests whose names start with TestReferenceDocs write the CLI, configuration, environment, MCP and metrics pages. Each test lives in the package that owns what it describes. make docs-gen runs them in write mode. Plain go test runs them in check mode, and fails when a page on disk differs from what the code produces, naming the page and the first line that differs.
The HTTP API pages come from server/internal/api/openapi.yaml when the site builds, so they need no generation step.
Paths on these pages use ~ for your home directory and name variables such as $XDG_CONFIG_HOME, so they read the same on every machine.