hostinger-api-mcp 4.13.0 → 4.14.0

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/gemini-extension.json +1 -1
  3. package/package.json +1 -1
  4. package/server.json +2 -2
  5. package/skills/headless/SKILL.md +67 -50
  6. package/skills/headless/VERSION +3 -3
  7. package/skills/headless/connect/SKILL.md +60 -35
  8. package/skills/headless/connect/tools/antigravity.md +4 -6
  9. package/skills/headless/connect/tools/claude-code.md +3 -5
  10. package/skills/headless/connect/tools/codex.md +3 -5
  11. package/skills/headless/connect/tools/cursor.md +4 -5
  12. package/skills/headless/connect/tools/devin.md +4 -6
  13. package/skills/headless/connect/tools/vscode.md +4 -6
  14. package/skills/headless/report.schema.json +1 -1
  15. package/skills/headless/run-log.mjs +42 -13
  16. package/skills/headless/steps/{02-refine → 01-refine}/SKILL.md +51 -22
  17. package/skills/headless/steps/{01-check-state → 02-check-state}/SKILL.md +56 -46
  18. package/skills/headless/steps/03-provision/ecommerce/SKILL.md +1 -1
  19. package/skills/headless/steps/04-content-model/SKILL.md +12 -10
  20. package/skills/headless/steps/09-done/SKILL.md +4 -4
  21. package/src/core/skills.js +47 -47
  22. package/src/core/skills.ts +47 -47
  23. package/src/servers/agency-hosting.js +1 -1
  24. package/src/servers/agency-hosting.ts +1 -1
  25. package/src/servers/agent-readiness.js +1 -1
  26. package/src/servers/agent-readiness.ts +1 -1
  27. package/src/servers/all.js +1 -1
  28. package/src/servers/all.ts +1 -1
  29. package/src/servers/billing.js +1 -1
  30. package/src/servers/billing.ts +1 -1
  31. package/src/servers/dns.js +1 -1
  32. package/src/servers/dns.ts +1 -1
  33. package/src/servers/domains.js +1 -1
  34. package/src/servers/domains.ts +1 -1
  35. package/src/servers/ecommerce.js +1 -1
  36. package/src/servers/ecommerce.ts +1 -1
  37. package/src/servers/gpu.js +1 -1
  38. package/src/servers/gpu.ts +1 -1
  39. package/src/servers/horizons.js +1 -1
  40. package/src/servers/horizons.ts +1 -1
  41. package/src/servers/hosting.js +1 -1
  42. package/src/servers/hosting.ts +1 -1
  43. package/src/servers/mail.js +1 -1
  44. package/src/servers/mail.ts +1 -1
  45. package/src/servers/reach.js +1 -1
  46. package/src/servers/reach.ts +1 -1
  47. package/src/servers/vps.js +1 -1
  48. package/src/servers/vps.ts +1 -1
  49. package/src/servers/wordpress.js +1 -1
  50. package/src/servers/wordpress.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ 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.14.0 — 2026-11-20
8
+
9
+ ### Also in this release
10
+
11
+ - Bundled agent skills: 18 files
12
+ - Other files: `src/core/skills.js`, `src/core/skills.ts`
13
+
7
14
  ## v4.13.0 — 2026-11-19
8
15
 
9
16
  ### Also in this release
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "4.13.0",
3
+ "version": "4.14.0",
4
4
  "description": "Hostinger API — manage domains, DNS, hosting, VPS, billing and more from Gemini CLI.",
