hostinger-api-mcp 4.4.0 → 4.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/SKILL.md +41 -6
- package/skills/headless/VERSION +2 -2
- package/skills/headless/steps/03-provision/SKILL.md +4 -2
- package/skills/headless/steps/04-content-model/SKILL.md +38 -1
- package/skills/headless/steps/05-design/SKILL.md +7 -5
- package/src/core/skills.js +12 -12
- package/src/core/skills.ts +12 -12
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/agent-readiness.js +1 -1
- package/src/servers/agent-readiness.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/gpu.js +1 -1
- package/src/servers/gpu.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ Generated at release time from the diff between the previous and current
|
|
|
4
4
|
build. Tool changes are listed individually; everything else is summarised
|
|
5
5
|
by area.
|
|
6
6
|
|
|
7
|
+
## v4.5.1 — 2026-11-17
|
|
8
|
+
|
|
9
|
+
### Also in this release
|
|
10
|
+
|
|
11
|
+
- Bundled agent skills: `skills/headless/VERSION`
|
|
12
|
+
|
|
13
|
+
## v4.5.0 — 2026-11-17
|
|
14
|
+
|
|
15
|
+
### Also in this release
|
|
16
|
+
|
|
17
|
+
- Dependencies: `package-lock.json`
|
|
18
|
+
- Bundled agent skills: 5 files
|
|
19
|
+
- Other files: `src/core/skills.js`, `src/core/skills.ts`
|
|
20
|
+
|
|
7
21
|
## v4.4.0 — 2026-11-17
|
|
8
22
|
|
|
9
23
|
### Also in this release
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"url": "https://github.com/hostinger/api-mcp-server",
|
|
18
18
|
"source": "github"
|
|
19
19
|
},
|
|
20
|
-
"version": "4.
|
|
20
|
+
"version": "4.5.1",
|
|
21
21
|
"packages": [
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "@hostinger/mcp",
|
|
25
|
-
"version": "4.
|
|
25
|
+
"version": "4.5.1",
|
|
26
26
|
"transport": {
|
|
27
27
|
"type": "stdio"
|
|
28
28
|
},
|
package/skills/headless/SKILL.md
CHANGED
|
@@ -48,10 +48,9 @@ Hostinger connector's OAuth token. **This recipe is not a security boundary.**
|
|
|
48
48
|
## The flow stages - STEPS TO FOLLOW
|
|
49
49
|
|
|
50
50
|
Work through the steps in the order below, each reading its recipe and writing its artifact into the
|
|
51
|
-
site workspace `~/.hostinger/<domain>/`.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
The order is sequencial run and check the whole headless flow:
|
|
51
|
+
site workspace `~/.hostinger/<domain>/`. The one exception is content prepare (step 4) and design
|
|
52
|
+
(step 5): with a subagent tool, run them at the same time, as *Content and design at the same time*
|
|
53
|
+
says.
|
|
55
54
|
|
|
56
55
|
| # | Stage | Skill / source | Writes | Instance? |
|
|
57
56
|
|---|--------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------|---|---|
|
|
@@ -79,8 +78,7 @@ The other 9 numbered steps live under `steps/` and are read from the installed s
|
|
|
79
78
|
**One concurrency rule:** two *independent* stages in a single session may run at once, but never
|
|
80
79
|
two writers of the same artifact, and never two agents/windows on the same domain — the `.lock`
|
|
81
80
|
(Step 1) guards that. Parallelism is always *optional*: an agent that can't interleave work runs the
|
|
82
|
-
steps serially and is still correct
|
|
83
|
-
in parallel using different threads or processes to save time, but always ensure the right output.
|
|
81
|
+
steps serially and is still correct (see *Content and design at the same time*).
|
|
84
82
|
|
|
85
83
|
Steps can generate **State files** those files are only hints; the truth is what the Hostinger connector reports, so
|
|
86
84
|
verify a "done" marker against reality before acting on it. If a step's `SKILL.md` is missing from the installed skill folder, stop and tell
|
|
@@ -186,6 +184,34 @@ makes the overlap safe:
|
|
|
186
184
|
> moment a step must write to the live instance, it waits for provision to report ready (via the
|
|
187
185
|
> backend step's readiness poll — see above). That wait is the *instance barrier*.**
|
|
188
186
|
|
|
187
|
+
### Content and design at the same time
|
|
188
|
+
|
|
189
|
+
Content prepare and design are the two slow prepare stages, and neither needs the other. **If you
|
|
190
|
+
have a subagent tool** (Claude Code's Agent tool, for one), **launch content prepare in one background
|
|
191
|
+
subagent as soon as provision fires and the user has answered the image-source question, before you
|
|
192
|
+
do any content work yourself**, and design while it
|
|
193
|
+
runs. A helper you use only to fetch pages doesn't count. **If you have none, run content prepare
|
|
194
|
+
then design, one after the other**, as the table lists them. Either way the output is the same.
|
|
195
|
+
|
|
196
|
+
1. **Ask what the subagent can't.** A subagent can't talk to the user, so before you launch it, ask
|
|
197
|
+
content's one question yourself: the image source (`steps/04-content-model/SKILL.md` → *Images*).
|
|
198
|
+
2. **Launch the content subagent** with the instructions in `steps/04-content-model/SKILL.md` →
|
|
199
|
+
*Prepare in a subagent*. It does all of content prepare; nothing else writes its files while it
|
|
200
|
+
runs.
|
|
201
|
+
3. **Do design yourself, meanwhile** (`steps/05-design/SKILL.md`): its one question to the user stays
|
|
202
|
+
with you.
|
|
203
|
+
4. **Wait for the subagent before the frontend step**, which reads `content-model.md`. When it
|
|
204
|
+
reports, end its stage in the run log, check the files it names exist and note its gaps for the
|
|
205
|
+
final report. Set `state.json` → `stage` to `frontend` only once both the subagent has reported and
|
|
206
|
+
`design.md` is written, so a resume never skips either. The push, Hostinger AI images and
|
|
207
|
+
every other write to the live site stay with you, after the instance barrier.
|
|
208
|
+
5. **When the subagent's report resumes you, finish the whole flow**: the content push at the
|
|
209
|
+
instance barrier, the frontend, validate, deploy, then done, whose final report must include the
|
|
210
|
+
*Steps completed* table (`steps/09-done/SKILL.md`).
|
|
211
|
+
|
|
212
|
+
You alone write `state.json` and the run log; log the overlap as two open stages (see *Run log and
|
|
213
|
+
build report*).
|
|
214
|
+
|
|
189
215
|
### Waiting on Hostinger: `wait.mjs`
|
|
190
216
|
|
|
191
217
|
`wait.mjs` (next to this file) waits for a slow Hostinger job in one command, so you don't spend a turn
|
|
@@ -311,6 +337,15 @@ to it, joined with `&&` (e.g. `node <skill>/run-log.mjs <domain> next deploy &&
|
|
|
311
337
|
`ok` or needs a note, put its `stage-end` first in the same command. `next` refuses when two stages are
|
|
312
338
|
open and names them; end them with `stage-end`.
|
|
313
339
|
|
|
340
|
+
**Content and design overlapping** (see *Content and design at the same time*) are two open stages.
|
|
341
|
+
Start both when you launch the subagent, and end each when it finishes:
|
|
342
|
+
|
|
343
|
+
```bash
|
|
344
|
+
node <skill>/run-log.mjs <domain> next content_model --phase prepare && node <skill>/run-log.mjs <domain> stage-start design
|
|
345
|
+
node <skill>/run-log.mjs <domain> stage-end design ok # design.md written
|
|
346
|
+
node <skill>/run-log.mjs <domain> stage-end content_model ok --phase prepare # the subagent finished
|
|
347
|
+
```
|
|
348
|
+
|
|
314
349
|
**Follow-ups continue the run.** When the user asks for a change after the final report in the
|
|
315
350
|
same session (a layout fix, a copy tweak, a redeploy), that work belongs to the run it follows:
|
|
316
351
|
call `run-resume`, log the feedback and the stages it re-runs as usual, then `report` again. That
|
package/skills/headless/VERSION
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
version=4.
|
|
2
|
-
commit=
|
|
1
|
+
version=4.5.1
|
|
2
|
+
commit=273f736f018a
|
|
3
3
|
built=2026-11-17
|
|
@@ -72,8 +72,10 @@ it yet:
|
|
|
72
72
|
"provision": { "status": "in_progress", "domain": "<domain>", "started_at": "<now>" } }
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
Now go run the prepare work that doesn't need the backend
|
|
76
|
-
|
|
75
|
+
Now go run the prepare work that doesn't need the backend: content-model prepare and design (at the
|
|
76
|
+
same time when you have a subagent tool, see *Content and design at the same time* in the top-level
|
|
77
|
+
`SKILL.md`), then the frontend shell. The subfolder's readiness poll, verification and `site.json`
|
|
78
|
+
are the **join** half below.
|
|
77
79
|
|
|
78
80
|
## Step 3 — Join (at the instance barrier)
|
|
79
81
|
|
|
@@ -19,6 +19,42 @@ Two phases around the **instance barrier** (see the top-level `SKILL.md`):
|
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
+
## Prepare in a subagent
|
|
23
|
+
|
|
24
|
+
**Content subagent: skip this section and start at *Prepare phase*.** Main agent with a subagent
|
|
25
|
+
tool: don't do the prepare phase yourself (*Content and design at the same time* in the top-level
|
|
26
|
+
`SKILL.md`). Ask the image-source question (*Images* below), then launch one background subagent
|
|
27
|
+
with the prompt below and go on to design. One subagent keeps the whole site in one voice and leaves
|
|
28
|
+
no files to merge.
|
|
29
|
+
|
|
30
|
+
Send the prompt as it is, filling only the `<…>` slots. Add nothing to it: word counts, item counts,
|
|
31
|
+
extra photos or extra sections make the subagent slower, and the push waits for it.
|
|
32
|
+
|
|
33
|
+
```text
|
|
34
|
+
You are the content subagent of a Hostinger headless build for <domain>. Do content prepare
|
|
35
|
+
yourself, start to finish, and skip the section "Prepare in a subagent".
|
|
36
|
+
|
|
37
|
+
Workspace: ~/.hostinger/<domain>/ (brief.md is there). Skill folder: <skill folder>.
|
|
38
|
+
Backend: <backend from brief.md>. Image source the user chose: <their answer>.
|
|
39
|
+
|
|
40
|
+
Follow <skill folder>/steps/04-content-model/SKILL.md → "Prepare phase". For the file format: on
|
|
41
|
+
wordpress, with or without WooCommerce, also <skill folder>/steps/04-content-model/wordpress/SKILL.md
|
|
42
|
+
→ "Step 1 — Write content.json" (the catalog goes under "store"); on pocketbase, also
|
|
43
|
+
<skill folder>/steps/04-content-model/pocketbase/SKILL.md → "Prepare phase"; on ecommerce,
|
|
44
|
+
content-model.md holds the products.
|
|
45
|
+
Take sizes and counts from brief.md and those files only.
|
|
46
|
+
|
|
47
|
+
Write only content-model.md, content.json or pocketbase/schema.json, and media/. Leave state.json,
|
|
48
|
+
the run log, design.md and brand/ alone, and call neither the Hostinger connector nor the live site.
|
|
49
|
+
You can't ask the user anything: the image question is already answered above, and wherever a file
|
|
50
|
+
says to offer or ask the user, or brief.md is silent, pick what fits the site and list it as a gap.
|
|
51
|
+
For Hostinger AI images, write their briefs only; the main agent generates them later.
|
|
52
|
+
|
|
53
|
+
Report back: the files you wrote, the page, article and product counts, and any gaps.
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
22
58
|
## Prepare phase — write the content helper (no instance)
|
|
23
59
|
|
|
24
60
|
`content-model.md` is a lightweight helper, not a schema. Fill the **fixed values** from the brief and
|
|
@@ -168,7 +204,8 @@ runs **at the instance barrier** (after `provision.status == "completed"`), usin
|
|
|
168
204
|
Follow [`images-unsplash.md`](images-unsplash.md). It is prepare work and needs no live backend.
|
|
169
205
|
|
|
170
206
|
Then update `state.json`: set `stage` to the next prepare stage still to do, fresh `updated_at`. Do
|
|
171
|
-
**not** advance past the barrier here.
|
|
207
|
+
**not** advance past the barrier here. A content subagent skips this: the main agent owns
|
|
208
|
+
`state.json`.
|
|
172
209
|
|
|
173
210
|
---
|
|
174
211
|
|
|
@@ -48,7 +48,8 @@ judges the look in the preview; the rules just make sure it works.
|
|
|
48
48
|
|
|
49
49
|
## Step 1 — Read the workspace, then the resume check
|
|
50
50
|
|
|
51
|
-
Read `brief.md`, `state.json`, and `content-model.md`
|
|
51
|
+
Read `brief.md`, `state.json`, and `content-model.md` once content prepare has finished (not while
|
|
52
|
+
a content subagent is still writing it).
|
|
52
53
|
|
|
53
54
|
- **`design.md` already exists and this is not a redesign** → don't overwrite it. Describe the
|
|
54
55
|
current look in two or three plain sentences and ask: *keep it, or change something?* That is this
|
|
@@ -73,9 +74,9 @@ Before inventing anything, gather what already constrains the design:
|
|
|
73
74
|
|---|---|---|
|
|
74
75
|
| Tone, purpose, audience | `brief.md` → *Tone*, *Purpose*, *Audience* | Sets the mood all three directions must fit |
|
|
75
76
|
| Brand assets | `brief.md` → *Assets* | Logo, brand colours and fonts are **fixed** in every direction. Never recolour a supplied logo; Step 6 uses it instead of drawing an icon |
|
|
76
|
-
| Pages and entities | `content-model.md` → *Navigation*, *Pages*, *Articles*;
|
|
77
|
+
| Pages and entities | `content-model.md` → *Navigation*, *Pages*, *Articles*; until content prepare has finished, `brief.md` → *Pages* | Drives the component inventory and page composition |
|
|
77
78
|
| Reference sites | URLs in the brief or the conversation | Cues to borrow (see below) |
|
|
78
|
-
| Images already sourced | `content-model.md` → the image lines under *Articles*, or the `image` URLs in `content.json` on WordPress (skip
|
|
79
|
+
| Images already sourced | `content-model.md` → the image lines under *Articles*, or the `image` URLs in `content.json` on WordPress (skip until content prepare has finished) | Glance at a few at small size; keep accents from clashing with their dominant colours |
|
|
79
80
|
| Current design (redesign only) | existing `design.md` | What to keep, what to move away from |
|
|
80
81
|
|
|
81
82
|
**Reference sites.** Open each one in a real browser if you have one. Static fetches are often
|
|
@@ -312,8 +313,9 @@ The template's token list is the **minimum**: add what the design needs (`--colo
|
|
|
312
313
|
listed in *Grid, shape & motion* as plain px values.
|
|
313
314
|
|
|
314
315
|
Then update `state.json`: set `"stage": "frontend"` (also for a redesign: restyle, then validate and
|
|
315
|
-
deploy) and `updated_at` to the current UTC time (ISO 8601).
|
|
316
|
-
|
|
316
|
+
deploy) and `updated_at` to the current UTC time (ISO 8601). If a content subagent is still running, leave `stage` alone: you set it once that
|
|
317
|
+
subagent has also reported (top-level `SKILL.md` → *Content and design at the same time*). Don't touch
|
|
318
|
+
`provision` or add other keys.
|
|
317
319
|
|
|
318
320
|
If content prepare hasn't sourced images yet, it now follows `design.md` → **Imagery** (see
|
|
319
321
|
`04-content-model/SKILL.md`).
|