hostinger-api-mcp 1.9.0 → 1.10.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/README.md CHANGED
@@ -49,11 +49,11 @@ pnpm update -g hostinger-api-mcp
49
49
 
50
50
  This package installs the following MCP server commands:
51
51
 
52
- - `hostinger-api-mcp` — unified server with every tool (224 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (225 total)
53
53
  - `hostinger-agency-hosting-mcp` — 18 tools for agency-hosting
54
54
  - `hostinger-billing-mcp` — 7 tools for billing
55
55
  - `hostinger-dns-mcp` — 8 tools for dns
56
- - `hostinger-domains-mcp` — 19 tools for domains
56
+ - `hostinger-domains-mcp` — 20 tools for domains
57
57
  - `hostinger-ecommerce-mcp` — 12 tools for ecommerce
58
58
  - `hostinger-horizons-mcp` — 2 tools for horizons
59
59
  - `hostinger-hosting-mcp` — 48 tools for hosting
@@ -577,6 +577,15 @@ Use this endpoint to view current redirect configuration for domains.
577
577
  - **Method**: `GET`
578
578
  - **Path**: `/api/domains/v1/forwarding/{domain}`
579
579
 
580
+ #### domains_updateDomainForwardingV1
581
+
582
+ Update domain forwarding configuration.
583
+
584
+ Use this endpoint to modify existing redirect configuration for domains.
585
+
586
+ - **Method**: `PUT`
587
+ - **Path**: `/api/domains/v1/forwarding/{domain}`
588
+
580
589
  #### domains_deleteDomainForwardingV1
581
590
 
582
591
  Delete domain forwarding data.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.9.0",
3
+ "version": "1.10.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.9.0",
3
+ "version": "1.10.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.9.0",
9
+ "version": "1.10.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.9.0",
14
+ "version": "1.10.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.9.0
32
+ * Generated from OpenAPI spec version 1.10.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.9.0
55
+ * Generated from OpenAPI spec version 1.10.0
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -1482,6 +1482,44 @@ export default [
1482
1482
  ],
1483
1483
  "group": "domains"
1484
1484
  },
1485
+ {
1486
+ "name": "domains_updateDomainForwardingV1",
1487
+ "description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
1488
+ "method": "PUT",
1489
+ "path": "/api/domains/v1/forwarding/{domain}",
1490
+ "inputSchema": {
1491
+ "type": "object",
1492
+ "properties": {
1493
+ "domain": {
1494
+ "type": "string",
1495
+ "description": "Domain name"
1496
+ },
1497
+ "redirect_type": {
1498
+ "type": "string",
1499
+ "description": "Redirect type",
1500
+ "enum": [
1501
+ "301",
1502
+ "302"
1503
+ ]
1504
+ },
1505
+ "redirect_url": {
1506
+ "type": "string",
1507
+ "description": "URL to forward domain to"
1508
+ }
1509
+ },
1510
+ "required": [
1511
+ "domain",
1512
+ "redirect_type",
1513
+ "redirect_url"
1514
+ ]
1515
+ },
1516
+ "security": [
1517
+ {
1518
+ "apiToken": []
1519
+ }
1520
+ ],
1521
+ "group": "domains"
1522
+ },
1485
1523
  {
1486
1524
  "name": "domains_deleteDomainForwardingV1",
1487
1525
  "description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
@@ -1496,6 +1496,44 @@ const tools: OpenApiTool[] = [
1496
1496
  ],
1497
1497
  "group": "domains"
1498
1498
  },
1499
+ {
1500
+ "name": "domains_updateDomainForwardingV1",
1501
+ "description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
1502
+ "method": "PUT",
1503
+ "path": "/api/domains/v1/forwarding/{domain}",
1504
+ "inputSchema": {
1505
+ "type": "object",
1506
+ "properties": {
1507
+ "domain": {
1508
+ "type": "string",
1509
+ "description": "Domain name"
1510
+ },
1511
+ "redirect_type": {
1512
+ "type": "string",
1513
+ "description": "Redirect type",
1514
+ "enum": [
1515
+ "301",
1516
+ "302"
1517
+ ]
1518
+ },
1519
+ "redirect_url": {
1520
+ "type": "string",
1521
+ "description": "URL to forward domain to"
1522
+ }
1523
+ },
1524
+ "required": [
1525
+ "domain",
1526
+ "redirect_type",
1527
+ "redirect_url"
1528
+ ]
1529
+ },
1530
+ "security": [
1531
+ {
1532
+ "apiToken": []
1533
+ }
1534
+ ],
1535
+ "group": "domains"
1536
+ },
1499
1537
  {
1500
1538
  "name": "domains_deleteDomainForwardingV1",
1501
1539
  "description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
@@ -78,6 +78,44 @@ export default [
78
78
  ],
79
79
  "group": "domains"
80
80
  },