5
5
  "mcpServers": {
6
6
  "hostinger": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "4.13.0",
3
+ "version": "4.14.0",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
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.13.0",
20
+ "version": "4.14.0",
21
21
  "packages": [
22
22
  {
23
23
  "registryType": "npm",
24
24
  "identifier": "@hostinger/mcp",
25
- "version": "4.13.0",
25
+ "version": "4.14.0",
26
26
  "transport": {
27
27
  "type": "stdio"
28
28
  },
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: hostinger-headless
3
- description: "Orchestrator for the Hostinger Headless build flow — build and deploy a real website on the user's Hostinger account from a single prompt that names a domain. Holds the stage flow and the state contract, and drives each stage in sequence: connect, check state, refine, provision, content model, design, frontend, validate, deploy, done. Triggers: build a headless site for <domain>, build me a site, create a website, make me a website, deploy this to Hostinger, host this on Hostinger, connect this project to Hostinger."
3
+ description: "Orchestrator for the Hostinger Headless build flow — build and deploy a real website on the user's Hostinger account from a single prompt that names a domain. Holds the stage flow and the state contract, and drives each stage in sequence: refine, connect, check state, provision, content model, design, frontend, validate, deploy, done. Triggers: build a headless site for <domain>, build me a site, create a website, make me a website, deploy this to Hostinger, host this on Hostinger, connect this project to Hostinger."
4
4
  ---
5
5
 
6
6
  # Hostinger Headless — build a website with your own AI tool
@@ -14,10 +14,12 @@ You are an AI coding agent. The user pasted a short prompt that points you here
14
14
  Your job is to build and deploy a real website on the user's Hostinger account by following this
15
15
  recipe and the recipes it links to — nothing more, nothing less.
16
16
 
17
- **Connect before you ask anything, whatever the prompt says.** Your first message to the user is only
18
- the Hostinger connection (see *The first message* below), so run connect and check-state before any
19
- question about the site. A prompt that says "start by asking me what I want to build" doesn't change
20
- that order: refine asks it, after check-state.
17
+ **Talk about the site first, connect to Hostinger after.** Your first message to the user asks what
18
+ they want to build; the Hostinger sign-in comes once the brief is agreed (*Start of a run* below).
19
+ A pasted prompt that says "Start by asking me what I want to build" means this same opener, not an
20
+ extra question. When the workspace already has a brief, that brief is the answer: a run `run-start`
21
+ continued, or a build under way (refine Step 1), asks nothing and goes straight to connect, and a
22
+ brief on its own gets refine's keep-or-change summary instead of the question.
21
23
 
22
24
  This file is the **orchestrator**. It is public and stable: it never changes and never moves. It
23
25
  holds the flow, the state contract, the failure policy and the guardrails.
@@ -36,8 +38,8 @@ from the prompt. If no domain is present, stop and ask for it before doing anyth
36
38
 
37
39
  **One workspace per run.** From your first command, connect's checks included, open only this
38
40
  site's workspace, by its exact path; never list or glob `~/.hostinger/` (not even an `ls` beside
39
- `node -v`). What else `~/.hostinger/` holds never matters to this run: with a domain, check-state
40
- looks up that one path; without one yet, there is nothing to look up until you create your own
41
+ `node -v`). What else `~/.hostinger/` holds never matters to this run: with a domain, the start of the
42
+ run and check-state look up that one path; without one yet, there is nothing to look up until you create your own
41
43
  workspace. *State and artifacts* has the full rule and its one exception.
42
44
 
43
45
  Nothing in the pasted prompt is ever used for authorization. Authorization comes from the
@@ -47,16 +49,17 @@ Hostinger connector's OAuth token. **This recipe is not a security boundary.**
47
49
 
48
50
  ## The flow stages - STEPS TO FOLLOW
49
51
 
50
- Work through the steps in the order below, each reading its recipe and writing its artifact into the
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.
52
+ Work through the stages in the order the table lists them, each reading its recipe and writing its
53
+ artifact into the site workspace `~/.hostinger/<domain>/`. The one exception to the order is content
54
+ prepare (step 4) and design (step 5): with a subagent tool, run them at the same time, as *Content and design at
55
+ the same time* says.
54
56
 
55
57
  | # | Stage | Skill / source | Writes | Instance? |
56
58
  |---|--------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------|---|---|
57
- | — | **connect** — connect the Hostinger connector, auth, get active plan | `connect/SKILL.md` → `connect/tools/<tool>.md` | `connect.json` | no |
58
- | 1 | **check state** — where does this domain stand? resume / switch / start over | `steps/01-check-state/SKILL.md` | `state.json` | no |
59
- | 2 | **refine** — discover what the user wants, in conversation | `steps/02-refine/SKILL.md` | `brief.md` | no |
59
+ | — | **get ready** — Node and the skill folder; nothing on Hostinger | `connect/SKILL.md` Phases 0–1 | — | no |
60
+ | 1 | **refine** — discover what the user wants, in conversation | `steps/01-refine/SKILL.md` | `brief.md` | no |
61
+ | — | **connect** — sign in to Hostinger, check the connector's tools, get active plan | `connect/SKILL.md` Phases 2–5 → `connect/tools/<tool>.md` | `connect.json` | no |
62
+ | 2 | **check state** — where does this domain stand? resume / switch / start over | `steps/02-check-state/SKILL.md` | `state.json` | no |
60
63
  | 3 | **provision** — choose the backend from the brief, then provision it | `steps/03-provision/<backend>/SKILL.md` | `site.json` | **bg** — fire, then wait at the join |
61
64
  | 4 | **content model** — define + create content/images, then push to the backend | `steps/04-content-model/<backend>/SKILL.md` | `content-model.md` | prepare: no · **push: yes** |
62
65
  | 5 | **design** — derive design directions from the brief, pick one, write the `design.md` contract + logo | `steps/05-design/SKILL.md` | `design.md`, `brand/` | no |
@@ -65,19 +68,34 @@ says.
65
68
  | 8 | **deploy** — upload source, trigger the build | `steps/08-deploy/SKILL.md` | `deploy.json` | **yes** |
66
69
  | 9 | **done** — hand over URLs, dashboard, summary, next steps (the **final report**) | `steps/09-done/SKILL.md` | — | no |
67
70
 
68
- **The most important is that connect stage runs first and always**
69
- It's fetched from the public URL and runs *before* the Hostinger MCP Server
70
- is loaded, the main goal of this is to have the Hostinger MCP Server.
71
-
72
- You can find those connect skills under `connect/`.
73
- The main skill lives in `connect/SKILL.md`.
74
- There are also specific tools under `connect/tools/`.
75
-
76
- The other 9 numbered steps live under `steps/` and are read from the installed skill folder (this will be guided in connect step).
71
+ ### Start of a run
72
+
73
+ Every run starts the same way:
74
+
75
+ 1. **Get ready** (`connect/SKILL.md`, Phases 0–1): check Node and find or install the skill folder
76
+ `<skill>`, which holds every step below and the scripts they run. Say nothing unless it needs the
77
+ user (Node missing or too old).
78
+ 2. **Start the run log** (see *Run log and build report*):
79
+ `node <skill>/run-log.mjs <domain> run-start --tool <tool> --model <model> --skill <skill version>`.
80
+ It prints the stage to run next: `refine` for a new run, or `connect` when it continued a run that
81
+ paused cleanly for a tool restart (*register, restart, resume* in `connect/SKILL.md`, from connect,
82
+ provision or content model). Don't ask the brief again then: it's agreed, and check-state resumes
83
+ where the run paused.
84
+ 3. **Refine**, then **connect** (`connect/SKILL.md`, Phase 2 onward), then **check-state**, then the
85
+ rest of the table. When a later stage sends the run back to refine (check-state or provision), the
86
+ connector is already in this session: refine returns to the stage that sent it.
87
+
88
+ **Why this order.** Refine first, so the user talks about their site from the first message instead
89
+ of watching setup: a user who starts with chores loses interest before the site comes up, and refine
90
+ needs nothing from Hostinger. Connect once the brief is agreed, because everything after refine needs
91
+ Hostinger. Check-state right after connect, so a resumed, duplicate, or brand-new run is sorted out
92
+ — and the user is offered the choice to continue, switch domains, or start over — before any new
93
+ work on Hostinger begins. Refinement before provisioning, because the backend cannot be chosen until
94
+ the brief exists. Validation before deploy, always — nothing reaches the live domain unseen.
77
95
 
78
96
  **One concurrency rule:** two *independent* stages in a single session may run at once, but never
79
97
  two writers of the same artifact, and never two agents/windows on the same domain — the `.lock`
80
- (Step 1) guards that. Parallelism is always *optional*: an agent that can't interleave work runs the
98
+ (check-state, Step 1) guards that. Parallelism is always *optional*: an agent that can't interleave work runs the
81
99
  steps serially and is still correct (see *Content and design at the same time*).
82
100
 
83
101
  Steps can generate **State files** those files are only hints; the truth is what the Hostinger connector reports, so
@@ -101,22 +119,15 @@ alone, with no final report and no build report.
101
119
  `run-log.mjs next <stage>` at each boundary — and log an event the moment something goes wrong, the user
102
120
  corrects you, or a skill is missing or wrong — before you continue. See *Run log and build report*.
103
121
 
104
- **Why this order.** connect first, so account/plan failures surface before the user spends time
105
- talking. Check-state right after, so a resumed, duplicate, or brand-new run is sorted out — and the
106
- user is offered the choice to continue, switch domains, or start over — before any new work begins.
107
- Refinement before provisioning, because the backend cannot be chosen until the brief exists.
108
- Validation before deploy, always — nothing reaches the live domain unseen.
109
-
110
- ### The first message: only the connection
122
+ ### The first message: a question about the site
111
123
 
112
- Your first message to the user is about the Hostinger connection and nothing else: connect's sign-in
113
- link when it needs one (`awaiting_user`), then one line saying you're connected to Hostinger, with the
114
- account's plan when you know it. Don't ask anything about the site, don't mention build reports, and
115
- add nothing else. Then go straight on to check-state without waiting for a reply. "What do you want
116
- to build?" comes later, from refine, as its own short message.
117
-
118
- Anything the pasted prompt already says about the site stays as refine input. The one exception to
119
- this rule is a prompt with no domain: then the first message asks for it (see *The domain parameter*).
124
+ Your first message to the user is refine's opener, "What do you want to build?" (see
125
+ `steps/01-refine/SKILL.md`, Step 3), and its first words are that question: get ready and `run-start`
126
+ happen silently before it, with no line about Node, the skill folder or the run log. Anything the
127
+ pasted prompt already says about the site is refine input. Two things come before it, and only when
128
+ they apply: Node missing or too old (get ready needs the user), and a prompt with no domain (then
129
+ the first message asks for it; see *The domain parameter*). A run that `run-start` continued goes
130
+ straight to connect, which has its own message.
120
131
 
