hostinger-api-mcp 1.55.0 → 1.56.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,25 @@ 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
+ ## v1.56.0 — 2026-09-04
8
+
9
+ ### Tools
10
+
11
+ - Added `VPS_syncFirewallToAllAssignedVMsV1` — Sync firewall to all assigned VMs
12
+ - Changed the description of `VPS_syncFirewallV1`
13
+
14
+ ### Also in this release
15
+
16
+ - Documentation: `README.md`
17
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
18
+ - Build and packaging: `types.d.ts`
19
+
20
+ ## v1.55.1 — 2026-09-03
21
+
22
+ ### Also in this release
23
+
24
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
25
+
7
26
  ## v1.55.0 — 2026-09-03
8
27
 
9
28
  ### Also in this release
package/README.md CHANGED
@@ -69,7 +69,7 @@ pnpm update -g @hostinger/mcp
69
69
 
70
70
  This package installs the following MCP server commands:
71
71
 
72
- - `hostinger-api-mcp` — unified server with every tool (375 total)
72
+ - `hostinger-api-mcp` — unified server with every tool (376 total)
73
73
  - `hostinger-agency-hosting-mcp` — 38 tools for agency-hosting
74
74
  - `hostinger-billing-mcp` — 9 tools for billing
75
75
  - `hostinger-dns-mcp` — 8 tools for dns
@@ -79,7 +79,7 @@ This package installs the following MCP server commands:
79
79
  - `hostinger-hosting-mcp` — 58 tools for hosting
80
80
  - `hostinger-mail-mcp` — 38 tools for mail
81
81
  - `hostinger-reach-mcp` — 52 tools for reach
82
- - `hostinger-vps-mcp` — 63 tools for vps
82
+ - `hostinger-vps-mcp` — 64 tools for vps
83
83
  - `hostinger-wordpress-mcp` — 38 tools for wordpress
84
84
 
85
85
  Pick the binary that matches your agent's scope. `hostinger-api-mcp` remains the backwards-compatible default.
@@ -3433,8 +3433,22 @@ Use this endpoint to add new security rules to firewalls.
3433
3433
  - **Method**: `POST`
3434
3434
  - **Path**: `/api/vps/v1/firewall/{firewallId}/rules`
3435
3435
 
3436
+ #### VPS_syncFirewallToAllAssignedVMsV1
3437
+
3438
+ Sync a firewall's rules to every virtual machine it's assigned to.
3439
+
3440
+ Firewall can lose sync with a virtual machine if the firewall has new rules added, removed or updated.
3441
+
3442
+ Use this endpoint to apply updated firewall rules to all VPS instances assigned to the firewall.
3443
+
3444
+ - **Method**: `POST`
3445
+ - **Path**: `/api/vps/v1/firewall/{firewallId}/sync`
3446
+
3436
3447
  #### VPS_syncFirewallV1
3437
3448
 
3449
+ Deprecated: use `POST /api/vps/v1/firewall/{firewallId}/sync` instead, which syncs the firewall
3450
+ to all virtual machines assigned to it.
3451
+
3438
3452
  Sync a firewall for a specified virtual machine.
3439
3453
 
3440
3454
  Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.55.0",
