Skip to content

Commands ​

All of these come from the infra CLI in the plugin.

Status ​

CommandDoes
infra checklists which secrets are set and whether Coolify, Cloudflare, netcup and SSH respond
infra statusshows the server's power state and every Coolify resource with its health
infra r2shows R2 storage and operations against the free allowance
infra r2 guardthe same, but exits with code 3 when anything is over 80%

Server ​

CommandDoes
infra power statusRUNNING, SHUTOFF and so on
infra power on / offstart, or shut down cleanly
infra power hard-offcut the power
infra power rebootreboot from inside, over SSH
infra snapshot listlists snapshots
infra snapshot create NAME [DESC]offline snapshot, about 4 minutes down
infra snapshot revert NAMEroll back to it
infra snapshot delete NAMEdeletes it
infra netcup loginone-off device login to netcup's API

Access ​

CommandDoes
infra sshinteractive shell as stu
infra ssh 'cmd'runs one command
infra tunnelforwards localhost:8000 to Coolify, in case the domain is down

DNS and Coolify ​

CommandDoes
infra dns listlists the zone's records
infra dns add NAME [--no-proxy]adds an A record pointing at the server
infra dns rm NAMEremoves it
infra coolify GET /resourcesa raw Coolify API call
infra mcp-headersprints the auth headers the plugin's MCP connection uses

On the server ​

sh
sudo docker ps
sudo docker logs --tail 50 <container>
sudo docker exec claude-runner runner submit "prompt"
sudo ufw status
sudo fail2ban-client status sshd
sudo /usr/local/sbin/cf-origin-lock          # refresh the Cloudflare ranges now