hostinger-api-mcp 3.30.0 → 3.30.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.
Files changed (44) 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/VERSION +2 -2
  6. package/skills/headless/connect/SKILL.md +13 -6
  7. package/skills/headless/connect/tools/antigravity.md +2 -2
  8. package/skills/headless/connect/tools/claude-code.md +2 -2
  9. package/skills/headless/connect/tools/codex.md +4 -4
  10. package/skills/headless/connect/tools/cursor.md +5 -5
  11. package/skills/headless/connect/tools/devin.md +4 -4
  12. package/skills/headless/connect/tools/vscode.md +4 -4
  13. package/skills/headless/steps/03-provision/ecommerce/SKILL.md +1 -1
  14. package/skills/headless/steps/08-deploy/SKILL.md +1 -1
  15. package/src/core/skills.js +27 -27
  16. package/src/core/skills.ts +27 -27
  17. package/src/servers/agency-hosting.js +1 -1
  18. package/src/servers/agency-hosting.ts +1 -1
  19. package/src/servers/agent-readiness.js +1 -1
  20. package/src/servers/agent-readiness.ts +1 -1
  21. package/src/servers/all.js +1 -1
  22. package/src/servers/all.ts +1 -1
  23. package/src/servers/billing.js +1 -1
  24. package/src/servers/billing.ts +1 -1
  25. package/src/servers/dns.js +1 -1
  26. package/src/servers/dns.ts +1 -1
  27. package/src/servers/domains.js +1 -1
  28. package/src/servers/domains.ts +1 -1
  29. package/src/servers/ecommerce.js +1 -1
  30. package/src/servers/ecommerce.ts +1 -1
  31. package/src/servers/gpu.js +1 -1
  32. package/src/servers/gpu.ts +1 -1
  33. package/src/servers/horizons.js +1 -1
  34. package/src/servers/horizons.ts +1 -1
  35. package/src/servers/hosting.js +1 -1
  36. package/src/servers/hosting.ts +1 -1
  37. package/src/servers/mail.js +1 -1
  38. package/src/servers/mail.ts +1 -1
  39. package/src/servers/reach.js +1 -1
  40. package/src/servers/reach.ts +1 -1
  41. package/src/servers/vps.js +1 -1
  42. package/src/servers/vps.ts +1 -1
  43. package/src/servers/wordpress.js +1 -1
  44. 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
+ ## v3.30.1 — 2026-11-05
8
+
9
+ ### Also in this release
10
+
11
+ - Bundled agent skills: 10 files
12
+ - Other files: `src/core/skills.js`, `src/core/skills.ts`
13
+
7
14
  ## v3.30.0 — 2026-11-05
8
15
 
