🎁 Try it for free - Get free credits instantly after registration!
  • Home
  • Blog
  • Meet scli — Our New Command-Line Utility for the ServersCamp API

Meet scli — Our New Command-Line Utility for the ServersCamp API


We’re excited to announce scli, our very own command-line client for the ServersCamp API.

With scli you can now manage your virtual servers straight from the terminal. The utility is already fully functional — you can create and delete servers, start and stop instances, import or generate SSH keys, and much more. Of course, you can also list and inspect server flavors (plans/tariffs), with neat table output for humans and JSON/CSV/TSV formats for automation.

Why a CLI?

We built scli to make automation and integration simpler. Whether you’re a developer setting up CI/CD pipelines or a power user who prefers the terminal, scli gives you a lightweight and flexible way to interact with ServersCamp services.

Key highlights:

  • Manage servers and SSH keys directly from the terminal
  • Clean tabular output for everyday use
  • Machine-friendly formats (JSON, CSV, TSV) for CI/CD pipelines
  • Sorting, filtering, and field selection
  • Easy installation on Linux and macOS

Examples

Listing instances

scli instances list
ID   NAME        STATUS   FLAVOR     IMAGE       IPV4            CREATED
──   ─────────   ──────   ────────  ─────────   ─────────────    ────────────────
57   web-prod    running  sc-mini   ubuntu24    192.168.1.101    2025-08-25 10:40
58   db-staging  stopped  sc-medium debian12    192.168.1.102    2025-08-25 11:02

Listing SSH keys

scli ssh-keys list
ID   NAME             FINGERPRINT
──   ──────────────   ──────────────────────────────
80   deploy-key       MD5:52:85:9b:1e:99:1c:ad:d8:69:6e:f9:32:c7:06:a0:fe
81   workstation-key  MD5:13:fa:77:42:dd:1a:af:1c:2e:8b:f1:87:42:c7:19:a3

Listing available flavors

scli flavors list
ID  NAME       VCORES  RAM (GB)  DISK (GB)  PRICE (EUR/per_month)
──  ─────────  ──────  ────────  ─────────  ─────────────────────
1   sc-micro        1         4         35                      5
2   sc-mini         2         8         70                     10
3   sc-medium       4        16        140                     20
4   sc-large        6        32        280                     40
5   sc-pro          8        64        540                     80
6   sc-max         12       128       1080                    160
7   sc-ultra       16       256       2160                    320

Filtering and sorting flavors

scli flavors --sort price --order desc --filter ram>=16
ID  NAME       VCORES  RAM (GB)  DISK (GB)  PRICE (EUR/per_month)
──  ─────────  ──────  ────────  ─────────  ─────────────────────
7   sc-ultra       16       256       2160                    320
6   sc-max         12       128       1080                    160
5   sc-pro          8        64        540                     80
3   sc-medium       4        16        140                     20

This shows only the larger plans (≥16 GB RAM), sorted by monthly price descending.

Together, these commands demonstrate how scli provides both human-friendly tables and machine-friendly outputs, making it equally useful for everyday workflows and for embedding into automation pipelines. The tool is fully extensible, and more functionality will continue to be added over time, covering areas like managing users, API keys, billing, and more.

Get Started