hostinger-api-mcp 1.13.0 → 1.14.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,7 +49,7 @@ 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 (236 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (238 total)
53
53
  - `hostinger-agency-hosting-mcp` — 23 tools for agency-hosting
54
54
  - `hostinger-billing-mcp` — 8 tools for billing
55
55
  - `hostinger-dns-mcp` — 8 tools for dns
@@ -57,7 +57,7 @@ This package installs the following MCP server commands:
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
60
- - `hostinger-mail-mcp` — 3 tools for mail
60
+ - `hostinger-mail-mcp` — 5 tools for mail
61
61
  - `hostinger-reach-mcp` — 12 tools for reach
62
62
  - `hostinger-vps-mcp` — 62 tools for vps
63
63
  - `hostinger-wordpress-mcp` — 35 tools for wordpress
@@ -1544,6 +1544,21 @@ composed from the given local part and the domain of the order.
1544
1544
  - **Method**: `POST`
1545
1545
  - **Path**: `/api/mail/v1/orders/{orderId}/mailboxes`
1546
1546
 
1547
+ #### mail_deleteMailboxV1
1548
+
1549
+ Delete a mailbox. The mailbox is soft-deleted and stays restorable
1550
+ for a limited period before it is permanently removed.
1551
+
1552
+ - **Method**: `DELETE`
1553
+ - **Path**: `/api/mail/v1/mailboxes/{mailboxId}`
1554
+
1555
+ #### mail_changeMailboxPasswordV1
1556
+
1557
+ Change the password of a mailbox.
1558
+
1559
+ - **Method**: `PATCH`
1560
+ - **Path**: `/api/mail/v1/mailboxes/{mailboxId}/password`
1561
+
1547
1562
  #### mail_getMailOrderListV1
1548
1563
 
1549
1564
  Retrieve a paginated list of mail orders associated with your account.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.13.0",
3
+ "version": "1.14.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.13.0",
3
+ "version": "1.14.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.13.0",
9
+ "version": "1.14.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.13.0",
14
+ "version": "1.14.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.13.0
32
+ * Generated from OpenAPI spec version 1.14.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.13.0
55
+ * Generated from OpenAPI spec version 1.14.0
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -4248,6 +4248,59 @@ export default [
4248
4248
  ],
4249
4249
  "group": "mail"
4250
4250
  },
4251
+ {
4252
+ "name": "mail_deleteMailboxV1",
4253
+ "description": "Delete a mailbox. The mailbox is soft-deleted and stays restorable\nfor a limited period before it is permanently removed.",
4254
+ "method": "DELETE",
4255
+ "path": "/api/mail/v1/mailboxes/{mailboxId}",
4256
+ "inputSchema": {
4257
+ "type": "object",
4258
+ "properties": {
4259
+ "mailboxId": {
4260
+ "type": "string",
4261
+ "description": "Mailbox resource ID"
4262
+ }
4263
+ },
4264
+ "required": [
4265
+ "mailboxId"
4266
+ ]
4267
+ },
4268
+ "security": [
4269
+ {
4270
+ "apiToken": []
4271
+ }
4272
+ ],
4273
+ "group": "mail"
4274
+ },
4275
+ {
4276
+ "name": "mail_changeMailboxPasswordV1",
4277
+ "description": "Change the password of a mailbox.",
4278
+ "method": "PATCH",
4279
+ "path": "/api/mail/v1/mailboxes/{mailboxId}/password",
4280
+ "inputSchema": {
4281
+ "type": "object",
4282
+ "properties": {
4283
+ "mailboxId": {
4284
+ "type": "string",
4285
+ "description": "Mailbox resource ID"
4286
+ },
4287
+ "password": {
4288
+ "type": "string",
4289
+ "description": "New mailbox password. Minimum 8 characters with uppercase, lowercase, number and special character; must not be a commonly used password."
4290
+ }
4291
+ },
4292
+ "required": [
4293
+ "mailboxId",
4294
+ "password"
4295
+ ]
4296
+ },
4297
+ "security": [
4298
+ {
4299
+ "apiToken": []
4300
+ }
4301
+ ],
4302
+ "group": "mail"
4303
+ },
4251
4304
  {
4252
4305
  "name": "mail_getMailOrderListV1",
4253
4306
  "description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
@@ -4262,6 +4262,59 @@ const tools: OpenApiTool[] = [
4262
4262
  ],
4263
4263
  "group": "mail"
4264
4264
  },