9
16
  ### Operations
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "3.30.0",
3
+ "version": "3.30.1",
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": "3.30.0",
3
+ "version": "3.30.1",
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": "3.30.0",
20
+ "version": "3.30.1",
21
21
  "packages": [
22
22
  {
23
23
  "registryType": "npm",
24
24
  "identifier": "@hostinger/mcp",
25
- "version": "3.30.0",
25
+ "version": "3.30.1",
26
26
  "transport": {
27
27
  "type": "stdio"
28
28
  },
@@ -1,3 +1,3 @@
1
- version=3.30.0
2
- commit=451f245ab30b
1
+ version=3.30.1
2
+ commit=4d02050e3406
3
3
  built=2026-11-05
@@ -107,8 +107,8 @@ hostinger-api-mcp --login
107
107
  hostinger-api-mcp --logout
108
108
 
109
109
  # Without a global install:
110
- npx --yes --package=@hostinger/mcp@latest hostinger-api-mcp --login
111
- npx --yes --package=@hostinger/mcp@latest hostinger-api-mcp --logout
110
+ npx --yes --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-api-mcp --login
111
+ npx --yes --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-api-mcp --logout
112
112
  ```
113
113
 
114
114
  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`.
@@ -127,8 +127,8 @@ one group says nothing about the other:
127
127
 
128
128
  | Group | Operations | Comes from | Needed by |
129
129
  |---|---|---|---|
130
- | **Hosting** | `hosting_*` (websites, deploy, build report), `wordpress_*` | `hostinger` (`npx -y @hostinger/mcp@latest`), or the scoped servers such as `hostinger-hosting` + `hostinger-wordpress` | every build |
131
- | **Ecommerce** | `ecommerce_*` (stores, products, shipping, payments) | **only** `hostinger-ecommerce` (`npx --package=@hostinger/mcp@latest 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) |
130
+ | **Hosting** | `hosting_*` (websites, deploy, build report), `wordpress_*` | `hostinger` (`npx -y --prefix="$HOME" @hostinger/mcp@latest`), or the scoped servers such as `hostinger-hosting` + `hostinger-wordpress` | every build |
131
+ | **Ecommerce** | `ecommerce_*` (stores, products, shipping, payments) | **only** `hostinger-ecommerce` (`npx --prefix="$HOME" --package=@hostinger/mcp@latest 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) |
132
132
 
133
133
  Check each group on its own, right here at connect, before anything else:
134
134
 
@@ -148,8 +148,8 @@ Most coding tools load MCP servers only when they start, so a server registered
148
148
  until the tool restarts. When either tool group above is missing:
149
149
 
150
150
  1. **Register the missing servers** in the tool's MCP config, as the tool route below shows: `hostinger`
151
- (`npx -y @hostinger/mcp@latest`) if the hosting group is missing, and `hostinger-ecommerce`
152
- (`npx --package=@hostinger/mcp@latest hostinger-ecommerce-mcp`) if the ecommerce group is missing.
151
+ (`npx -y --prefix="$HOME" @hostinger/mcp@latest`) if the hosting group is missing, and `hostinger-ecommerce`
152
+ (`npx --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-ecommerce-mcp`) if the ecommerce group is missing.
153
153
  Skip a server that is already registered under its name. When neither group is there, register
154
154
  both: the backend isn't chosen until refine, and one restart then covers every backend.
155
155
  2. **Write `connect.json`** (Phase 3) before you stop. The skill folder from Phase 1 stays in place,
@@ -163,6 +163,13 @@ until the tool restarts. When either tool group above is missing:
163
163
 
164
164
  If a tool loads new servers without a restart (VS Code), use them right away and skip steps 3–4.
165
165
 
166
+ **Every `npx` command and registration keeps `--prefix` set to the user's home folder.** The tool
167
+ starts the server, and you run commands, in the user's project, often a cloned repository or
168
+ template. Without `--prefix`, npm reads the `.npmrc` there, and whoever wrote it can point npx at
169
+ another registry or run their own code. In shell commands write `--prefix="$HOME"` (the shell expands
170
+ it when you register). In JSON or TOML configs replace `<home>` with the home folder's absolute path
171
+ (`echo $HOME`, e.g. `/Users/me` or `C:\\Users\\me`). Never drop the flag or leave `<home>` in place.
172
+
166
173
  | Tool | Route |
167
174
  |-------------|---------------------------------|
168
175
  | Claude Code | `connect/tools/claude-code.md` |
@@ -26,11 +26,11 @@ no tokens to handle:
26
26
  "mcpServers": {
27
27
  "hostinger": {
28
28
  "command": "npx",
29
- "args": ["-y", "@hostinger/mcp@latest"]
29
+ "args": ["-y", "--prefix=<home>", "@hostinger/mcp@latest"]
30
30
  },
31
31
  "hostinger-ecommerce": {
32
32
  "command": "npx",
33
- "args": ["--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"]
33
+ "args": ["--prefix=<home>", "--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"]
34
34
  }
35
35
  }
36
36
  }
@@ -25,8 +25,8 @@ in, so they reuse the cached sign-in (`~/.config/hostinger-mcp/credentials.json`
25
25
  `HOSTINGER_API_TOKEN`) and there are no tokens to handle:
26
26
 
27
27
  ```bash
28
- claude mcp add hostinger --scope user -- npx -y @hostinger/mcp@latest # hosting group missing
29
- claude mcp add hostinger-ecommerce --scope user -- npx --package=@hostinger/mcp@latest hostinger-ecommerce-mcp # ecommerce group missing
28
+ claude mcp add hostinger --scope user -- npx -y --prefix="$HOME" @hostinger/mcp@latest # hosting group missing
29
+ claude mcp add hostinger-ecommerce --scope user -- npx --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-ecommerce-mcp # ecommerce group missing
30
30
  ```
31
31
 
32
32
  Claude Code loads MCP servers only at startup, so follow *register, restart, resume* in
@@ -19,8 +19,8 @@ sign-in (`~/.config/hostinger-mcp/credentials.json`, or `HOSTINGER_API_TOKEN`) a
19
19
  to handle:
20
20
 
21
21
  ```bash
22
- codex mcp add hostinger -- npx -y @hostinger/mcp@latest
23
- codex mcp add hostinger-ecommerce -- npx --package=@hostinger/mcp@latest hostinger-ecommerce-mcp
22
+ codex mcp add hostinger -- npx -y --prefix="$HOME" @hostinger/mcp@latest
23
+ codex mcp add hostinger-ecommerce -- npx --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-ecommerce-mcp
24
24
  ```
25
25
 
26
26
  or add them to `~/.codex/config.toml`:
@@ -28,11 +28,11 @@ or add them to `~/.codex/config.toml`:
28
28
  ```toml
29
29
  [mcp_servers.hostinger]
30
30
  command = "npx"
31
- args = ["-y", "@hostinger/mcp@latest"]
31
+ args = ["-y", "--prefix=<home>", "@hostinger/mcp@latest"]
32
32
 
33
33
  [mcp_servers.hostinger-ecommerce]
34
34
  command = "npx"
35
- args = ["--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"]
35
+ args = ["--prefix=<home>", "--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"]
36
36
  ```
37
37
 
38
38
  Codex loads MCP servers only when it starts, so follow *register, restart, resume* in
@@ -19,7 +19,7 @@ The Hostinger MCP is the npm package `@hostinger/mcp`. You do **not** need a glo
19
19
 
20
20
  ```bash
21
21
  # Verify the package/binary is reachable
22
- npx --yes --package=@hostinger/mcp@latest hostinger-api-mcp --version
22
+ npx --yes --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-api-mcp --version
23
23
  ```
24
24
 
25
25
  ### Option B — global install
@@ -49,11 +49,11 @@ OAuth can run:
49
49
  "mcpServers": {
50
50
  "hostinger": {
51
51
  "command": "npx",
52
- "args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-api-mcp"]
52
+ "args": ["--yes", "--prefix=<home>", "--package=@hostinger/mcp@latest", "hostinger-api-mcp"]
53
53
  },
54
54
  "hostinger-ecommerce": {
55
55
  "command": "npx",
56
- "args": ["--yes", "--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"]
56
+ "args": ["--yes", "--prefix=<home>", "--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"]
57
57
  }
58
58
  }