121
132
  ### When you ask the user
122
133
 
@@ -188,13 +199,13 @@ makes the overlap safe:
188
199
 
189
200
  Content prepare and design are the two slow prepare stages, and neither needs the other. **If you
190
201
  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
202
+ subagent as soon as provision fires, before you do any content work yourself**, and design while it
193
203
  runs. A helper you use only to fetch pages doesn't count. **If you have none, run content prepare
194
204
  then design, one after the other**, as the table lists them. Either way the output is the same.
195
205
 
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*).
206
+ 1. **Have the image source ready.** A subagent can't talk to the user, so content's one choice, the
207
+ image source, comes from `brief.md` (`steps/04-content-model/SKILL.md` → *Images*) before you
208
+ launch it.
198
209
  2. **Launch the content subagent** with the instructions in `steps/04-content-model/SKILL.md` →
199
210
  *Prepare in a subagent*. It does all of content prepare; nothing else writes its files while it
200
211
  runs.
@@ -261,8 +272,8 @@ took from it.
261
272
  |---|---|---|
262
273
  | `state.json` | every stage | tool, next stage, Hostinger connector version, timestamps |
263
274
  | `run-log.json` | `run-log.mjs` only | the current run, each stage's start and end times, which reports reached Hostinger |
275
+ | `brief.md` | refine | refined brief, audience, tone, pages, must-haves, image source |
264
276
  | `connect.json` | connect | tool, MCP version, sign-in method, plan; shape in `connect/SKILL.md` |
