EQVPS

Reseller API & MCP (white-label)

Build your own VPS brand on EQVPS: your plans, your prices, your clients. 30 reseller tools over the same MCP endpoint, authenticated with a reseller token (rk_).

Auth: get a reseller token (rk_…) in the Partners cabinet (API / MCP page) and send it as Authorization: Bearer rk_…. One MCP endpoint, role-filtered by token — a reseller token exposes the 30 reseller_* tools.

Typical flow

Create a plan, add a client, order a VM for them; deliver the access from your own brand.

// Reseller token (rk_...) from the Partners cabinet -> Authorization: Bearer rk_...
// One MCP endpoint, role-filtered: a reseller token exposes the 30 reseller_* tools.
reseller_create_plan({ name, cores, ram_gb, disk_gb, ipv4, ipv6, locations, markup_price })   // ipv4 0-4, ipv6 0-1, at least one
reseller_add_client({ email }) -> { client_id }
reseller_order_for_client({ plan_id, client_id, os_id? })   // os_id: see list_plans catalog
reseller_vm_details({ service_id }) -> { access, password }  // deliver to your client

os_id is optional — omit for the location's default OS. For a specific OS, use an os_id from the public list_plans catalog; it resolves to the right image per location.

Operating systems & os_id

14 Linux images are available (below). Pass os_id in reseller_order_for_client — take it from the public list_plans catalog. Note: available_os may list different ids per location; the os_id from list_plans resolves to the correct image for the plan's location. Omit os_id to use the location's default OS.

Ubuntu 24.04Ubuntu 22.04Ubuntu 20.04Debian 13Debian 12Debian 11AlmaLinux 9Rocky Linux 9CentOS 7Fedora 41openSUSE Leap 15.6Alpine LinuxArch LinuxCachyOS

VM statuses

active — running. provisioning — being created (brief async window right after ordering). suspended — paused (e.g. you suspended the client, or non-payment); reactivate with reseller_unsuspend_client. cancelled — terminated (VM removed).

Plans
reseller_list_plansList your white-label plans.
reseller_create_planCreate a Linux plan (vCPU/RAM/NVMe + IPv4 only, IPv4 + IPv6 or IPv6 only + your markup + location).
reseller_edit_planEdit a plan's spec or markup.
reseller_archive_planArchive a plan (hidden from ordering).
reseller_restore_planRestore an archived plan.
Clients
reseller_list_clientsList your end-clients.
reseller_add_clientAdd an end-client (returns client_id).
reseller_edit_clientEdit an end-client.
reseller_suspend_clientSuspend an end-client.
reseller_unsuspend_clientUnsuspend an end-client.
Order
reseller_order_for_clientOrder a VM for a client by plan_id + client_id. Spends your wholesale balance.
VMs
reseller_list_vmsList client VMs (your plan name + status).
reseller_service_statusProvisioning status of client VMs (active/provisioning/suspended).
reseller_vm_detailsVM details: IP/hostname/root password (white-label delivery). Reveals password once.
reseller_vm_powerStart/stop/reboot a client VM.
reseller_vm_set_hostnameSet a client VM hostname.
reseller_vm_reset_passwordReset a client VM root password (returns a new one).
reseller_vm_metricsCPU/RAM/network/disk over time.
reseller_vm_reinstallReinstall the OS on a client VM (destructive — wipes all data). Pick a new os_id from reseller_list_os.
reseller_vm_cancelTerminate a client VM.
OS
reseller_list_osList available OS images (os_id + name) for order/reinstall. Resolves per plan location.
Balance
reseller_check_balanceYour wholesale prepaid balance.
reseller_renewRenew a client VM for N months (1–24) — charges wholesale x N from your balance, extends expiry.
reseller_set_autorenewToggle auto-renew per VM (default ON): the system renews from your balance before expiry.
reseller_change_planUpgrade a client VM to another of your plans (prorated wholesale difference).
Tickets
reseller_create_ticketOpen a support ticket (optional service_id).
reseller_list_ticketsList your tickets.
reseller_get_ticketRead a ticket thread.
reseller_reply_ticketReply on a ticket.
reseller_close_ticketClose a ticket.

Connect any agent or tool

One MCP endpoint — mcp.eqvps.com/mcp — authenticated with your reseller token. Plug it into whatever you already use.

Claude Code
# Claude Code - add the reseller MCP server (token: Partners cabinet -> API)
claude mcp add --transport http eqvps-reseller https://mcp.eqvps.com/mcp \
  --header "Authorization: Bearer rk_YOUR_RESELLER_TOKEN"
