CLI
The CLI is a thin client of the same Otter API the Docker web UI uses. It does not embed Postgres — start Docker first, then log in.
Prerequisites
- Run the platform stack (Self-host) so
http://127.0.0.1:8000is up. - Build or install the CLI from
apps/cli.
Login
otter login
# Browser → Otter GitHub App (Cloudflare broker) → ~/.otter/config.jsonSame Connect flow as the web UI. See GitHub.
Useful commands
otter repos list/otter repos import <url>otter chat/otter plan/otter reviewotter logout
MCP
After otter login, point your MCP client at python apps/mcp/server.py with OTTER_API_URL=http://127.0.0.1:8000. The server reads ~/.otter/config.json when OTTER_SESSION is unset.