59
59
  }
@@ -74,7 +74,7 @@ If the connect bootstrap already emitted `logged_in` / `success`, credentials ar
74
74
  Otherwise run the login command. It registers a dynamic OAuth client (once per machine), **opens the user's browser** to Hostinger's authorization page, listens on a localhost callback, stores tokens, and exits:
75
75
 
76
76
  ```bash
77
- npx --yes --package=@hostinger/mcp@latest hostinger-api-mcp --login
77
+ npx --yes --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-api-mcp --login
78
78
  ```
79
79
 
80
80
  (With a global install: `hostinger-api-mcp --login`.)
@@ -95,7 +95,7 @@ They are shared across every Hostinger MCP binary. Expired access tokens refresh
95
95
  To sign out later:
96
96
 
97
97
  ```bash
98
- npx --yes --package=@hostinger/mcp@latest hostinger-api-mcp --logout
98
+ npx --yes --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-api-mcp --logout
99
99
  ```
100
100
 
101
101
  **API token (optional, CI / scripts):** set `HOSTINGER_API_TOKEN` in the environment before launching Cursor. When present it always wins and no OAuth code runs. Do not commit the token.
@@ -21,18 +21,18 @@ tokens to handle.
21
21
  - **Devin CLI:**
22
22
 
23
23
  ```bash
24
- devin mcp add hostinger -- npx -y @hostinger/mcp@latest
25
- devin mcp add hostinger-ecommerce -- npx --package=@hostinger/mcp@latest hostinger-ecommerce-mcp
24
+ devin mcp add hostinger -- npx -y --prefix="$HOME" @hostinger/mcp@latest
25
+ devin mcp add hostinger-ecommerce -- npx --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-ecommerce-mcp
26
26
  ```