265
- | `brief.md` | refine | refined brief, audience, tone, pages, must-haves |
266
277
  | `site.json` | provision | chosen backend, username, install id, all URLs |
267
278
  | `content-model.md` | content model | entities, fields, pages, navigation |
268
279
  | `content.json` | content model (WordPress) | the drafted content `push-content.mjs` pushes |
@@ -317,7 +328,7 @@ Every command is `node <skill>/run-log.mjs <domain> …`, where `<skill>` is the
317
328
  in. Write it out in full each time (a shell variable holding the command breaks in zsh):
318
329
 
319
330
  ```bash
320
- node <skill>/run-log.mjs <domain> run-start --tool <tool> --model <model> --skill <skill version> # check-state, first thing
331
+ node <skill>/run-log.mjs <domain> run-start --tool <tool> --model <model> --skill <skill version> # start of the run; prints the stage to run next
321
332
  node <skill>/run-log.mjs <domain> run-update --kind resume # check-state, once the route is agreed (or redesign / iterate)
322
333
  node <skill>/run-log.mjs <domain> next frontend # at a stage boundary: ends the open stage as ok, starts this one
323
334
  node <skill>/run-log.mjs <domain> next frontend --phase shell # split stages log each phase
@@ -350,13 +361,19 @@ node <skill>/run-log.mjs <domain> stage-end content_model ok --phase prepare #
350
361
  same session (a layout fix, a copy tweak, a redeploy), that work belongs to the run it follows:
351
362
  call `run-resume`, log the feedback and the stages it re-runs as usual, then `report` again. That
352
363
  rewrites the same `reports/<run>.json` and `.html`, so you get one report that includes the follow-up,
353
- not a second report that replaces `report.html`. Use `run-start` only in a new session; check-state
354
- does that.
364
+ not a second report that replaces `report.html`. Use `run-start` only in a new session, at the start
365
+ of the run (*Start of a run*).
366
+
367
+ **A restart pause continues the run.** When a stage stops for the user to restart their tool, leave
368
+ its stage open and delete the `.lock`: the next session's `run-start` continues a run whose only open
369
+ stage is `connect`, `provision` or `content_model` and whose `.lock` is gone, instead of closing it as
370
+ `abandoned`, and opens connect. A `.lock` left behind means a crash or another window, not a pause.
355
371
 
356
372
  `stage-end` results: `ok`, `ok_after_retries`, `ok_with_fixups`, `failed`, `skipped`, `stopped`.
357
- Stages: `check_state`, `refine`, `provision`, `content_model`, `design`, `frontend`, `validate`,
358
- `deploy`, `done` (connect has its own `connect.json`). Split stages use `--phase`: provision `fire` /
359
- `join`, content model `prepare` / `push`, frontend `shell` / `data`.
373
+ Stages, in run order: `refine`, `connect`, `check_state`, `provision`, `content_model`, `design`,
374
+ `frontend`, `validate`, `deploy`, `done`. Get ready runs before the log starts and isn't logged.
375
+ Split stages use `--phase`: provision `fire` / `join`, content model `prepare` / `push`, frontend
376
+ `shell` / `data`.
360
377
 
361
378
  **Forgot a `stage-start`?** Log it as soon as you notice, with roughly when the stage began:
362
379
  `stage-start frontend --started-ago 6m` (or `--started-at <ISO time>`). The same flags work on a
@@ -1,3 +1,3 @@
1
- version=4.13.0
2
- commit=dd171a2383cf
3
- built=2026-11-19
1
+ version=4.14.0
2
+ commit=a1cdc8f72371
3
+ built=2026-11-20
@@ -1,11 +1,20 @@
1
1
  ---
2
2
  name: hostinger-headless-connect
3
- description: "Connect step for the Hostinger Headless flow — verify Node, run the bootstrap (reach the Hostinger MCP server + OAuth sign-in), then route to the matching coding-tool skill under tools/ so MCP tools and skills are available before the build steps run. Triggers: connect to Hostinger, set up the Hostinger connector, start a headless build."
3
+ description: "Connect step for the Hostinger Headless flow, in two parts: get ready (verify Node, find or install the skill folder) before refine, then, once the brief is agreed, run the bootstrap (reach the Hostinger MCP server + OAuth sign-in) and route to the matching coding-tool skill under tools/ so the MCP tools are available before check-state. Triggers: connect to Hostinger, set up the Hostinger connector, start a headless build."
4
4
  ---
5
5
 
6
6
  # Hostinger Headless Skill — connect
7
7
 
8
- You are a coding agent, and this is a skill for you to execute. Follow the phases below in order.
8
+ You are a coding agent, and this is a skill for you to execute. Follow the phases below in order,
9
+ in two parts with refine in between:
10
+
11
+ - **Get ready** (Phases 0–1) runs first in every run, before any message to the user, and touches
12
+ nothing on Hostinger: Node and the skill folder.
13
+ - **Connect** (Phases 2–5) runs once `brief.md` is written: the Hostinger sign-in, the connector's
14
+ tools and `connect.json`, then check-state.
15
+
16
+ The user talks about their site before any setup they'd have to watch (see *Start of a run* in
17
+ `<skill>/SKILL.md`).
9
18
 
10
19
  This skill goal is to help you to connect to Hostinger via MCP. That can be done via Hostinger Connector or adding the MCP via MCP Server.
11
20
 
@@ -28,9 +37,7 @@ If that errors (Node not installed) or prints a version below 20, install or upg
28
37
  - Linux: `nvm install 22 && nvm use 22` (or your distro's Node 20+ package)
29
38
  - Windows: `winget install OpenJS.NodeJS.LTS` (or download from nodejs.org)
30
39
 
31
- ## Phase 1 — Get the skill folder, then run its bootstrap (deterministic)
32
-
33
- ### Find or install the skill folder
40
+ ## Phase 1 — Find or install the skill folder
34
41
 
35
42
  The bootstrap script and every step after connect ship in the `headless/` skill folder. Use the copy
36
43
  you already have; never fetch single files from GitHub.
@@ -70,9 +77,19 @@ The printed path is `<skill>`. Every later command uses it in full, wherever the
70
77
  directory is. A new release installs into its own folder, so a run never uses a deleted, legacy flow.
71
78
 
72
79
  Read `<skill>/VERSION`: its line 1 is the skills version this run uses, which goes into
73
- `connect.json` (Phase 3).
80
+ `connect.json` (Phase 4).
81
+
82
+ That's get ready. Go back to *Start of a run* in `<skill>/SKILL.md`: refine runs next, and connect
83
+ picks up at Phase 2 once `brief.md` is written.
74
84
 
75
- ### Run the bootstrap
85
+ ## Phase 2 — Sign in: run the bootstrap (deterministic)
86
+
87
+ Start connect's stage in the run log: `node <skill>/run-log.mjs <domain> next connect` (it ends
88
+ refine's, and does nothing when `run-start` continued a run already in connect).
89
+
90
+ Phases 2–4 run without status lines. The user sees only the sign-in link when this phase needs one,
91
+ a failure's `detail` if one stops connect, and then Phase 5's one connected line (or, instead, the
92
+ restart request).
76
93
 
77
94
  Run the bundled script. It verifies the MCP server and handles sign-in, emitting one JSON event per line on stdout. Run it as a background/streaming process. Show the user only the sign-in URL (`awaiting_user`) or a
78
95
  failure's `detail`, and handle the other events silently (table below).
@@ -89,11 +106,11 @@ The script emits one JSON object per line:
89
106
 
90
107
  | Event | What to do |
91
108
  | --- |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
92
- | `launcher` (`command`, `args`) | How to start the MCP server: use these for every registration (Phase 2). |
109
+ | `launcher` (`command`, `args`) | How to start the MCP server: use these for every registration (Phase 3). |
93
110
  | `mcp_ok` | MCP server reachable — continue. |
94
111
  | `logged_in` | Already authenticated (env token or a previous sign-in) — continue. |
95
112
  | `awaiting_user` (`verificationUri`) | A browser window should have opened on the user's machine. Show the URL in plain prose and wait for the user to finish signing in. The OAuth callback lands on a localhost port, so the sign-in must be completed on this same machine. |
96
- | `success` | Bootstrap done — continue to Phase 2. |
113
+ | `success` | Bootstrap done — continue to Phase 3. |
97
114
  | `launcher_failed` / `mcp_unreachable` / `login_failed` (with `detail`) | Stop and show the user the `detail`. Do not improvise a parallel setup by hand. |
98
115
 
99
116
  If the environment has a `HOSTINGER_API_TOKEN` set (for example CI), the bootstrap reports `logged_in` immediately — no browser needed.
@@ -114,7 +131,7 @@ cd "$HOME" && node "$HOME/.hostinger/mcp/launch.mjs" --logout
114
131
 
115
132
  Credentials live in `~/.config/hostinger-mcp/credentials.json` (macOS/Linux) or `%APPDATA%\hostinger-mcp\credentials.json` (Windows) and are shared by every Hostinger MCP binary. OAuth works only when the tool runs the server over its default local (stdio) transport, which is what every registration below uses; `--http` needs `HOSTINGER_API_TOKEN`.
116
133
 
117
- ## Phase 2 - Route to the specific tool instructions
134
+ ## Phase 3 - Route to the specific tool instructions
118
135
 
119
136
  **Use the Hostinger connector only through your tool's native MCP tools** (`mcp__hostinger__*`,
120
137
  `mcp__hostinger-*__*`, or however your tool names them). Never spawn the MCP server yourself and
@@ -129,7 +146,7 @@ one group says nothing about the other:
129
146
  | Group | Operations | Comes from | Needed by |
130
147
  |---|---|---|---|
131
148
  | **Hosting** | `hosting_*` (websites, deploy, build report), `wordpress_*` | `hostinger` (`<command> <launcher>`), or the scoped servers such as `hostinger-hosting` + `hostinger-wordpress` | every build |
132
- | **Ecommerce** | `ecommerce_*` (stores, products, shipping, payments) | **only** `hostinger-ecommerce` (`<command> <launcher> hostinger-ecommerce-mcp`), or the Ecommerce MCP in the Hostinger Connector. Neither `hostinger` nor the scoped hosting servers include it | Ecommerce backends (chosen later, in refine) |
149
+ | **Ecommerce** | `ecommerce_*` (stores, products, shipping, payments) | **only** `hostinger-ecommerce` (`<command> <launcher> hostinger-ecommerce-mcp`), or the Ecommerce MCP in the Hostinger Connector. Neither `hostinger` nor the scoped hosting servers include it | Ecommerce backends (`brief.md` → **Suggested backend**) |
133
150
 
134
151
  Check each group on its own, right here at connect, before anything else:
135
152
 
@@ -137,11 +154,12 @@ Check each group on its own, right here at connect, before anything else:
137
154
  - **Ecommerce:** a tool from the `hostinger-ecommerce` server is in the session (Claude Code:
138
155
  `mcp__hostinger-ecommerce__*`), and its search finds `ecommerce_stores_list` (e.g. search "list stores").
139
156
 
140
- Only when **both** pass are the Hostinger tools "in this session". If either is missing, the tools
141
- are **not** in this session: follow *register, restart, resume* below for the missing server(s) now,
142
- even though other Hostinger tools respond. Don't wait for refine to choose a backend: the restart
143
- costs the least before the user has been asked anything, and finding the gap at provision forces a
144
- second restart in the middle of the build.
157
+ Only when **both** pass are the Hostinger tools "in this session". If either is missing, register the
158
+ missing server(s) now (*register, restart, resume* below), even though other Hostinger tools respond.
159
+ Whether you then pause for a restart depends on what this build needs: the hosting group always, the
160
+ ecommerce group only when `brief.md`'s **Suggested backend** includes Ecommerce. A missing ecommerce
161
+ group on any other backend is registered for later sessions, and the run carries on without a
162
+ restart. A gap found at provision would force a restart in the middle of the build.
145
163
 
146
164
  ### When the Hostinger tools aren't in this session: register, restart, resume
147
165
 
@@ -152,17 +170,20 @@ until the tool restarts. When either tool group above is missing:
152
170
  (`<command> <launcher>`) if the hosting group is missing, and `hostinger-ecommerce`
153
171
  (`<command> <launcher> hostinger-ecommerce-mcp`) if the ecommerce group is missing.
154
172
  Skip a server that is already registered under its name. When neither group is there, register
155
- both: the backend isn't chosen until refine, and one restart then covers every backend.
156
- 2. **Write `connect.json`** (Phase 3) before you stop. The skill folder from Phase 1 stays in place,
157
- so the next run starts from it.
158
- 3. **Send the first message and end your turn.** It follows *The first message* in
159
- `<skill>/SKILL.md`: the sign-in link if one was needed, then one line saying Hostinger is set up
160
- and asking the user to restart the tool (the route says how) and paste the same prompt again so the
161
- build continues from there. This is a pause, not a run ending: no final report and no build report.
162
- 4. **On the next run** the tools are loaded, so connect skips registration and check-state resumes the
163
- domain's workspace.
164
-
165
- If a tool loads new servers without a restart (VS Code), use them right away and skip steps 3–4.
173
+ both, whatever the brief's backend: one restart then covers every backend.
174
+ 2. **Write `connect.json`** (Phase 4) before you stop. The skill folder from Phase 1 and `brief.md`
175
+ stay in place, so the next run starts from them.
176
+ 3. **Pause and end your turn.** Send one line saying Hostinger is set up and the plan is saved,
177
+ asking the user to restart the tool (the route says how) and paste the same prompt again so the
178
+ build continues from there. Leave the current stage open in the run log (connect's, or provision's
179
+ or content model's when they pause here), and delete `~/.hostinger/<domain>/.lock`: this session
180
+ ends here. This is a pause, not a run ending: no final report and no build report.
181
+ 4. **On the next run** `run-start` continues this run at connect (*Start of a run* in
182
+ `<skill>/SKILL.md`), so the brief isn't asked again. Connect finds the tools loaded, skips
183
+ registration, and the run goes on to check-state, which resumes where the run paused.
184
+
185
+ If a tool loads new servers without a restart (VS Code), use them right away and skip steps 3–4. Skip
186
+ them too when the only missing group is one this build doesn't need (above).
166
187
 
167
188
  **Every registration and every command that starts the MCP server goes through the launcher**
168
189
  (`~/.hostinger/mcp/launch.sh` and `launch.mjs`, which the bootstrap writes): never `npx` directly, with or without
@@ -199,13 +220,15 @@ remove it and register it again through the launcher, then follow *register, res
199
220
  If the user's tool isn't listed yet, connect it the generic way: register both Hostinger MCP servers
200
221
  in that tool's MCP config (command `<command>`, args `<launcher>` as above), then follow *register, restart, resume*.
201
222
 
223
+ Once your tool's route has both groups in the session, come back here for Phase 4.
224
+
202
225
  ### The skills come from Phase 1 only
203
226
 
204
227
  The tool routes don't download the skills: Phase 1 already found or installed `<skill>`. The bundle
205
228
  ships a `<skill>/VERSION` stamp (`version=<semver>` on line 1, then `commit` and `built`); carry the
206
- version into `connect.json` (Phase 3) so the build report records which skills ran.
229
+ version into `connect.json` (Phase 4) so the build report records which skills ran.
207
230
 
208
- ## Phase 3 - Write `connect.json`
231
+ ## Phase 4 - Write `connect.json`
209
232
 
210
233
  Once the tool is connected, write `~/.hostinger/<domain>/connect.json` (create the folder if it is
211
234
  missing) in exactly this shape:
@@ -215,8 +238,8 @@ missing) in exactly this shape:
215
238
  "order_id": null, "plan": null, "connected_at": "2026-10-28T10:46:12Z" }
216
239
  ```
