Skip to content
MCP Servers
Skill

/provision-vps

Set up a Hostinger VPS (KVM plans) or reinstall an existing one: picks the plan and billing term from the catalog, the location and the Linux template, buys only after the user explicitly agrees to the plan, price, renewal price and location, sets up a server waiting for setup,

From plugin
api-mcp-server
17325 skills

Claude Code

$ npx -y skills add hostinger/api-mcp-server --skill provision-vps --agent claude-code

SKILL.md

provision-vps.SKILL.md
name: provision-vps
description: "Set up a Hostinger VPS (KVM plans) or reinstall an existing one: picks the plan and billing term from the catalog, the location and the Linux template, buys only after the user explicitly agrees to the plan, price, renewal price and location, sets up a server waiting for setup, polls until it is running, adds the user's SSH key, applies a firewall and hands over a reachable root@ip. Triggers: create a new VPS, buy a server on Hostinger, which VPS plan should I get, set up a VPS with Ubuntu and Docker, my VPS says waiting for setup, reinstall my VPS, change the OS of my server, start over on a clean server."

Provision a VPS

From a need ("a small server for n8n in Europe") to a running server the agent can SSH into. Putting an app on it afterwards is `deploy-to-vps`; a server that is up but misbehaving is `troubleshoot-vps`.

Calling the operations

  • Read the `inputSchema` that `search` returns before the first call of each operation. If a name below is rejected as unknown, `search` for what the step does (e.g. "list vps templates").
  • Batch reads with `multi-execute`; values pass between steps as `$steps.<i>.<path>`. A batch stops at its first failure. The Hostinger Connector runs `vps` and `billing` as separate servers, so a batch chains operations from one of them only.
  • `Too Many Attempts` is the API rate limit: wait about a minute, then retry that call once, and send no other calls meanwhile. `[VPS:9999] Request failed` (HTTP 500) is usually temporary: retry a read once later. After a purchase, setup or reinstall fails with 500, do not resend it: the request may have gone through, so check `vps_virtual-machines_list` and `vps_actions_list` first, and tell the user what you found.
  • Purchase and reinstall need the user's explicit "yes" in the conversation, after you have shown what is described in step 2 or step 5. Never infer consent from the request itself.
  • Setup, reinstall and restart return an action (firewall sync answers `Request accepted` instead; check it with `vps_firewall_get`): poll `vps_actions_get` with its `id`, waiting longer between checks, until `state` is `success` or `error`, and `vps_virtual-machines_get` until `state` is `running` and `actions_lock` is `unlocked`. Setup usually finishes within minutes (control-panel templates take longer); a reinstall takes about 5–20 minutes. An action still `sent` after 12 hours is stuck — the user contacts Hostinger support.
  • Root `password`: Hostinger rejects passwords found in public leak databases. 12–50 characters, no spaces, at least one upper-case letter, one lower-case letter, one digit and one of `-().&@?'#,/;+`, using only latin letters, digits and those symbols. `panel_password` (control-panel templates only) allows only the symbols `#%+:?@`. Generate strong ones, give them to the user once, and never store them in the project.

1. Reuse before buying

`vps_virtual-machines_list`. A server in state `initial` is bought and waiting for setup (hPanel shows "Waiting for setup"): go to step 4 with it. A server the user wants wiped: step 5. Only when neither applies, buy.

2. Choose plan, location and template

  • **Plan and price**: `billing_catalog_list` with `category: "VPS"`. Each item has `name` (KVM 1, KVM 2, KVM 4, KVM 8; the list also holds Game Panel 1–8, which are for game servers — offer them only when the user asks for one), `metadata` (`cpus`, `memory` and `disk_space` in MB, `bandwidth`) and `prices`: one entry per term with its own `id` — the `item_id` to buy — and `first_period_price` and `price` (the renewal price), both in cents. Prices differ by country and change with promotions; promotional prices apply to the first period only.
  • **Location**: `vps_data-centers_list` for `id`, `city`, `location` (country code) and `continent`. The location is fixed after setup: moving later is a reinstall in the new location that erases all data, backups and snapshots and changes the IP, and Hostinger does not promise it. Pick the location closest to the users; when the city they name is not listed, say which one you chose and why.
  • **Template**: `vps_templates_list`. Linux only; Windows is not offered. A plain OS when the agent will install things itself; an app template when the user named that app. The "with Docker" templates (Ubuntu 24.04 and 26.04) come with Docker installed. Whether a server gets the Docker Manager (`deploy-to-vps` 5a) does not follow the template name; check with `vps_docker_list` after setup. Control-panel templates (cPanel, Plesk, DirectAdmin and others) need a separately bought licence, which is non-refundable.
  • **Post-install script** (optional): `vps_post-install-scripts_list` to reuse one, or `vps_post-install-scripts_create` with `name` and `content` (max 48 KB; run once as root after install, output in `/post_install.log`). Keep secrets out of it; it is stored on the account.

Before buying, show the user: plan, term, first-period price and renewal price, location (fixed after setup), template, and that new purchases have a 30-day money-back guarantee (not for crypto payments; refunding cancels the server and its data). Wait for their "yes".

3. Purchase

`billing_payment-methods_list` first. An empty list means the account has no saved payment method and the purchase cannot go through the API: stop, and send the user to hPanel → VPS → Get VPS to buy there, then continue at step 1 with the new server. Otherwise `vps_virtual-machines_purchase` with `item_id` (the price `id` from step 2), optional `payment_method_id` and the `setup` fields from step 4. The default payment method is used when none is given.

A `202 Accepted` means the payment is still being processed and the server was not set up: read the response's `status`, tell the user, and poll `vps_virtual-machines_list` for a new server in state `initial` before step 4. If setup fails for any reason, the user finishes it in hPanel; say which server and why. A just-bought

Read more
@hostinger
Ships withapi-mcp-server

Model Context Protocol (MCP) server for Hostinger API.

Stars on GitHub

Momentum

stars in total
173
Star history of hostinger/api-mcp-server on GitHub, a chart by star-history.com

Other skills on api-mcp-server.

audit-hosting

audit-hosting

Audit a Hostinger web hosting account (Shared, Cloud and Agency plans) and report what needs attention: every plan and website,…

audit-vps

audit-vps

Audit every Hostinger VPS (KVM plans) on the account and report what needs attention: server state and failed actions, CPU,…

connect-domain

connect-domain

Connect a custom domain to a website on Hostinger web hosting (Shared, Cloud or Agency plans) end to end: attach the domain to…

deploy-to-vps

deploy-to-vps

Deploy an existing project to a Hostinger VPS (KVM plans): sets up SSH key access, applies a Hostinger firewall group, runs…

headless

headless

Orchestrator for the Hostinger Headless build flow — build and deploy a real website on the user's Hostinger account from a…

More skills from other plugins.

gitnexus-cli

gitnexus-cli

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…

gitnexus11d49k
@abhigyanpatwari@abhigyanpatwariInstall Skill
fastmcp-client-cli

fastmcp-client-cli

Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…

fastmcp9d29k
@prefecthq@prefecthqInstall Skill
n8n-agents

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…

n8n-mcp9d23k
@czlonkowski@czlonkowskiInstall Skill
post-to-xhs

post-to-xhs

小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…

@xpzouying@xpzouyingInstall Skill

Questions about provision-vps.

Which coding agents can use provision-vps?
provision-vps installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.