Skip to content
MCP Servers
Skill

/troubleshoot-vps

Diagnose and fix a Hostinger VPS (KVM plans) that is unreachable, down, slow, out of disk or running a broken service. Checks the server from outside, reads state, actions, metrics, firewall and Docker Manager logs through the Hostinger MCP, continues over SSH or the hPanel

From plugin
api-mcp-server
17325 skills

Claude Code

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

SKILL.md

troubleshoot-vps.SKILL.md
name: troubleshoot-vps
description: "Diagnose and fix a Hostinger VPS (KVM plans) that is unreachable, down, slow, out of disk or running a broken service. Checks the server from outside, reads state, actions, metrics, firewall and Docker Manager logs through the Hostinger MCP, continues over SSH or the hPanel browser terminal, names the cause with evidence, and applies the fix once the user agrees; hPanel resets, emergency mode and restores are the last resorts. Triggers: my VPS is down, can't SSH into my server, connection refused, site on my VPS not loading, 502 from my server, server is slow, high CPU, CPU limited, disk full, docker container keeps restarting, my VPS is suspended, I lost my root password."

Troubleshoot a VPS

One server and one symptom in; a named cause, the evidence for it, and a fix out. Stay read-only until the cause is stated and the user agrees to the fix. Deploying something new is `deploy-to-vps`; reinstalling is `provision-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. "virtual machine metrics").
  • Only the public operations that `search` returns can be called. Several fixes exist only in hPanel or Hostinger Agent — resetting SSH or the guest firewall, removing a CPU limit, cleaning the disk, running commands without SSH. When the fix needs one, tell the user where it is in hPanel.
  • 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 `dns` as separate servers.
  • `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. Never resend a change that failed with 500 straight away: it may have gone through, so check the outcome with the matching read or `vps_actions_list` first, and tell the user what you found.
  • A VPS runs one action at a time. Most changes return an action: poll `vps_actions_get`, waiting longer between checks, until `state` is `success` or `error` (`created`, `sent`, `delayed`, `started` are still running). Firewall sync and delete answer `Request accepted` instead; check the result with the matching read operation. Typical durations: start and stop up to 5 minutes, restart up to 10, emergency mode up to 20, a backup restore from 10 minutes to a few hours.
  • Confirm with the user before each of these, naming the server and what happens: `vps_virtual-machines_restart` and `vps_virtual-machines_stop` (downtime), `vps_virtual-machines_set-root-password`, `vps_recovery_start` and `vps_recovery_stop` (reboots), `vps_snapshots_restore` and `vps_backups_restore` (overwrite the disk), `vps_snapshots_create` (replaces the snapshot). A request to fix the server is not consent to any of them.

1. Find the server and its state

`vps_virtual-machines_list`; keep `id`, `ipv4[0].address`, `state`, `actions_lock`, `template.name`, `plan`, `memory` and `disk` (MB), `bandwidth` and `firewall_group_id`. Then `vps_actions_list`: a recent `error`, or a restore or reinstall the user did not mention, is often the whole story.

| `state` | Meaning | Next | | --- | --- | --- | | `running` | the hypervisor sees it up | step 2 | | `stopped` | stopped from the dashboard, or by Hostinger after malware was found; data is kept | ask the user whether they stopped it; if not, check hPanel and email for a malware notice before `vps_virtual-machines_start` | | `suspended` | suspended for non-payment or abuse | non-payment: renew in hPanel (data kept for up to 21 days after expiry). Abuse: the suspension email gives the reason; fix it and reply to that email. Nothing the API can do | | `initial` | bought, waiting for setup | `provision-vps` | | `error` | the last operation failed | Hostinger support; the VPS stays locked until they act | | any other (`starting`, `stopping`, `restoring`, `recreating`, …) with `actions_lock: locked` | an action is running | wait and poll `vps_actions_list`. An action `sent` for 12 hours is stuck — Hostinger support |

A server shown as `running` can still have an expired plan; `billing_subscriptions_list` tells.

2. Look at it from outside

ping -c 3 IP
nc -zv -w 5 IP 22; nc -zv -w 5 IP 80; nc -zv -w 5 IP 443
curl -sS -o /dev/null -w "%{http_code} ttfb=%{time_starttransfer}s\n" http://IP/
dig +short A DOMAIN

Before trusting `nc`, run it against `192.0.2.1`, a reserved address with no server. Any port that answers there is faked by the local network (a VPN or proxy; 80, 443 and 8080 are common), so judge those ports only by an HTTP answer from `curl`. On macOS add `-G 5` to `nc`; without it a port that drops traffic hangs for over a minute.

  • Every port closed, state `running` → firewall (step 3) or the guest OS (step 4 through the browser terminal).
  • Port 22 closed, 80/443 open → SSH rule missing (step 3), or sshd or the guest firewall (step 6).
  • Ports open, HTTP `502`/`503` → the app or proxy (step 4).
  • Slow → step 5.
  • `dig` returns another IP → DNS, not the server: `dns_records_list` and `deploy-to-vps` step 6.

3. Hostinger firewall

`firewall_group_id` set → `vps_firewall_get`. An active group drops all inbound traffic without an accept rule, on IPv4 and IPv6, and overrides any accept rule inside the OS. Check there is a rule for every port the user expects (an SSH rule restricted to an old IP is a classic cause) and that `is_synced` is true; `false` means changes are not pushed — `vps_firewall_sync-to-all-assigned-v-ms`, which answers `Request accepted`; confirm with `vps_firewall_get` showing `is_synced: true`. Missing rule → propose `vps_firewall_create-rule`, then sync. Changes reach new connections within about two minutes.

4. Inside the server

`ssh root@IP`, or the hPanel browser terminal

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 troubleshoot-vps.

Which coding agents can use troubleshoot-vps?
troubleshoot-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.