Loch CLI
loch manages one or more Loch Panel servers from a terminal. It also runs an MCP server, so an AI assistant can use the same features.
-
Connect it to a server:
loch config my-server --url https://panel-api.example.com # add an endpointloch use my-server # make it activeloch login # paste an API keyloch ps # list containers -
Optional: connect an AI assistant.
Every command and flag: command reference.
The configuration is stored in ~/.config/loch/config.yaml. Create the API key in the panel, under API keys. Its scopes decide which commands work.