27
27
 
28
28
  - **Devin app:** Settings → MCP Marketplace → **Add Your Own**, transport **STDIO**, once per server:
29
29
 
30
30
  ```json
31
- { "command": "npx", "args": ["-y", "@hostinger/mcp@latest"] }
31
+ { "command": "npx", "args": ["-y", "--prefix=<home>", "@hostinger/mcp@latest"] }
32
32
  ```
33
33
 
34
34
  ```json
35
- { "command": "npx", "args": ["--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"] }
35
+ { "command": "npx", "args": ["--prefix=<home>", "--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"] }
36
36
  ```
37
37
 
38
38
  If the tools still aren't in this session, follow *register, restart, resume* in `connect/SKILL.md`:
@@ -26,12 +26,12 @@ no tokens to handle. Add them to `.vscode/mcp.json` (workspace) or your user `se
26
26
  "hostinger": {
27
27
  "type": "stdio",
28
28
  "command": "npx",
29
- "args": ["-y", "@hostinger/mcp@latest"]
29
+ "args": ["-y", "--prefix=<home>", "@hostinger/mcp@latest"]
30
30
  },
31
31
  "hostinger-ecommerce": {
32
32
  "type": "stdio",
33
33
  "command": "npx",
34
- "args": ["--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"]
34
+ "args": ["--prefix=<home>", "--package=@hostinger/mcp@latest", "hostinger-ecommerce-mcp"]
35
35
  }
36
36
  }
37
37
  }
@@ -40,8 +40,8 @@ no tokens to handle. Add them to `.vscode/mcp.json` (workspace) or your user `se
40
40
  Or add them in two commands:
41
41
 
42
42
  ```bash
43
- code --add-mcp '{"name":"hostinger","command":"npx","args":["-y","@hostinger/mcp@latest"]}'
44
- code --add-mcp '{"name":"hostinger-ecommerce","command":"npx","args":["--package=@hostinger/mcp@latest","hostinger-ecommerce-mcp"]}'
43
+ code --add-mcp '{"name":"hostinger","command":"npx","args":["-y","--prefix=<home>","@hostinger/mcp@latest"]}'
44
+ code --add-mcp '{"name":"hostinger-ecommerce","command":"npx","args":["--prefix=<home>","--package=@hostinger/mcp@latest","hostinger-ecommerce-mcp"]}'
45
45
  ```
46
46
 
47
47
  VS Code picks up new servers and their tools become available right away, with no editor restart.
@@ -22,7 +22,7 @@ Provision a **Hostinger Ecommerce** backend for `<domain>` and prove it is ready
22
22
  > aren't (for example, a tool connected before connect registered both servers), register it now. The
23
23
  > command for each tool is in its `connect/tools/<tool>.md`; for Claude Code:
24
24
  > ```bash
25
- > claude mcp add hostinger-ecommerce --scope user -- npx --package=@hostinger/mcp@latest hostinger-ecommerce-mcp
25
+ > claude mcp add hostinger-ecommerce --scope user -- npx --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-ecommerce-mcp
26
26
  > ```
27
27
  > (Or enable the **Ecommerce** MCP in the Hostinger Connector.) A newly added MCP server only loads
28
28
  > after a restart, so pause the run with *register, restart, resume* from `connect/SKILL.md`: save
@@ -15,7 +15,7 @@ This is an **instance-barrier** step: run it only after `provision.status == "co
15
15
  > **Connected to the hosted server (`mcp.hostinger.com`)?** Its `hosting_deploy` deploys Git
16
16
  > repositories only and cannot read a local `path`. Run this step through the local
17
17
  > `hostinger-api-mcp` server instead (see the connect step:
18
- > `npx --yes --package=@hostinger/mcp@latest hostinger-api-mcp`).
18
+ > `npx --yes --prefix="$HOME" --package=@hostinger/mcp@latest hostinger-api-mcp`).
19
19
 
20
20
  > **With a shell and the Hostinger CLI installed**, the same deploy is one command, with the build
21
21
  > settings passed exactly as the table below says. Run it from the project, since it links the current directory: