mocli is the mogenius command-line tool. It ships an interactive Terminal UI (k9s-style navigation) and kubectl-style commands for scripting — browse resources, stream logs, open shells, and set up port-forwards, all from your terminal.
Two ways to connect
mocli reaches a cluster in one of two ways, and lists both side by side:
- mogenius platform — clusters connected to your mogenius organization through the operator. Authentication is handled by the platform, so you get secure access to any connected cluster from anywhere without a local kubeconfig.
- Local kubeconfig (direct access) — point
mocliat a kubeconfig context and go. No operator, nomocli loginrequired. Standard kubeconfig resolution applies, includingexeccredential plugins likeaws eks get-token.
What works where
Features a plain kubeconfig connection cannot provide are hidden rather than failing when you reach for them.Get started
Installation
Install
mocli, sign in (optional), and configure self-hosted or API-key access.Clusters & contexts
List every reachable cluster and pick a platform cluster or a kubeconfig context.
Terminal UI
Launch
mocli tui for a full-screen, k9s-style view of your cluster.CLI commands
kubectl-style verbs for scripting and automation.