217
240
 
218
- - `tool`: the `<tool>` from the Phase 2 route (`claude-code`, `codex`, `cursor`, `vscode`,
219
- `antigravity`, `devin`, or a short lowercase name for an unlisted tool), the same value later
241
+ - `tool`: the `<tool>` from the Phase 3 route (`claude-code`, `codex`, `cursor`, `vscode`,
242
+ `antigravity`, `devin`, or a short lowercase name for an unlisted tool), the same value
220
243
  passed to `run-start --tool`.
221
244
  - `mcp`: one string, `hostinger-api-mcp <version>`, with the `version` from the `mcp_ok` event.
222
245
  Never an object.
@@ -228,11 +251,13 @@ missing) in exactly this shape:
228
251
 
229
252
  Extra keys are allowed, but keep these seven as above: the build report reads `tool`, `mcp` and `skills`.
230
253
 
231
- ## Phase 4 - Continue to Headless Hosting steps
254
+ ## Phase 5 - Continue to check-state
232
255
 
233
- Once everything is verified and you have the Hostinger MCP Server and the skills, tell the user in
234
- one line that you're connected to Hostinger, as *The first message* in `<skill>/SKILL.md` describes.
235
- Then go back to `<skill>/SKILL.md` and continue with check-state without waiting for a reply.
256
+ Once everything is verified and you have the Hostinger MCP Server, tell the user in one line that
257
+ you're connected to Hostinger, with the account's plan when you know it. That line is connect's whole
258
+ message, after the sign-in link when Phase 2 needed one: don't mention build reports, and don't
259
+ repeat the plan. Then go back to `<skill>/SKILL.md` and continue with check-state without waiting for
260
+ a reply. Refine already ran, so don't start the flow over.
236
261
 