3
+ "version": "1.56.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": "1.55.0",
3
+ "version": "1.56.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
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/hostinger/api-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "1.55.0",
9
+ "version": "1.56.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@hostinger/mcp",
14
- "version": "1.55.0",
14
+ "version": "1.56.0",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
@@ -29,7 +29,7 @@ const SECURITY_SCHEMES = {
29
29
 
30
30
  /**
31
31
  * MCP Server for Hostinger API
32
- * Generated from OpenAPI spec version 1.47.0
32
+ * Generated from OpenAPI spec version 1.48.0
33
33
  */
34
34
  class MCPServer {
35
35
  constructor({ name, version, tools }) {
@@ -52,7 +52,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
52
52
 
53
53
  /**
54
54
  * MCP Server for Hostinger API
55
- * Generated from OpenAPI spec version 1.47.0
55
+ * Generated from OpenAPI spec version 1.48.0
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -12431,6 +12431,36 @@ export default [
12431
12431
  ],
12432
12432
  "group": "vps"
12433
12433
  },
12434
+ {
12435
+ "name": "VPS_syncFirewallToAllAssignedVMsV1",
12436
+ "title": "Sync firewall to all assigned VMs",
12437
+ "annotations": {
12438
+ "title": "Sync firewall to all assigned VMs",
12439
+ "readOnlyHint": false,
12440
+ "destructiveHint": false
12441
+ },
12442
+ "description": "Sync a firewall's rules to every virtual machine it's assigned to.\n\nFirewall can lose sync with a virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to all VPS instances assigned to the firewall.",
12443
+ "method": "POST",
12444
+ "path": "/api/vps/v1/firewall/{firewallId}/sync",
12445
+ "inputSchema": {
12446
+ "type": "object",
12447
+ "properties": {
12448
+ "firewallId": {
12449
+ "type": "integer",
12450
+ "description": "Firewall ID"
12451
+ }
12452
+ },
12453
+ "required": [
12454
+ "firewallId"
12455
+ ]
12456
+ },
12457
+ "security": [
12458
+ {
12459
+ "apiToken": []
12460
+ }
12461
+ ],
12462
+ "group": "vps"
12463
+ },
12434
12464
  {
12435
12465
  "name": "VPS_syncFirewallV1",
12436
12466
  "title": "Sync firewall",
@@ -12439,7 +12469,7 @@ export default [
12439
12469
  "readOnlyHint": false,
12440
12470
  "destructiveHint": false
12441
12471
  },
12442
- "description": "Sync a firewall for a specified virtual machine.\n\nFirewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to VPS instances.",
12472
+ "description": "Deprecated: use `POST /api/vps/v1/firewall/{firewallId}/sync` instead, which syncs the firewall\nto all virtual machines assigned to it.\n\nSync a firewall for a specified virtual machine.\n\nFirewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to VPS instances.",
12443
12473
  "method": "POST",
12444
12474
  "path": "/api/vps/v1/firewall/{firewallId}/sync/{virtualMachineId}",
12445
12475
  "inputSchema": {
@@ -12445,6 +12445,36 @@ const tools: OpenApiTool[] = [
12445
12445
  ],
12446
12446
  "group": "vps"
12447
12447
  },
12448
+ {
12449
+ "name": "VPS_syncFirewallToAllAssignedVMsV1",
12450
+ "title": "Sync firewall to all assigned VMs",
12451
+ "annotations": {
12452
+ "title": "Sync firewall to all assigned VMs",
12453
+ "readOnlyHint": false,
12454
+ "destructiveHint": false
12455
+ },
12456
+ "description": "Sync a firewall's rules to every virtual machine it's assigned to.\n\nFirewall can lose sync with a virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to all VPS instances assigned to the firewall.",
12457
+ "method": "POST",
12458
+ "path": "/api/vps/v1/firewall/{firewallId}/sync",
12459
+ "inputSchema": {
12460
+ "type": "object",
12461
+ "properties": {
12462
+ "firewallId": {
12463
+ "type": "integer",
12464
+ "description": "Firewall ID"
12465
+ }
12466
+ },
12467
+ "required": [
12468
+ "firewallId"
12469
+ ]
12470
+ },
12471
+ "security": [
12472
+ {
12473
+ "apiToken": []
12474
+ }
12475
+ ],
12476
+ "group": "vps"
12477
+ },
12448
12478
  {
12449
12479
  "name": "VPS_syncFirewallV1",
12450
12480
  "title": "Sync firewall",
@@ -12453,7 +12483,7 @@ const tools: OpenApiTool[] = [
12453
12483
  "readOnlyHint": false,
12454
12484
  "destructiveHint": false
12455
12485
  },
12456
- "description": "Sync a firewall for a specified virtual machine.\n\nFirewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to VPS instances.",
12486
+ "description": "Deprecated: use `POST /api/vps/v1/firewall/{firewallId}/sync` instead, which syncs the firewall\nto all virtual machines assigned to it.\n\nSync a firewall for a specified virtual machine.\n\nFirewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to VPS instances.",
12457
12487
  "method": "POST",
12458
12488
  "path": "/api/vps/v1/firewall/{firewallId}/sync/{virtualMachineId}",
12459
12489
  "inputSchema": {
@@ -791,6 +791,36 @@ export default [
791
791
  ],
792
792
  "group": "vps"
793
793
  },
794
+ {
795
+ "name": "VPS_syncFirewallToAllAssignedVMsV1",
796
+ "title": "Sync firewall to all assigned VMs",
797
+ "annotations": {
798
+ "title": "Sync firewall to all assigned VMs",
799
+ "readOnlyHint": false,
800
+ "destructiveHint": false
801
+ },
802
+ "description": "Sync a firewall's rules to every virtual machine it's assigned to.\n\nFirewall can lose sync with a virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to all VPS instances assigned to the firewall.",
803
+ "method": "POST",
804
+ "path": "/api/vps/v1/firewall/{firewallId}/sync",
805
+ "inputSchema": {
806
+ "type": "object",
807
+ "properties": {
808
+ "firewallId": {
809
+ "type": "integer",
810
+ "description": "Firewall ID"
811
+ }
812
+ },
813
+ "required": [
814
+ "firewallId"
815
+ ]
816
+ },
817
+ "security": [
818
+ {
819
+ "apiToken": []
820
+ }
821
+ ],
822
+ "group": "vps"
823
+ },
794
824
  {
795
825
  "name": "VPS_syncFirewallV1",
796
826
  "title": "Sync firewall",
@@ -799,7 +829,7 @@ export default [
799
829
  "readOnlyHint": false,
800
830
  "destructiveHint": false
801
831
  },
802
- "description": "Sync a firewall for a specified virtual machine.\n\nFirewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to VPS instances.",
832
+ "description": "Deprecated: use `POST /api/vps/v1/firewall/{firewallId}/sync` instead, which syncs the firewall\nto all virtual machines assigned to it.\n\nSync a firewall for a specified virtual machine.\n\nFirewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to VPS instances.",
803
833
  "method": "POST",
804
834
  "path": "/api/vps/v1/firewall/{firewallId}/sync/{virtualMachineId}",
805
835
  "inputSchema": {
@@ -805,6 +805,36 @@ const tools: OpenApiTool[] = [
805
805
  ],
806
806
  "group": "vps"
807
807
  },
808
+ {
809
+ "name": "VPS_syncFirewallToAllAssignedVMsV1",
810
+ "title": "Sync firewall to all assigned VMs",
811
+ "annotations": {
812
+ "title": "Sync firewall to all assigned VMs",
813
+ "readOnlyHint": false,
814
+ "destructiveHint": false
815
+ },
816
+ "description": "Sync a firewall's rules to every virtual machine it's assigned to.\n\nFirewall can lose sync with a virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to all VPS instances assigned to the firewall.",
817
+ "method": "POST",
818
+ "path": "/api/vps/v1/firewall/{firewallId}/sync",
819
+ "inputSchema": {
820
+ "type": "object",
821
+ "properties": {
822
+ "firewallId": {
823
+ "type": "integer",
824
+ "description": "Firewall ID"
825
+ }
826
+ },
827
+ "required": [
828
+ "firewallId"
829
+ ]
830
+ },
831
+ "security": [
832
+ {
833
+ "apiToken": []
834
+ }
835
+ ],
836
+ "group": "vps"
837
+ },
808
838
  {
809
839
  "name": "VPS_syncFirewallV1",
810
840
  "title": "Sync firewall",
@@ -813,7 +843,7 @@ const tools: OpenApiTool[] = [
813
843
  "readOnlyHint": false,
814
844
  "destructiveHint": false
815
845
  },
816
- "description": "Sync a firewall for a specified virtual machine.\n\nFirewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to VPS instances.",
846
+ "description": "Deprecated: use `POST /api/vps/v1/firewall/{firewallId}/sync` instead, which syncs the firewall\nto all virtual machines assigned to it.\n\nSync a firewall for a specified virtual machine.\n\nFirewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.\n\nUse this endpoint to apply updated firewall rules to VPS instances.",
817
847
  "method": "POST",
818
848
  "path": "/api/vps/v1/firewall/{firewallId}/sync/{virtualMachineId}",
819
849
  "inputSchema": {
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.56.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.56.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.56.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.56.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.56.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.56.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: '1.55.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.56.0', tools });
package/types.d.ts CHANGED
@@ -7048,7 +7048,27 @@ Use this endpoint to add new security rules to firewalls.
7048
7048
  };
7049
7049
 
7050
7050
  /**
7051
- * Sync a firewall for a specified virtual machine.
7051
+ * Sync a firewall's rules to every virtual machine it's assigned to.
7052
+
7053
+ Firewall can lose sync with a virtual machine if the firewall has new rules added, removed or updated.
7054
+
7055
+ Use this endpoint to apply updated firewall rules to all VPS instances assigned to the firewall.
7056
+ */
7057
+ "VPS_syncFirewallToAllAssignedVMsV1": {
7058
+ params: {
7059
+ /**
7060
+ * Firewall ID
7061
+ */
7062
+ firewallId: number;
7063
+ };
7064
+ response: any; // Response structure will depend on the API
7065
+ };
7066
+
7067
+ /**
7068
+ * Deprecated: use `POST /api/vps/v1/firewall/{firewallId}/sync` instead, which syncs the firewall
7069
+ to all virtual machines assigned to it.
7070
+
7071
+ Sync a firewall for a specified virtual machine.
7052
7072
 
7053
7073
  Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.
7054
7074