Skip to content

Commit ae91e63

Browse files
chore: sync with @hostinger/mcp 3.2.0
1 parent 0a3d814 commit ae91e63

10 files changed

Lines changed: 92 additions & 49 deletions

File tree

‎.cursor-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hostinger-connector",
33
"displayName": "Hostinger Connector",
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"description": "MCP plugin to deploy and manage Hostinger websites, WordPress, domains, DNS, VPS, and subscriptions from inside Cursor.",
66
"author": "Hostinger",
77
"license": "MIT",

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [0.3.2] - 2026-10-19
4+
5+
### Changed
6+
7+
- Synced with `@hostinger/mcp` 3.2.0: audit-hosting, deploy-to-hosting, hostinger-headless, migrate-to-hosting, operation catalog, troubleshoot-website
8+
39
## [0.3.1] - 2026-10-02
410

511
### Changed

‎mcp.json‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,47 @@
33
"hostinger-hosting": {
44
"command": "npx",
55
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-hosting-mcp"],
6-
"env": { "USER_AGENT": "plugin;cursor;0.3.1" }
6+
"env": { "USER_AGENT": "plugin;cursor;0.3.2" }
77
},
88
"hostinger-wordpress": {
99
"command": "npx",
1010
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-wordpress-mcp"],
11-
"env": { "USER_AGENT": "plugin;cursor;0.3.1" }
11+
"env": { "USER_AGENT": "plugin;cursor;0.3.2" }
1212
},
1313
"hostinger-agency-hosting": {
1414
"command": "npx",
1515
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-agency-hosting-mcp"],
16-
"env": { "USER_AGENT": "plugin;cursor;0.3.1" }
16+
"env": { "USER_AGENT": "plugin;cursor;0.3.2" }
1717
},
1818
"hostinger-domains": {
1919
"command": "npx",
2020
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-domains-mcp"],
21-
"env": { "USER_AGENT": "plugin;cursor;0.3.1" }
21+
"env": { "USER_AGENT": "plugin;cursor;0.3.2" }
2222
},
2323
"hostinger-dns": {
2424
"command": "npx",
2525
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-dns-mcp"],
26-
"env": { "USER_AGENT": "plugin;cursor;0.3.1" }
26+
"env": { "USER_AGENT": "plugin;cursor;0.3.2" }
2727
},
2828
"hostinger-billing": {
2929
"command": "npx",
3030
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-billing-mcp"],
31-
"env": { "USER_AGENT": "plugin;cursor;0.3.1" }
31+
"env": { "USER_AGENT": "plugin;cursor;0.3.2" }
3232
},
3333
"hostinger-reach": {
3434
"command": "npx",
3535
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-reach-mcp"],
36-
"env": { "USER_AGENT": "plugin;cursor;0.3.1" }
36+
"env": { "USER_AGENT": "plugin;cursor;0.3.2" }
3737
},
3838
"hostinger-ecommerce": {
3939
"command": "npx",
4040
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"],
41-
"env": { "USER_AGENT": "plugin;cursor;0.3.1" }
41+
"env": { "USER_AGENT": "plugin;cursor;0.3.2" }
4242
},
4343
"hostinger-vps": {
4444
"command": "npx",
4545
"args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-vps-mcp"],
46-
"env": { "USER_AGENT": "plugin;cursor;0.3.1" }
46+
"env": { "USER_AGENT": "plugin;cursor;0.3.2" }
4747
}
4848
}
4949
}