237
262
 
238
263
  ## Reference Sources
@@ -37,13 +37,11 @@ no tokens to handle:
37
37
  ```
38
38
 
39
39
  Antigravity loads MCP servers only when the editor starts, so follow *register, restart, resume* in
40
- `connect/SKILL.md`: write `connect.json`, then ask the user to fully quit and reopen
41
- Antigravity and paste the same prompt. Never spawn the server yourself or write a JSON-RPC client to
40
+ `connect/SKILL.md`, which says when a restart is needed. When it is, ask the user to fully quit and
41
+ reopen Antigravity and paste the same prompt. Never spawn the server yourself or write a JSON-RPC client to
42
42
  reach it.
43
43
 
44
44
  ## Step 2 — Hand off
45
45
 
46
- The skills are already in place: Phase 1 of `connect/SKILL.md` found the installed `<skill>`
47
- folder or installed it from the `@hostinger/mcp` release. Don't download them again here. Read the
48
- `<skill>/VERSION` stamp (record it in `connect.json`), open `<skill>/SKILL.md` and follow its
49
- steps. That skill owns the rest of the run.
46
+ The skills are already in place: Phase 1 of `connect/SKILL.md` found `<skill>` and its
47
+ `<skill>/VERSION` stamp. Go back to `connect/SKILL.md`, Phase 4.
@@ -30,13 +30,11 @@ claude mcp add hostinger-ecommerce --scope user -- "<command>" "<launcher>" host
30
30
  ```
31
31
 
32
32
  Claude Code loads MCP servers only at startup, so follow *register, restart, resume* in
33
- `connect/SKILL.md`: write `connect.json`, then ask the user to exit Claude Code, start it
33
+ `connect/SKILL.md`, which says when a restart is needed. When it is, ask the user to exit Claude Code, start it
34
34
  again in the same folder (`claude`, or `claude --continue` to keep this conversation) and paste the
35
35
  same prompt. Never spawn the server yourself or write a JSON-RPC client to reach it.
36
36
 
37
37
  ## Step 2 — Hand off
38
38
 
39
- The skills are already in place: Phase 1 of `connect/SKILL.md` found the installed `<skill>`
40
- folder or installed it from the `@hostinger/mcp` release. Don't download them again here. Read the
41
- `<skill>/VERSION` stamp (record it in `connect.json`), open `<skill>/SKILL.md` and follow its
42
- steps. That skill owns the rest of the run.
39
+ The skills are already in place: Phase 1 of `connect/SKILL.md` found `<skill>` and its
40
+ `<skill>/VERSION` stamp. Go back to `connect/SKILL.md`, Phase 4.
@@ -36,12 +36,10 @@ args = ["<launcher>", "hostinger-ecommerce-mcp"]
36
36
  ```
37
37
 
38
38
  Codex loads MCP servers only when it starts, so follow *register, restart, resume* in
39
- `connect/SKILL.md`: write `connect.json`, then ask the user to restart Codex and paste the
39
+ `connect/SKILL.md`, which says when a restart is needed. When it is, ask the user to restart Codex and paste the
40
40
  same prompt. Never spawn the server yourself or write a JSON-RPC client to reach it.
41
41
 
42
42
  ## Step 2 — Hand off
43
43
 
44
- The skills are already in place: Phase 1 of `connect/SKILL.md` found the installed `<skill>`
45
- folder or installed it from the `@hostinger/mcp` release. Don't download them again here. Read the
46
- `<skill>/VERSION` stamp (record it in `connect.json`), open `<skill>/SKILL.md` and follow its
47
- steps. That skill owns the rest of the run.
44
+ The skills are already in place: Phase 1 of `connect/SKILL.md` found `<skill>` and its
45
+ `<skill>/VERSION` stamp. Go back to `connect/SKILL.md`, Phase 4.
@@ -60,7 +60,8 @@ OAuth can run:
60
60
  ```
