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 +19 -0
- package/README.md +16 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +31 -1
- package/src/core/tools/all.ts +31 -1
- package/src/core/tools/vps.js +31 -1
- package/src/core/tools/vps.ts +31 -1
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +21 -1
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 (
|
|
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` —
|
|
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.
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
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.
|
|
9
|
+
"version": "1.56.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@hostinger/mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.56.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
package/src/core/tools/all.js
CHANGED
|
@@ -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": "
|
|
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": {
|
package/src/core/tools/all.ts
CHANGED
|
@@ -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": "
|
|
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": {
|
package/src/core/tools/vps.js
CHANGED
|
@@ -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": "
|
|
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": {
|
package/src/core/tools/vps.ts
CHANGED
|
@@ -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": "
|
|
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.
|
|
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.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.56.0', tools });
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
package/src/servers/mail.js
CHANGED
package/src/servers/mail.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
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
|
|
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
|
|