‎scripts/mcp-tools.json‎

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"package": "@hostinger/mcp",
3-
"version": "2.7.0",
4-
"total": 403,
3+
"version": "3.2.0",
4+
"total": 423,
55
"groups": {
66
"agency-hosting": [
77
"agency-hosting_cache_clear-website",
@@ -47,6 +47,11 @@
4747
"agency-hosting_wordpress_list-versions",
4848
"agency-hosting_wordpress_settings"
4949
],
50+
"agent-readiness": [
51+
"agent-readiness_checks_list",
52+
"agent-readiness_scans_get",
53+
"agent-readiness_scans_run"
54+
],
5055
"billing": [
5156
"billing_catalog_list",
5257
"billing_orders_create-purchase",
@@ -170,6 +175,7 @@
170175
"hosting_databases_repair",
171176
"hosting_databases_setup-website",
172177
"hosting_datacenters_list",
178+
"hosting_deploy",
173179
"hosting_deploy-js-application",
174180
"hosting_deploy-static-website",
175181
"hosting_deploy-wordpress-plugin",
@@ -185,11 +191,17 @@
185191
"hosting_files_generate-upload-url",
186192
"hosting_files_list-website-and-directories",
187193
"hosting_files_website-content",
194+
"hosting_get-deployment",
188195
"hosting_git_auto-deployment-settings",
189196
"hosting_git_delete-auto-deployment-settings",
197+
"hosting_git_deploy-website-repository",
198+
"hosting_git_generate-ssh-key",
190199
"hosting_git_list-installation-repositories",
191200
"hosting_git_list-installations",
201+
"hosting_git_list-website-repositories",
202+
"hosting_git_ssh-public-key",
192203
"hosting_git_update-auto-deployment-settings",
204+
"hosting_headless_submit-build-report",
193205
"hosting_import-wordpress-website",
194206
"hosting_list-js-deployments",
195207
"hosting_nodejs_analyse-failed-build",
@@ -226,7 +238,8 @@
226238
"hosting_websites_delete",
227239
"hosting_websites_deploy-static-site-archive",
228240
"hosting_websites_list",
229-
"hosting_websites_list-setups"
241+
"hosting_websites_list-setups",
242+
"hosting_websites_start-setup"
230243
],
231244
"mail": [
232245
"mail_aliases_create-alias",
@@ -293,11 +306,15 @@
293306
"reach_forms_delete",
294307
"reach_forms_get",
295308
"reach_forms_list",
309+
"reach_profiles_connect-sending-domain",
296310
"reach_profiles_connected-sending-domain",
311+
"reach_profiles_delete-sending-domain",
297312
"reach_profiles_domain-dns-status",
298313
"reach_profiles_list",
299314
"reach_profiles_list-plan-feature-access",
300315
"reach_profiles_remaining-plan-limits",
316+
"reach_profiles_settings",
317+
"reach_profiles_update-settings",
301318
"reach_segments_count-profile-contacts",
302319
"reach_segments_create",
303320
"reach_segments_create-profile",
@@ -370,6 +387,9 @@
370387
"vps_snapshots_delete",
371388
"vps_snapshots_get",
372389
"vps_snapshots_restore",
390+
"vps_ssh-keys_add-virtual-machine",
391+
"vps_ssh-keys_list-virtual-machine",
392+
"vps_ssh-keys_remove-virtual-machine",
373393
"vps_templates_get",
374394
"vps_templates_list",
375395
"vps_virtual-machines_attached-public-keys",
@@ -389,6 +409,8 @@
389409
"vps_virtual-machines_stop"
390410
],
391411
"wordpress": [
412+
"wordpress_ai-content_generate-images",
413+
"wordpress_ai-content_generation-result",
392414
"wordpress_ai-tools_set-option-status",
393415
"wordpress_ai-tools_show-option-status",
394416
"wordpress_installations_check-if-are-valid",

‎skills/audit-hosting/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Tell the user the size (plans, websites, WordPress installs) before the checks.
3030
Per Shared and Cloud website (skip `builder` and `horizons`):
3131

3232
- `hosting_ssl_status` — flag `failed` (with `last_error`), `expired`, `not_installed` on a custom domain, `is_https_redirect_enabled: false`, and `expires_at` within 30 days when `is_lifetime` is false. Lifetime certificates renew on their own.
33-
- Node.js sites: `hosting_nodejs_list-builds` with `per_page: 1` (latest build failed?) and `hosting_nodejs_list-vulnerabilities` with `severities: ["critical", "high"]`.
33+
- Node.js sites: `hosting_get-deployment` (latest build failed? `build.state`; on the hosted server use `hosting_nodejs_list-builds` with `per_page: 1`) and `hosting_nodejs_list-vulnerabilities` with `severities: ["critical", "high"]`.
3434

3535
Per hosting account (`username`): `hosting_databases_list` — flag `disk_usage_mb` above 80% of `max_size_mb`.
3636

‎skills/deploy-to-hosting/SKILL.md‎

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,30 @@ Ship a project that already exists — on disk or in a Git repository — to a H
2424

2525
## 2. Choose the deploy
2626

27-
Wrong method is the most common failure. Decide from the project on disk:
27+
**Shared and Cloud, on the local `hostinger-api-mcp` server:** one operation does every deploy — `hosting_deploy` with `domain` and either `path` (a directory on this machine) or `git: { repository: "owner/name", branch }`. Given a directory it detects what the project is, packs it itself (it skips `node_modules`, `.git` and `.env` files, listing the `.env` ones as `skippedFiles` so you can set their values with `hosting_nodejs_replace-environment-variables`; it does not read `.gitignore`, so keep build output out of the directory) and does the upload, build and Git setup. Do not archive the directory or call upload and build operations by hand.
2828

29-
| Project | Shared / Cloud |
29+
| Project | `hosting_deploy` treats it as |
3030
| --- | --- |
31-
| Plain HTML/CSS/JS, or a framework's static build output | `hosting_deploy-static-website` |
32-
| `package.json` with a build or a server (Next.js, Nuxt, Express, Vite…) | `hosting_deploy-js-application` |
33-
| PHP code, no build step | `hosting_deploy-static-website` (extracts the archive as-is) |
34-
| WordPress plugin or theme folder | `hosting_deploy-wordpress-plugin` / `hosting_deploy-wordpress-theme` (`activate` optional) |
35-
| A whole WordPress site from elsewhere | the `migrate-to-hosting` skill |
31+
| Plain HTML/CSS/JS, or a framework's static build output | `static` — extracts as-is |
32+
| `package.json` with a build script, a start script or a server dependency (Next.js, Nuxt, Express, Vite…) | `nodejs` — starts a build, returns `buildUuid` |
33+
| PHP code, no build step | `static` |
34+
| WordPress plugin folder (a `Plugin Name:` header) or theme folder (`Theme Name:` in `style.css`) | `wordpress-plugin` / `wordpress-theme`; `activate: true` activates a theme |
35+
| A whole WordPress site from elsewhere | `wordpress-site`, with `databaseDump` — see the `migrate-to-hosting` skill |
3636

37-
On Agency the website's type decides (`agency-hosting_websites_get`): sites created as `node-static` take `agency-hosting_deploy-node-static-website`, which runs the build when the project has one; every other site takes `agency-hosting_deploy-php-application`, which extracts the archive as-is. WordPress plugins and themes on Agency sites are installed from wp-admin.
37+
- Pass `type` to override detection. It is required for an archive (an archive cannot be inspected) and when a directory matches more than one WordPress type, which `hosting_deploy` rejects as ambiguous.
38+
- Node.js build settings come from the project; detection covers the framework and the build script. Set `appType`, `outputDirectory`, `buildScript`, `entryFile`, `nodeVersion` (default 22), `rootDirectory` or `packageManager` when it is wrong. A TypeScript or other compiled server app always needs `entryFile` set to the built file (for example `dist/server.js`): detection only guesses a root-level file, and the build fails with "Entry file not found". The entry file is relative to the root directory for express, fastify, hono, react-router and other, and to the output directory for nest, nuxt, nitro, astro and svelte-kit (`main.js`, not `dist/main.js`); Next.js ignores it. Per-framework values are in the Hostinger docs under Node.js (Supported Frameworks, Build Settings).
39+
- Static, PHP, plugin and theme deploys are live when the call returns. A WordPress site import only starts (`status: import_started`) and finishes extracting a few minutes later; do not report it complete or verify it before then. Node.js builds run on the server: see step 3.
3840

39-
Archive rules (name archives `name_YYYYMMDD_HHMMSS.zip`):
41+
**Agency:** the website's type decides (`agency-hosting_websites_get`): sites created as `node-static` take `agency-hosting_deploy-node-static-website`, which runs the build when the project has one; every other site takes `agency-hosting_deploy-php-application`, which extracts the archive as-is. They deploy archives, synchronously: the site is live when the call returns. WordPress plugins and themes on Agency sites are installed from wp-admin.
42+
43+
Archive rules for Agency (name archives `name_YYYYMMDD_HHMMSS.zip`) and for archives you build yourself:
4044

4145
- **Static:** build locally first. `index.html` must be at the archive root, not inside a folder: `cd dist && zip -r ../site_20260101_120000.zip .`
4246
- **Node.js source:** no `node_modules/`, no build output (`dist/`, `.next/`, `build/`), no `.env*`, nothing matched by `.gitignore`; 50 MB at most. `git archive --format=zip -o app_20260101_120000.zip HEAD` produces exactly the committed files — mention that uncommitted changes are left out.
43-
- Agency deploys are synchronous: the site is live when the call returns.
4447

45-
The operations in the table read the archive from this machine, so only the local `hostinger-api-mcp` server has them. On the hosted server (`mcp.hostinger.com`) `search` does not find them — upload the files yourself as below.
48+
`hosting_deploy` and the `agency-hosting_deploy-*` operations read files from this machine, so only the local server has them. On the hosted server (`mcp.hostinger.com`) `search` does not find them — upload the files yourself as below.
4649

47-
### Without the local deploy operations
50+
### Without the local deploy operations (hosted server; on the local server only for Agency)
4851

4952
1. Get upload credentials: `hosting_files_generate-upload-url` (`username`, `domain`); Agency: `agency-hosting_files_generate-upload-url` (`website_uid`). Both return `url`, `auth_key` and `rest_auth_key`, which authenticate the upload instead of the API token.
5053
2. Upload each file with TUS, where `DEST` is its path in the website's storage:
@@ -69,15 +72,29 @@ curl -sS -X PATCH "$URL/$DEST?override=true" -H "X-Auth: $AUTH_KEY" -H "X-Auth-R
6972

7073
## 3. Node.js builds
7174

72-
`hosting_deploy-js-application` uploads the archive to the document root, detects settings from `package.json` and starts a build. Track it with `hosting_nodejs_list-builds` and `hosting_nodejs_build` (by `uuid`), polling every 10–20 s — builds take minutes.
75+
`hosting_deploy` returns a `buildUuid` at once; the build runs on the server and takes minutes. Track it with `hosting_get-deployment` (`domain`, optionally `buildUuid`; the latest build by default), polling every 10–20 s until `build.state` is `completed` or `failed`. It returns the build, its log and the stored build settings; pass the previous `logs.lines` as `fromLine` to read only new output.
76+
77+
- Failed build: the response already carries `analysis` (fetched once per build; the API allows 5 a minute).
78+
- Wrong detection (framework, `output_directory`, or an entry file inside the build output, such as `dist/server.js` for a compiled app): deploy again with `appType`, `outputDirectory`, `buildScript` or `entryFile` set. An archive deploy sends its settings with the request and leaves the stored ones alone; a Git deploy also stores these values, so later pushes build with them.
79+
80+
On the hosted server, which has no `hosting_deploy` or `hosting_get-deployment`:
7381

82+
- After the upload steps below, start the build and track it with `hosting_nodejs_list-builds` and `hosting_nodejs_build` (by `uuid`), polling every 10–20 s.
7483
- Failed build: `hosting_nodejs_analyse-failed-build` once per build (5 calls a minute), then `hosting_nodejs_build-logs` if the analysis is empty.
75-
- Wrong detection (framework, `output_directory`, or a missing `entry_file` for express, fastify, nest, nuxt and hono): run `hosting_nodejs_start-build` with explicit values, `source_type: "archive"` and `source_options.archive_path` set to the archive's file name in the document root (check it is there with `hosting_files_list-website-and-directories`). Store the same values with `hosting_nodejs_update-build-settings`.
84+
- Wrong detection: run `hosting_nodejs_start-build` with explicit values, `source_type: "archive"` and `source_options.archive_path` set to the archive's file name in the document root (check it is there with `hosting_files_list-website-and-directories`). Store the same values with `hosting_nodejs_update-build-settings`.
7685
- To review detected settings before any build: upload the archive with `hosting_files_generate-upload-url` (the TUS steps are in its description), then `hosting_nodejs_build-settings-from-archive`.
7786

7887
## 4. Auto-deploy from Git
7988

80-
1. `hosting_git_list-installations`. With no `active` installation (check `status: "pending"` and `"suspended"` too), the user connects GitHub or GitLab once in hPanel under Websites → Manage → Advanced → Git; there is no API for that step.
89+
On the local server, `hosting_deploy` with `git: { repository: "owner/name", branch }` does all of it: it finds the Git installation that can reach the repository and deploys it as the `type` you give. Always pass `type: "static"` or `"nodejs"` unless the site already runs a Node.js app (or you pass Node.js settings such as `appType`): a new site is not detected as Node.js, and a Node.js repository deployed as static would publish its source. Then:
90+
- **PHP and static sites:** saves the auto-deployment settings, which deploys the branch immediately and again on every push;
91+
- **Node.js sites:** starts a build of the branch with the stored build settings; later pushes build the same way. A Git deploy has nothing to detect from, so when none are stored pass `appType` and `nodeVersion` (from `engines` in `package.json`), plus `outputDirectory` and `buildScript` if the app has a build step; they are stored for those pushes.
92+
93+
With no active installation it stops and says so: the user connects GitHub or GitLab once in hPanel under Websites → Manage → Advanced → Git; there is no API for that step. Confirm with `hosting_get-deployment`, which returns the stored `gitAutoDeployment`.
94+
95+
On the hosted server, by hand:
96+
97+
1. `hosting_git_list-installations`. With no `active` installation (check `status: "pending"` and `"suspended"` too), the user connects GitHub or GitLab once in hPanel, as above.
8198
2. `hosting_git_list-installation-repositories` with the installation `uuid` gives `owner`, `name` and `default_branch` (10 calls a minute).
8299
3. `hosting_git_update-auto-deployment-settings` with `installation_uuid`, `owner`, `repository`, `branch` and optional `directory`.
83100
- PHP and static sites deploy the branch immediately and again on every push.

‎skills/hostinger-headless/references/DATABASE.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Do not put the remote `host` into the deployed app — it has no grant for conne
2929
| You called | Poll this until | Typical wait |
3030
| --- | --- | --- |
3131
| `hosting_websites_create` | `hosting_websites_list-setups` with the domain reports `status: completed` | up to a few minutes |
32-
| `hosting_deploy-js-application` | `hosting_list-js-deployments` shows the build finished | minutes |
33-
| `hosting_nodejs_start-build` | `hosting_nodejs_build` state is `completed` or `failed` | minutes |
32+
| `hosting_deploy` of a Node.js app | `hosting_get-deployment` reports a `completed` or `failed` build | minutes |
33+
| `hosting_nodejs_start-build` (hosted server, which has no `hosting_deploy`) | `hosting_nodejs_build` state is `completed` or `failed` | minutes |
3434
| `wordpress_installations_install`, plugin/theme/core jobs | `wordpress_installations_list` lists the install | 1–2 minutes |
3535
| `hosting_databases_repair`, `hosting_websites_delete` | nothing to poll — runs in the background | minutes |
3636
| `agency-hosting_website-setups_create` | `agency-hosting_website-setups_status` with `setup_uuid` is `completed` | minutes |
@@ -39,7 +39,7 @@ Poll with backoff (a few seconds, then tens of seconds). A queued response is no
3939

4040
## 5. When the app is up but broken
4141

42-
- Build failed: `hosting_nodejs_build-logs` for the raw log, `hosting_nodejs_analyse-failed-build` for a diagnosis.
42+
- Build failed: `hosting_get-deployment` returns the logs and a diagnosis together (hosted server: `hosting_nodejs_build-logs` for the raw log, `hosting_nodejs_analyse-failed-build` for a diagnosis).
4343
- Build passed, app errors: `hosting_nodejs_runtime-logs` with a `period` such as `1h`; entries before `last_deployed_at` belong to the previous deploy.
4444
- `Access denied for user 'x'@'::1'`: the app used `localhost` from Node.js — set `DB_HOST` to `127.0.0.1`.
4545
- PHP limits (memory, upload size): `hosting_php_get`, then `hosting_php_update-options`.

0 commit comments

Comments
 (0)