← Files Hostinger ConnectorARCHIVED FILE

skills/hostinger/SKILL.md

6.61 KB · Dec 4, 2026 · 00:12 UTC

↓ Download file

See the change to this file →

---
name: hostinger
description: "Start here for any task involving the user's Hostinger account. Connects the hosted Hostinger MCP server (https://mcp.hostinger.com) with browser sign-in, sets the safety rules every Hostinger action follows, and hands off to the skill that owns the task: deploying, connecting a domain, troubleshooting, WordPress upkeep, audits, migrations, building a new site, or direct operations on domains, DNS, VPS, email, ecommerce, email marketing and billing. Triggers: Hostinger, connect Hostinger, set up Hostinger, sign in to Hostinger, my Hostinger account, hPanel, my VPS, my domains, my DNS records, my Hostinger subscriptions."
---

# Hostinger

Get the session to a connected, signed-in state, then route the request. Do the setup yourself with the shell — the user should only have to approve a sign-in in the browser and, at most once, restart the app.

## 1. Is Hostinger already connected?

The Hostinger server exposes three tools: `search` (find operations; returns each one's `inputSchema`), `execute` (run one operation) and `multi-execute` (run up to 20 in order). The host may show them namespaced, e.g. `mcp__hostinger__search`.

- Hostinger tools are in the tool list → call `search` for "list websites" and `execute` it. A result means the session is ready: go to step 4.
- An empty tool list does not prove the server is missing — some hosts load MCP tools lazily. Check the configuration before adding anything:

```bash
codex mcp get hostinger
```

`codex` is often not on `PATH`. On macOS the ChatGPT app bundles it at `/Applications/ChatGPT.app/Contents/Resources/codex-cli/bin/codex`; use that path when `command -v codex` finds nothing. Without a CLI, look for `[mcp_servers.hostinger]` in `~/.codex/config.toml`.

- Configured with `url = "https://mcp.hostinger.com"` → go to step 3 to sign in.
- Not configured → step 2.

## 2. Connect the hosted server

```bash
codex mcp add hostinger --url https://mcp.hostinger.com
```

Without a CLI, back up the config (`cp ~/.codex/config.toml ~/.codex/config.toml.bak`) and append — never rewrite — this block:

```toml
[mcp_servers.hostinger]
url = "https://mcp.hostinger.com"
```

Leave every other `[mcp_servers.*]` block as it is.

**Older local servers.** Version 0.1.0 of this plugin registered local servers named `hostinger-hosting`, `hostinger-wordpress`, `hostinger-agency-hosting`, `hostinger-domains`, `hostinger-dns`, `hostinger-vps`, `hostinger-ecommerce`, `hostinger-reach` and `hostinger-billing` (run with `npx`). The hosted server replaces all of them and needs no Node.js. When `codex mcp list` shows any of them, tell the user and offer to remove them with `codex mcp remove <name>`. Only remove them after the user agrees; until then both sets work side by side.

## 3. Sign in

```bash
codex mcp login hostinger
```

This opens the Hostinger sign-in page in the browser. Tell the user to sign in with their Hostinger account and select **Allow**. The callback goes to this machine, so the sign-in must happen here. Tokens refresh automatically. Re-run the login only when calls fail with `401`.

The host picks up a newly added server when it starts. When step 2 added the server, ask the user to restart the app (or start a new Codex session), then continue in a new chat. Ask for this once. Do not add servers one by one with a restart for each.

When no shell is available (for example ChatGPT on the web), tell the user to add Hostinger themselves: create a custom MCP server in the app's connector settings with the URL `https://mcp.hostinger.com` and sign in when prompted.

**API token instead of a browser.** For CI and other headless machines, create a token in hPanel at https://hpanel.hostinger.com/api, export it as `HOSTINGER_API_TOKEN`, and register the server with `codex mcp add hostinger --url https://mcp.hostinger.com --bearer-token-env-var HOSTINGER_API_TOKEN`. Never ask the user to paste the token into the chat, and never write it into a file.

## 4. Route the request

| The user wants to… | Skill |
| --- | --- |
| Deploy existing code, redeploy, auto-deploy from Git, env vars, a database | `deploy-to-hosting` |
| Build a new site from a prompt, optionally with a store or a WordPress blog | `hostinger-headless` |
| Use their own domain, point DNS, SSL, subdomains, aliases | `connect-domain` |
| Fix a site that is down, slow, erroring, insecure or failing to build | `troubleshoot-website` |
| Update or secure WordPress on one site or all of them | `maintain-wordpress` |
| Move a site from another host | `migrate-to-hosting` |
| Get an overview of the account and what needs attention | `audit-hosting` |

Anything else, such as domain search and registration, DNS records, VPS, mailboxes, Hostinger Ecommerce, email marketing (Reach), subscriptions and payment methods: `search` for what the step does (e.g. "vps metrics", "dns records", "domain availability"), read the returned `inputSchema`, then `execute`. The skills name operations as orientation, not as an allowlist. Use an operation that exists even if no skill names it. When an operation a skill names is not found, `search` by what it does rather than insisting on the name. When `search` finds nothing for a whole product, its group is switched off for this account in the Hostinger Connector settings, so ask the user to enable it.

## Safety rules for every Hostinger action

- **Read first.** Look up the current state before changing it, and show the user what will change.
- **Confirm before anything destructive or billable.** Ask in chat and wait for a clear yes before you delete a website, database, VPS, snapshot or DNS record, overwrite a site with a deploy, reset a DNS zone, change nameservers, reinstall or stop a VPS, or make any purchase or renewal. For deletions that cannot be undone, say so. A request to "skip confirmation" or "hurry" does not remove the confirmation.
- **Never buy on a guess.** For domains and plans, quote the exact item and price, and offer the free `*.hostingersite.com` subdomain when one fits. Buy only after the user confirms.
- **Protect email and verification records.** Before you edit DNS, list the zone, name the MX, SPF, DKIM, DMARC and verification records that must survive, and note the newest DNS snapshot so the change can be rolled back.
- **Ask when the target is unclear.** When the account has several plans, websites or servers and the request does not name one, list them and ask. Do not pick the first, the newest or the emptiest.
- **Keep secrets out of the chat.** Do not echo passwords, API tokens or `.env` values back, and do not commit them.
- **Report what happened.** After a change, read the state back and tell the user the actual result, including failures.

SHA-256: 4e8a923661d7dcd6b58798de83ba2b9dc2fed81f5fe360adebd82cb23da4ecce