Claude Desktop / Cursor / Windsurf
// Claude Desktop / Cursor / Windsurf - mcp.json
{
  "mcpServers": {
    "eqvps-reseller": {
      "type": "http",
      "url": "https://mcp.eqvps.com/mcp",
      "headers": { "Authorization": "Bearer rk_YOUR_RESELLER_TOKEN" }
    }
  }
}
LangChain / LangGraph
# LangChain / LangGraph (Python) - langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({"eqvps": {"transport": "streamable_http",
  "url": "https://mcp.eqvps.com/mcp",
  "headers": {"Authorization": "Bearer rk_YOUR_RESELLER_TOKEN"}}})
tools = await client.get_tools()   # 30 reseller_* tools
n8n / Zapier / Make / cURL (raw MCP)
# Raw MCP (JSON-RPC) - n8n HTTP, Zapier/Make, cURL, any language
curl -X POST https://mcp.eqvps.com/mcp \
  -H "Authorization: Bearer rk_YOUR_RESELLER_TOKEN" -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{
        "name":"reseller_order_for_client","arguments":{"client_id":123,"plan_id":45}}}'
# List tools first: {"jsonrpc":"2.0","id":1,"method":"tools/list"}
# The Accept header is required: without it the server returns 406.
# Replies can arrive as an event stream: read the JSON from the "data:" line.
# Set your own User-Agent, e.g. your-app/1.0: the Python urllib default (Python-urllib/x.y) is blocked with error 1010.
REST API
# REST API - same token and same actions as the reseller_* MCP tools
# Base URL: https://b2b.eqvps.com/api/reseller
# Every request: Authorization: Bearer rk_YOUR_RESELLER_TOKEN
# POST and PATCH bodies are JSON (Content-Type: application/json).
# Set your own User-Agent, e.g. your-app/1.0: the Python urllib default is blocked with error 1010.
curl https://b2b.eqvps.com/api/reseller/balance \
  -H "Authorization: Bearer rk_YOUR_RESELLER_TOKEN"

# Balance and images
GET    /balance
GET    /os

# Plans (locations: de, fi; ipv4 0-4, ipv6 0-1, at least one)
GET    /plans
POST   /plans               {name, locations, cores, ram_gb, disk_gb, ipv4, ipv6, markup_price}
PATCH  /plans/{id}          {name, locations, cores, ram_gb, disk_gb, ipv4, ipv6, markup_type, markup_value}
DELETE /plans/{id}          # archive: existing clients keep working
POST   /plans/{id}/restore

# Clients
GET    /clients
POST   /clients             {email, name?, plan_id?}
PATCH  /clients/{id}        {email, name?}
POST   /clients/{id}/suspend
POST   /clients/{id}/unsuspend

# Orders. test:true is a dry run: no server is created and no balance is charged
POST   /orders              {client_id, plan_id, location?, hostname?, os_id?, test?}

# Servers
GET    /vms
GET    /services
GET    /services/{id}       # IP, hostname, password
GET    /services/{id}/metrics
POST   /services/{id}/power      {action: start | stop | reboot}
POST   /services/{id}/password   # returns the new root password
POST   /services/{id}/hostname   {hostname}
POST   /services/{id}/reinstall  {os_id}        # erases all data on the server
POST   /services/{id}/change-plan {new_plan_id} # upgrade only, the server restarts
POST   /services/{id}/renew      {months?}      # 1-24, from your balance
POST   /services/{id}/autorenew  {enabled}
POST   /services/{id}/cancel     # deletes the server and its data now

# Support tickets
GET    /tickets
POST   /tickets             {subject, message, service_id?}
GET    /tickets/{id}
POST   /tickets/{id}/reply  {message}
POST   /tickets/{id}/close

Ready-to-use agent prompts

Provision a VPS for a client

Add a client buyer@example.com, then order a VPS for them on the plan they need in Germany. When it is active, give me the SSH host, port and the ready-to-paste command.

List & manage client VMs

List all my reseller VMs with their status and expiry; flag any expiring within 7 days.

Turn on auto-renew everywhere

Enable auto-renew on every active VPS I resell so they renew from my wholesale balance before they expire.

Renew a specific VM for N months

Renew the VPS for client buyer@example.com for 3 more months from my wholesale balance.

Auto-renew

Client servers renew without manual work. reseller_set_autorenew toggles it per VM (ON by default); a daily job renews anything expiring within 3 days from your wholesale balance. Renew now for N periods with reseller_renew (months 1-24). On a short balance you get one alert and the normal grace window — never a silent loss.

Sandbox testing (dry-run)

Pass test: true to reseller_order_for_client (or POST /api/reseller/orders with {"test":true}) for a dry-run: you get a mock response whose structure is identical to a real order, but no VM is created and no balance is charged. Use it to verify your API/MCP integration end-to-end before going live.

Client email notifications

By default EQVPS emails the account on provision/suspend/terminate/password/reinstall. In the reseller cabinet you can turn “Notify clients by email” off to handle client notifications yourself (white-label) — provisioning and renewals still work, just silently.

Comments

No comments yet. Be the first.

Leave a comment

Comments are moderated before they appear.