Kvantis Cloud

v1.0.1
io.github.SwagerFeed/kvantis Checked 1 day ago Published 2 days ago

Deploy and manage VPS, CPU and GPU servers paid in crypto (Vultr, Hetzner, DigitalOcean, Linode).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_plans List plans

Server plans (Atom, Spark, Core, Turbo, Titan) with vCPU, RAM, disk, traffic, monthly and hourly price in USD and the region ids where each is available.

list_regions List regions

Data-center locations: region id, city, country and continent. Use the id as region_id in create_server.

list_os List operating systems

Installable operating systems (Ubuntu, Debian, AlmaLinux, Rocky, Fedora, CentOS, Windows) with their os_id. Windows adds a per-vCPU license fee.

list_servers List servers

All servers on the account with status, IP addresses, plan, region and price.

get_server Get server

One server: status (provisioning → active), IPv4/IPv6, login user, SSH host key fingerprint (to verify on first connect), plan and expiry.

ParameterTypeDescription
server_id *stringServer id from list_servers

get_balance Get balance

Account balance in USD, monthly cost of running servers and how long the balance lasts. Top-ups (crypto) are done in the dashboard.

create_server Create server

Deploy a new server and charge the first month from the balance. Ask the user to confirm plan, region and price first. Returns the server; poll get_server until status is "active" (1-5 minutes). The root password is shown in the dashboard; pass user_data (cloud-init) with an SSH key for key-based login. Repeating the same call within 10 minutes returns the same server instead of creating a duplicate; pass a different label or idempotency_key to create another identical server.

ParameterTypeDescription
os_id *integeros_id from list_os
plan_id *stringplanId from list_plans
region_id *stringRegion id from list_regions
backupsbooleanAutomatic backups (paid add-on)
ddosbooleanDDoS protection (paid add-on, Vultr, where available)
hostnamestringHostname set inside the OS (letters, digits, hyphens); defaults to the label
idempotency_keystringOptional unique key: repeating a call with the same key returns the same server instead of creating another
labelstringName shown in the dashboard
limited_userbooleanCreate sudo user "linuxuser" instead of root login
providerstringCloud provider (default vultr)
root_passwordstringOwn root password, 12-72 characters without spaces (optional)
user_datastringcloud-init (#cloud-config), e.g. with ssh_authorized_keys

reboot_server Reboot server

Restart a running server (like a power cycle) to apply kernel or config changes or recover a hung system. Disk, IP and data are kept; SSH is unavailable for about 30-90 seconds. The action is queued and returns at once; poll get_server until status is "active". Only for a running server — use start_server for a stopped one.

ParameterTypeDescription
server_id *stringServer id from list_servers

stop_server Stop server

Power off a running server (hard shutdown, like pulling the plug — stop services inside first if they need a clean shutdown). Disk, IP and data are kept. A stopped server is still billed by the hour; only destroy_server stops charges. The action is queued and returns at once; poll get_server until status is "stopped". Use start_server to power it back on.

ParameterTypeDescription
server_id *stringServer id from list_servers

start_server Start server

Power on a stopped server. Disk, IP and data are as they were. The action is queued and returns at once; poll get_server until status is "active" (usually under a minute), then connect over SSH. Fails on a server suspended for an unpaid balance (top up first) or held for abuse.

ParameterTypeDescription
server_id *stringServer id from list_servers

quote Price quote

Exact price of a server before creating it, with the same rules as create_server: plan, region, OS (Windows adds a per-vCPU license), backups and DDoS add-ons, VAT. Returns monthly and hourly price and what is charged right now. No charge and no key needed: call it and show the user the total before create_server.

ParameterTypeDescription
os_id *integeros_id from list_os
plan_id *stringplanId from list_plans
region_id *stringRegion id from list_regions
backupsbooleanInclude automatic backups (paid add-on)
ddosbooleanInclude DDoS protection (paid add-on, Vultr, where available)
providerstringCloud provider (default vultr)

list_currencies List top-up coins

Coins and networks accepted for balance top-ups (Bitcoin, Monero, Ethereum, USDT and USDC on several networks, Solana, TON and more): the code to pass to top_up, ticker, name and network. Minimum top-up is $10; some coins need more (top_up says how much). No key needed.

top_up Top up the balance

Create a crypto payment that adds USD to the account balance. Returns a deposit address, the exact coin amount, network and expiry: show them to the user, who sends the payment from their own wallet (nothing is paid automatically). Then poll get_payment until status is "finished" (the balance is credited). Before calling, ask the user to confirm they are not located in or acting for a sanctioned country, and pass sanctions_confirmed: true only after they do.

ParameterTypeDescription
amount_usd *stringAmount to credit in USD, e.g. "25" (minimum 10)
currency *stringCoin code from list_currencies, e.g. "usdttrc20", "btc", "xmr"
sanctions_confirmed *booleantrue only after the user confirmed they are not in or acting for a sanctioned country

get_payment Get payment

Status of a top-up created with top_up: waiting, confirming, then finished (balance credited), or expired / failed. Also repeats the deposit address and amount. Crypto confirmations usually take 2-30 minutes.

ParameterTypeDescription
payment_id *stringpaymentId returned by top_up

get_credentials Get login credentials

Login user (root or linuxuser) and password of a server, for SSH. This is a secret: show it only to the user and do not store or repeat it elsewhere. "stale": true means the user may have changed the password on the server since. Needs a full-access key; prefer SSH keys via user_data in create_server.

ParameterTypeDescription
server_id *stringServer id from list_servers

reinstall_server Reinstall server

Wipe the disk and install the same operating system again; the IP address, plan and price stay. ALL data on the server is lost, so confirm with the user. confirm_label must equal the server label exactly. The action is queued; poll get_server until status is "active" (a few minutes), then log in with get_credentials. A new SSH host key is generated.

ParameterTypeDescription
confirm_label *stringThe server label, repeated to confirm
server_id *stringServer id from list_servers

change_ip Change public IPv4

Give a running server a new public IPv4 address, keeping its disk and data (a disk snapshot is copied to a new instance in 5-15 minutes; on some providers the address is swapped in about a minute). The old IP is released for good. A one-time fee is charged from the balance (refunded if the change fails); at most once per 24 hours. confirm_label must equal the server label. Poll get_server until the new IP appears.

ParameterTypeDescription
confirm_label *stringThe server label, repeated to confirm
server_id *stringServer id from list_servers

destroy_server Destroy server

Permanently delete a server and ALL its data; billing for it stops. Irreversible — confirm with the user. confirm_label must equal the server label exactly (see get_server).

ParameterTypeDescription
confirm_label *stringThe server label, repeated to confirm
server_id *stringServer id from list_servers