4265
+ {
4266
+ "name": "mail_deleteMailboxV1",
4267
+ "description": "Delete a mailbox. The mailbox is soft-deleted and stays restorable\nfor a limited period before it is permanently removed.",
4268
+ "method": "DELETE",
4269
+ "path": "/api/mail/v1/mailboxes/{mailboxId}",
4270
+ "inputSchema": {
4271
+ "type": "object",
4272
+ "properties": {
4273
+ "mailboxId": {
4274
+ "type": "string",
4275
+ "description": "Mailbox resource ID"
4276
+ }
4277
+ },
4278
+ "required": [
4279
+ "mailboxId"
4280
+ ]
4281
+ },
4282
+ "security": [
4283
+ {
4284
+ "apiToken": []
4285
+ }
4286
+ ],
4287
+ "group": "mail"
4288
+ },
4289
+ {
4290
+ "name": "mail_changeMailboxPasswordV1",
4291
+ "description": "Change the password of a mailbox.",
4292
+ "method": "PATCH",
4293
+ "path": "/api/mail/v1/mailboxes/{mailboxId}/password",
4294
+ "inputSchema": {
4295
+ "type": "object",
4296
+ "properties": {
4297
+ "mailboxId": {
4298
+ "type": "string",
4299
+ "description": "Mailbox resource ID"
4300
+ },
4301
+ "password": {
4302
+ "type": "string",
4303
+ "description": "New mailbox password. Minimum 8 characters with uppercase, lowercase, number and special character; must not be a commonly used password."
4304
+ }
4305
+ },
4306
+ "required": [
4307
+ "mailboxId",
4308
+ "password"
4309
+ ]
4310
+ },
4311
+ "security": [
4312
+ {
4313
+ "apiToken": []
4314
+ }
4315
+ ],
4316
+ "group": "mail"
4317
+ },
4265
4318
  {
4266
4319
  "name": "mail_getMailOrderListV1",
4267
4320
  "description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
@@ -78,6 +78,59 @@ export default [
78
78
  ],
79
79
  "group": "mail"
80
80
  },
81
+ {
82
+ "name": "mail_deleteMailboxV1",
83
+ "description": "Delete a mailbox. The mailbox is soft-deleted and stays restorable\nfor a limited period before it is permanently removed.",
84
+ "method": "DELETE",
85
+ "path": "/api/mail/v1/mailboxes/{mailboxId}",
86
+ "inputSchema": {
87
+ "type": "object",
88
+ "properties": {
89
+ "mailboxId": {
90
+ "type": "string",
91
+ "description": "Mailbox resource ID"
92
+ }
93
+ },
94
+ "required": [
95
+ "mailboxId"
96
+ ]
97
+ },
98
+ "security": [
99
+ {
100
+ "apiToken": []
101
+ }
102
+ ],
103
+ "group": "mail"
104
+ },
105
+ {
106
+ "name": "mail_changeMailboxPasswordV1",
107
+ "description": "Change the password of a mailbox.",
108
+ "method": "PATCH",
109
+ "path": "/api/mail/v1/mailboxes/{mailboxId}/password",
110
+ "inputSchema": {
111
+ "type": "object",
112
+ "properties": {
113
+ "mailboxId": {
114
+ "type": "string",
115
+ "description": "Mailbox resource ID"
116
+ },
117
+ "password": {
118
+ "type": "string",
119
+ "description": "New mailbox password. Minimum 8 characters with uppercase, lowercase, number and special character; must not be a commonly used password."
120
+ }
121
+ },
122
+ "required": [
123
+ "mailboxId",
124
+ "password"
125
+ ]
126
+ },
127
+ "security": [
128
+ {
129
+ "apiToken": []
130
+ }
131
+ ],
132
+ "group": "mail"
133
+ },
81
134
  {
82
135
  "name": "mail_getMailOrderListV1",
83
136
  "description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
@@ -92,6 +92,59 @@ const tools: OpenApiTool[] = [
92
92
  ],
93
93
  "group": "mail"
94
94
  },
95
+ {
96
+ "name": "mail_deleteMailboxV1",
97
+ "description": "Delete a mailbox. The mailbox is soft-deleted and stays restorable\nfor a limited period before it is permanently removed.",
98
+ "method": "DELETE",
99
+ "path": "/api/mail/v1/mailboxes/{mailboxId}",
100
+ "inputSchema": {
101
+ "type": "object",
102
+ "properties": {
103
+ "mailboxId": {
104
+ "type": "string",
105
+ "description": "Mailbox resource ID"
106
+ }
107
+ },
108
+ "required": [
109
+ "mailboxId"
110
+ ]
111
+ },
112
+ "security": [
113
+ {
114
+ "apiToken": []
115
+ }
116
+ ],
117
+ "group": "mail"
118
+ },
119
+ {
120
+ "name": "mail_changeMailboxPasswordV1",
121
+ "description": "Change the password of a mailbox.",
122
+ "method": "PATCH",
123
+ "path": "/api/mail/v1/mailboxes/{mailboxId}/password",
124
+ "inputSchema": {
125
+ "type": "object",
126
+ "properties": {
127
+ "mailboxId": {
128
+ "type": "string",
129
+ "description": "Mailbox resource ID"
130
+ },
131
+ "password": {
132
+ "type": "string",
133
+ "description": "New mailbox password. Minimum 8 characters with uppercase, lowercase, number and special character; must not be a commonly used password."
134
+ }
135
+ },
136
+ "required": [
137
+ "mailboxId",
138
+ "password"
139
+ ]
140
+ },
141
+ "security": [
142
+ {
143
+ "apiToken": []
144
+ }
145
+ ],
146
+ "group": "mail"
147
+ },
95
148
  {
96
149
  "name": "mail_getMailOrderListV1",
97
150
  "description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
@@ -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.13.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.14.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.13.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.14.0', tools });
package/types.d.ts CHANGED
@@ -2852,6 +2852,37 @@ composed from the given local part and the domain of the order.
2852
2852
  response: any; // Response structure will depend on the API
2853
2853
  };
2854
2854
 
2855
+ /**
2856
+ * Delete a mailbox. The mailbox is soft-deleted and stays restorable
2857
+ for a limited period before it is permanently removed.
2858
+ */
2859
+ "mail_deleteMailboxV1": {
2860
+ params: {
2861
+ /**
2862
+ * Mailbox resource ID
2863
+ */
2864
+ mailboxId: string;
2865
+ };
2866
+ response: any; // Response structure will depend on the API
2867
+ };
2868
+
2869
+ /**
2870
+ * Change the password of a mailbox.
2871
+ */
2872
+ "mail_changeMailboxPasswordV1": {
2873
+ params: {
2874
+ /**
2875
+ * Mailbox resource ID
2876
+ */
2877
+ mailboxId: string;
2878
+ /**
2879
+ * New mailbox password. Minimum 8 characters with uppercase, lowercase, number and special character; must not be a commonly used password.
2880
+ */
2881
+ password: string;
2882
+ };
2883
+ response: any; // Response structure will depend on the API
2884
+ };
2885
+
2855
2886
  /**
2856
2887
  * Retrieve a paginated list of mail orders associated with your account.
2857
2888