hostinger-api-mcp 4.0.6 → 4.2.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.
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.2.0 — 2026-11-16
8
+
9
+ ### Also in this release
10
+
11
+ - Dependencies: `package-lock.json`
12
+ - Bundled agent skills: `skills/headless/VERSION`
13
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
14
+
15
+ ## v4.1.0 — 2026-11-16
16
+
17
+ ### Also in this release
18
+
19
+ - Bundled agent skills: `skills/headless/VERSION`
20
+
7
21
  ## v4.0.6 — 2026-11-16
8
22
 
9
23
  ### Also in this release
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "4.0.6",
3
+ "version": "4.2.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.0.6",
3
+ "version": "4.2.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.0.6",
20
+ "version": "4.2.0",
21
21
  "packages": [
22
22
  {
23
23
  "registryType": "npm",
24
24
  "identifier": "@hostinger/mcp",
25
- "version": "4.0.6",
25
+ "version": "4.2.0",
26
26
  "transport": {
27
27
  "type": "stdio"
28
28
  },
@@ -1,3 +1,3 @@
1
- version=4.0.6
2
- commit=e1ee2eda6108
1
+ version=4.2.0
2
+ commit=669ccb12e0bd
3
3
  built=2026-11-16
@@ -149,14 +149,21 @@ class MCPServer {
149
149
  */
150
150
  setupHandlers() {
151
151
  // Capture the connecting MCP client's identity once the initialize handshake completes.
152
- // The name is client-controlled input, so strip CR/LF to prevent header injection.
152
+ // The name and version are client-controlled input, so strip CR/LF to prevent header injection.
153
153
  this.server.oninitialized = () => {
154
- const clientName = String(this.server.getClientVersion()?.name ?? "")
154
+ const clientInfo = this.server.getClientVersion();
155
+ const clientName = String(clientInfo?.name ?? "")
155
156
  .replace(/\r|\n/g, "")
156
157
  .trim();
157
158
  if (clientName) {
158
159
  this.headers["X-MCP-Client"] = clientName;
159
160
  }
161
+ const clientVersion = String(clientInfo?.version ?? "")
162
+ .replace(/\r|\n/g, "")
163
+ .trim();
164
+ if (clientVersion) {
165
+ this.headers["X-MCP-Client-Version"] = clientVersion;
166
+ }
160
167
  };
161
168
 
162
169
  // Handle tool listing requests
@@ -194,14 +194,21 @@ class MCPServer {
194
194
  */
195
195
  private setupHandlers(): void {
196
196
  // Capture the connecting MCP client's identity once the initialize handshake completes.
197
- // The name is client-controlled input, so strip CR/LF to prevent header injection.
197
+ // The name and version are client-controlled input, so strip CR/LF to prevent header injection.
198
198
  this.server.oninitialized = () => {
199
- const clientName = String(this.server.getClientVersion()?.name ?? "")
199
+ const clientInfo = this.server.getClientVersion();
200
+ const clientName = String(clientInfo?.name ?? "")
200
201
  .replace(/\r|\n/g, "")
201
202
  .trim();
202
203
  if (clientName) {
203
204
  this.headers["X-MCP-Client"] = clientName;
204
205
  }
206
+ const clientVersion = String(clientInfo?.version ?? "")
207
+ .replace(/\r|\n/g, "")
208
+ .trim();
209
+ if (clientVersion) {
210
+ this.headers["X-MCP-Client-Version"] = clientVersion;
211
+ }
205
212
  };
206
213
 
207
214
  // Handle tool listing requests
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
  import instructions from '../core/instructions.agency-hosting.js';
6
6
 
7
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '4.0.6', tools, instructions });
7
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '4.2.0', tools, instructions });
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
  import instructions from '../core/instructions.agency-hosting.js';
6
6
 
7
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '4.0.6', tools, instructions });
7
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '4.2.0', tools, instructions });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agent-readiness.js';
5
5
 
6
- startServer({ name: 'hostinger-agent-readiness-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-agent-readiness-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agent-readiness.js';
5
5
 
6
- startServer({ name: 'hostinger-agent-readiness-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-agent-readiness-mcp', version: '4.2.0', tools });
@@ -5,4 +5,4 @@ import tools from '../core/tools/all.js';
5
5
  import instructions from '../core/instructions.js';
6
6
  import skills from '../core/skills.js';
7
7
 
8
- startServer({ name: 'hostinger-api-mcp', version: '4.0.6', tools, instructions, skills });
8
+ startServer({ name: 'hostinger-api-mcp', version: '4.2.0', tools, instructions, skills });
@@ -5,4 +5,4 @@ import tools from '../core/tools/all.js';
5
5
  import instructions from '../core/instructions.js';
6
6
  import skills from '../core/skills.js';
7
7
 
8
- startServer({ name: 'hostinger-api-mcp', version: '4.0.6', tools, instructions, skills });
8
+ startServer({ name: 'hostinger-api-mcp', version: '4.2.0', tools, instructions, skills });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/gpu.js';
5
5
 
6
- startServer({ name: 'hostinger-gpu-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-gpu-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/gpu.js';
5
5
 
6
- startServer({ name: 'hostinger-gpu-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-gpu-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '4.2.0', tools });
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
  import instructions from '../core/instructions.js';
6
6
 
7
- startServer({ name: 'hostinger-hosting-mcp', version: '4.0.6', tools, instructions });
7
+ startServer({ name: 'hostinger-hosting-mcp', version: '4.2.0', tools, instructions });
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
  import instructions from '../core/instructions.js';
6
6
 
7
- startServer({ name: 'hostinger-hosting-mcp', version: '4.0.6', tools, instructions });
7
+ startServer({ name: 'hostinger-hosting-mcp', version: '4.2.0', tools, instructions });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '4.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '4.0.6', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '4.2.0', tools });