EQVPS

分销商 API 与 MCP(白标)

在 EQVPS 上打造你自己的 VPS 品牌:你的套餐、价格、客户。同一 MCP 端点上的 30 个分销工具,使用分销商令牌(rk_)鉴权。

鉴权:在 Partners 后台(API / MCP 页)获取分销商令牌(rk_…),以 Authorization: Bearer rk_… 发送。单一 MCP 端点,按令牌进行角色过滤——分销商令牌暴露 27 个 reseller_* 工具。

典型流程

创建套餐、添加客户、为其下单;以你自己的品牌交付访问。

// 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, location, markup })
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 可选——不填则使用该地区的默认系统。若需指定系统,请使用公开 list_plans 目录中的 os_id;它会按地区解析到正确的镜像。

操作系统与 os_id

提供 14 个 Linux 镜像(见下)。在 reseller_order_for_client 中传入 os_id——从公开的 list_plans 目录获取。注意:available_os 各地区的 id 可能不同;来自 list_plans 的 os_id 会解析为该套餐地区的正确镜像。省略 os_id 则使用该地区的默认系统。

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

虚拟机状态

active — 运行中。provisioning — 创建中(下单后短暂的异步窗口)。suspended — 已暂停(例如你暂停了客户,或欠费);用 reseller_unsuspend_client 恢复。cancelled — 已终止(虚拟机已删除)。

套餐
reseller_list_plansList your white-label plans.
reseller_create_planCreate a plan (vCPU/RAM/NVMe/IPv4 + 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.
客户
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.
下单
reseller_order_for_clientOrder a VM for a client by plan_id + client_id. Spends your wholesale balance.
虚拟机
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.
操作系统
reseller_list_osList available OS images (os_id + name) for order/reinstall. Resolves per plan location.
余额
reseller_check_balanceYour wholesale prepaid balance.
工单
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.

评论

暂无评论。来做第一个吧。

发表评论

评论在显示前会经过审核。