81
+ {
82
+ "name": "domains_updateDomainForwardingV1",
83
+ "description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
84
+ "method": "PUT",
85
+ "path": "/api/domains/v1/forwarding/{domain}",
86
+ "inputSchema": {
87
+ "type": "object",
88
+ "properties": {
89
+ "domain": {
90
+ "type": "string",
91
+ "description": "Domain name"
92
+ },
93
+ "redirect_type": {
94
+ "type": "string",
95
+ "description": "Redirect type",
96
+ "enum": [
97
+ "301",
98
+ "302"
99
+ ]
100
+ },
101
+ "redirect_url": {
102
+ "type": "string",
103
+ "description": "URL to forward domain to"
104
+ }
105
+ },
106
+ "required": [
107
+ "domain",
108
+ "redirect_type",
109
+ "redirect_url"
110
+ ]
111
+ },
112
+ "security": [
113
+ {
114
+ "apiToken": []
115
+ }
116
+ ],
117
+ "group": "domains"
118
+ },
81
119
  {
82
120
  "name": "domains_deleteDomainForwardingV1",
83
121
  "description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
@@ -92,6 +92,44 @@ const tools: OpenApiTool[] = [
92
92
  ],
93
93
  "group": "domains"
94
94
  },
95
+ {
96
+ "name": "domains_updateDomainForwardingV1",
97
+ "description": "Update domain forwarding configuration.\n\nUse this endpoint to modify existing redirect configuration for domains.",
98
+ "method": "PUT",
99
+ "path": "/api/domains/v1/forwarding/{domain}",
100
+ "inputSchema": {
101
+ "type": "object",
102
+ "properties": {
103
+ "domain": {
104
+ "type": "string",
105
+ "description": "Domain name"
106
+ },
107
+ "redirect_type": {
108
+ "type": "string",
109
+ "description": "Redirect type",
110
+ "enum": [
111
+ "301",
112
+ "302"
113
+ ]
114
+ },
115
+ "redirect_url": {
116
+ "type": "string",
117
+ "description": "URL to forward domain to"
118
+ }
119
+ },
120
+ "required": [
121
+ "domain",
122
+ "redirect_type",
123
+ "redirect_url"
124
+ ]
125
+ },
126
+ "security": [
127
+ {
128
+ "apiToken": []
129
+ }
130
+ ],
131
+ "group": "domains"
132
+ },
95
133
  {
96
134
  "name": "domains_deleteDomainForwardingV1",
97
135
  "description": "Delete domain forwarding data.\n\nUse this endpoint to remove redirect configuration from domains.",
@@ -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.9.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.10.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.9.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.10.0', tools });
package/types.d.ts CHANGED
@@ -889,6 +889,29 @@ Use this endpoint to view current redirect configuration for domains.
889
889
  response: any; // Response structure will depend on the API
890
890
  };
891
891
 
892
+ /**
893
+ * Update domain forwarding configuration.
894
+
895
+ Use this endpoint to modify existing redirect configuration for domains.
896
+ */
897
+ "domains_updateDomainForwardingV1": {
898
+ params: {
899
+ /**
900
+ * Domain name
901
+ */
902
+ domain: string;
903
+ /**
904
+ * Redirect type
905
+ */
906
+ redirect_type: string;
907
+ /**
908
+ * URL to forward domain to
909
+ */
910
+ redirect_url: string;
911
+ };
912
+ response: any; // Response structure will depend on the API
913
+ };
914
+
892
915
  /**
893
916
  * Delete domain forwarding data.
894
917