Neckrez

v1.5.0
io.github.Sauberr/neckrez Checked 2 days ago Published 14 hours ago

Rent and manage VPS, dedicated CPU, GPU and bare metal servers, paid in crypto.

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

get_account Account and balance

Balance, hourly spend, how long the balance lasts, servers against the account limit.

list_options Plans and prices

Plans with vCPU, RAM, disk, traffic, GPU, hourly and monthly price and the locations they deploy in, cheapest first. Filter by product, provider, location, GPU model and price.

ParameterTypeDescription
available_onlyboolean
gpustringe.g. A16, L40S, RTX 4000
limitinteger
locationstringLocation code, e.g. FRA
max_price_monthnumber
productstring
providerstring

list_locations Locations

Data center locations with codes, cities and countries.

ParameterTypeDescription
providerstring
regionstring

list_os Operating systems and apps

OS images with versions and one-click apps you can deploy.

ParameterTypeDescription
providerstring

quote Price quote

Price of an order and whether the balance covers the first hour.

ParameterTypeDescription
plan_id *string
countinteger
location_codestring
providerstring

create_server Create servers

Create 1 to 3 servers (OS or one-click app) and charge the first hour. Refuses and returns the price when the total is above max_hourly_usd (default $1/h).

ParameterTypeDescription
location_code *string
name *stringLatin letters, digits, . _ - (1-60)
plan_id *string
app_idstring
countinteger
firewallbooleanufw on at first boot with only 22, 80 and 443 open (plain Ubuntu/Debian; default true). false leaves every port open
max_hourly_usdnumber
os_idstringe.g. ubuntu, debian (default ubuntu)
os_versionstring
providerstring
ssh_keystringOpenSSH public key line

list_servers List servers

All servers with status, IPs, plan and an ssh command.

get_server Get a server

One server with its current status and addresses.

ParameterTypeDescription
server *stringServer id, id prefix or exact name

server_power Reboot, stop or start

Power actions. A stopped server is still billed.

ParameterTypeDescription
action *string
server *stringServer id, id prefix or exact name

get_root_password Root password

The login and root password of a server (stays in the chat history).

ParameterTypeDescription
server *stringServer id, id prefix or exact name

reset_root_password Reset root password

Set a new password for the server's login user without a reinstall, through the server's recovery key (Linux on Vultr, DigitalOcean, Linode). Random unless password is given. The server must be running.

ParameterTypeDescription
server *stringServer id, id prefix or exact name
passwordstringOptional, 12-72 chars, no spaces
portintegerSSH port, default 22

change_ip New public IPv4

Give a Vultr server a new IPv4, same data. Small fee and a cooldown. Needs confirm and the exact name.

ParameterTypeDescription
server *stringServer id, id prefix or exact name
confirmbooleanMust be true
namestringThe exact server name / backup label

destroy_server Destroy a server

Delete a server and its disk; billing stops. Needs confirm=true and the exact name.

ParameterTypeDescription
server *stringServer id, id prefix or exact name
confirmbooleanMust be true
namestringThe exact server name / backup label

get_rdns Reverse DNS

Current PTR records of the server's IPv4 and IPv6.

ParameterTypeDescription
server *stringServer id, id prefix or exact name

set_rdns Set reverse DNS

Set the PTR record of one of the server's IPs (Linode requires the name to resolve to the IP first).

ParameterTypeDescription
hostname *string
ip *string
server *stringServer id, id prefix or exact name

list_backups List backups

Snapshots kept 7 days.

create_backup Create a backup

Start a snapshot of a server (pending, then available).

ParameterTypeDescription
server *stringServer id, id prefix or exact name
labelstring

restore_backup Restore a backup

Create a NEW server from a backup (new IP); respects max_hourly_usd.

ParameterTypeDescription
backup_id *string
max_hourly_usdnumber

delete_backup Delete a backup

Delete a snapshot. Needs confirm=true and the exact label as name.

ParameterTypeDescription
backup_id *string
confirmbooleanMust be true
namestringThe exact server name / backup label

billing_history Billing history

Recent top-ups and charges.

ParameterTypeDescription
limitinteger

list_currencies Top-up coins

Coins the balance can be topped up with, the minimum in US dollars and VAT. Pass currency (an id) for that coin's exact minimum.

ParameterTypeDescription
currencystring

top_up Top up the balance

Create a crypto payment for the user to pay: returns the address, the exact amount, the network and the deadline. Nothing is charged until the user sends it. amount_usd is what the balance receives.

ParameterTypeDescription
amount_usd *number
currency *stringCoin id from list_currencies, e.g. usdtbsc

list_deposits List top-ups

The last 20 top-ups and their status.

support_read Read support chat

The account's support chat, newest last (is_staff = our side, the support AI included).

ParameterTypeDescription
limitinteger

support_send Write to support

Send a message to Neckrez support on the user's behalf (marked as sent by an AI assistant, at most 10 an hour). Replies appear in support_read.

ParameterTypeDescription
message *string

deposit_status Top-up status

Check a top-up live; it is credited to the balance as soon as the payment is confirmed.

ParameterTypeDescription
deposit_id *string