61
61
 
62
62
  Cursor loads MCP servers only when the editor starts, so after Step 2 write `connect.json` and follow
63
- *register, restart, resume* in `connect/SKILL.md`: ask the user to fully quit and reopen Cursor
63
+ *register, restart, resume* in `connect/SKILL.md`, which says when a restart is needed. When it is,
64
+ ask the user to fully quit and reopen Cursor
64
65
  (and, if Cursor asks, enable the two Hostinger servers under Settings → MCP), then paste the same
65
66
  prompt. Never spawn the server yourself or write a JSON-RPC client to reach it: every connector call
66
67
  must be a native MCP tool call.
@@ -102,7 +103,5 @@ cd "$HOME" && node "$HOME/.hostinger/mcp/launch.mjs" --logout
102
103
 
103
104
  ## Step 3 — Hand off
104
105
 
105
- The skills are already in place: Phase 1 of `connect/SKILL.md` found the installed `<skill>`
106
- folder or installed it from the `@hostinger/mcp` release. Don't download them again here. Read the
107
- `<skill>/VERSION` stamp (record it in `connect.json`), open `<skill>/SKILL.md` and follow its
108
- steps. That skill owns the rest of the run.
106
+ The skills are already in place: Phase 1 of `connect/SKILL.md` found `<skill>` and its
107
+ `<skill>/VERSION` stamp. Go back to `connect/SKILL.md`, Phase 4.
@@ -35,14 +35,12 @@ tokens to handle.
35
35
  { "command": "<command>", "args": ["<launcher>", "hostinger-ecommerce-mcp"] }
36
36
  ```
37
37
 
38
- If the tools still aren't in this session, follow *register, restart, resume* in `connect/SKILL.md`:
39
- write `connect.json`, then ask the user to restart the Devin session (on Devin Desktop,
38
+ If the tools still aren't in this session, follow *register, restart, resume* in `connect/SKILL.md`,
39
+ which says when a restart is needed. When it is, ask the user to restart the Devin session (on Devin Desktop,
40
40
  fully quit and reopen the app) and paste the same prompt. Never spawn the server yourself or write a
41
41
  JSON-RPC client to reach it.
42
42
 
43
43
  ## Step 2 — Hand off
44
44
 
45
- The skills are already in place: Phase 1 of `connect/SKILL.md` found the installed `<skill>`
46
- folder or installed it from the `@hostinger/mcp` release. Don't download them again here. Read the
47
- `<skill>/VERSION` stamp (record it in `connect.json`), open `<skill>/SKILL.md` and follow its
48
- steps. That skill owns the rest of the run.
45
+ The skills are already in place: Phase 1 of `connect/SKILL.md` found `<skill>` and its
46
+ `<skill>/VERSION` stamp. Go back to `connect/SKILL.md`, Phase 4.
@@ -48,13 +48,11 @@ VS Code picks up new servers and their tools become available right away, with n
48
48
  (Alternatively, the official Hostinger Connector extension installs the same server:
49
49
  `code --install-extension hostinger-official.hostinger-connector`.)
50
50
 
51
- If the tools still don't show up, follow *register, restart, resume* in `connect/SKILL.md`: write
52
- `connect.json`, then ask the user to run **Developer: Reload Window** and paste the same
51
+ If the tools still don't show up, follow *register, restart, resume* in `connect/SKILL.md`, which
52
+ says when a restart is needed. When it is, ask the user to run **Developer: Reload Window** and paste the same
53
53
  prompt. Never spawn the server yourself or write a JSON-RPC client to reach it.
54
54
 
55
55
  ## Step 2 — Hand off
56
56
 
57
- The skills are already in place: Phase 1 of `connect/SKILL.md` found the installed `<skill>`
58
- folder or installed it from the `@hostinger/mcp` release. Don't download them again here. Read the
59
- `<skill>/VERSION` stamp (record it in `connect.json`), open `<skill>/SKILL.md` and follow its
60
- steps. That skill owns the rest of the run.
57
+ The skills are already in place: Phase 1 of `connect/SKILL.md` found `<skill>` and its
58
+ `<skill>/VERSION` stamp. Go back to `connect/SKILL.md`, Phase 4.
@@ -62,7 +62,7 @@
62
62
  "type": "object",
63
63
  "required": ["stage", "started_at", "ended_at", "result"],
64
64
  "properties": {
65
- "stage": { "type": "string", "enum": ["connect", "check_state", "refine", "provision", "content_model", "design", "frontend", "validate", "deploy", "done"] },
65
+ "stage": { "type": "string", "enum": ["refine", "connect", "check_state", "provision", "content_model", "design", "frontend", "validate", "deploy", "done"] },
66
66
  "phase": { "type": ["string", "null"] },
67
67
  "started_at": { "type": "string" },
68
68
  "ended_at": { "type": ["string", "null"] },