hostinger-api-mcp 1.19.0 → 1.20.1

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 (255 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (258 total)
53
53
  - `hostinger-agency-hosting-mcp` — 26 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` — 19 tools for mail
60
+ - `hostinger-mail-mcp` — 22 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
@@ -1547,6 +1547,39 @@ complete. The response returns before the removal finishes.
1547
1547
 
1548
1548
  ### `hostinger-mail-mcp`
1549
1549
 
1550
+ #### mail_createAPITokenV1
1551
+
1552
+ Create an API token for the given mail order. The token grants access
1553
+ to the [Hostinger Email API](https://api.mail.hostinger.com/), where
1554
+ you can provision and manage the mailboxes it is scoped to.
1555
+
1556
+ The plaintext token is returned only in this response, never again.
1557
+ A maximum of 10 tokens can exist per order. Use
1558
+ `scope.has_all_mailboxes` to cover all current and future mailboxes,
1559
+ or list specific mailboxes in `scope.mailbox_ids`.
1560
+
1561
+ - **Method**: `POST`
1562
+ - **Path**: `/api/mail/v1/orders/{orderId}/api-tokens`
1563
+
1564
+ #### mail_revokeAPITokenV1
1565
+
1566
+ Revoke an API token. The token immediately loses access to the
1567
+ [Hostinger Email API](https://api.mail.hostinger.com/). This action
1568
+ cannot be undone.
1569
+
1570
+ - **Method**: `DELETE`
1571
+ - **Path**: `/api/mail/v1/api-tokens/{tokenId}`
1572
+
1573
+ #### mail_listAPITokensV1
1574
+
1575
+ Retrieve a paginated list of
1576
+ [Hostinger Email API](https://api.mail.hostinger.com/) tokens across
1577
+ all your mail orders, optionally filtered by order. Plaintext tokens
1578
+ are never included; they are returned only when a token is created.
1579
+
1580
+ - **Method**: `GET`
1581
+ - **Path**: `/api/mail/v1/api-tokens`
1582
+
1550
1583
  #### mail_listAccessLogsV1
1551
1584
 
1552
1585
  Retrieve paginated access logs for the domain attached to the given
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.19.0",
3
+ "version": "1.20.1",
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.19.0",
3
+ "version": "1.20.1",
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.19.0",
9
+ "version": "1.20.1",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.19.0",
14
+ "version": "1.20.1",
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.17.0
32
+ * Generated from OpenAPI spec version 1.18.1
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.17.0
55
+ * Generated from OpenAPI spec version 1.18.1
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -4247,6 +4247,111 @@ export default [
4247
4247
  ],
4248
4248
  "group": "hosting"
4249
4249
  },
4250
+ {
4251
+ "name": "mail_createAPITokenV1",
4252
+ "description": "Create an API token for the given mail order. The token grants access\nto the [Hostinger Email API](https://api.mail.hostinger.com/), where\nyou can provision and manage the mailboxes it is scoped to.\n\nThe plaintext token is returned only in this response, never again.\nA maximum of 10 tokens can exist per order. Use\n`scope.has_all_mailboxes` to cover all current and future mailboxes,\nor list specific mailboxes in `scope.mailbox_ids`.",
4253
+ "method": "POST",
4254
+ "path": "/api/mail/v1/orders/{orderId}/api-tokens",
4255
+ "inputSchema": {
4256
+ "type": "object",
4257
+ "properties": {
4258
+ "orderId": {
4259
+ "type": "string",
4260
+ "description": "Order resource ID"
4261
+ },
4262
+ "name": {
4263
+ "type": "string",
4264
+ "description": "Human-readable label for this token"
4265
+ },
4266
+ "scope": {
4267
+ "type": "object",
4268
+ "description": "Mailbox scope this token can access",
4269
+ "properties": {
4270
+ "has_all_mailboxes": {
4271
+ "type": "boolean",
4272
+ "description": "Grant access to all current and future mailboxes of the order"
4273
+ },
4274
+ "mailbox_ids": {
4275
+ "type": "array",
4276
+ "description": "Required when `has_all_mailboxes` is false. Mailbox resource IDs of this order.",
4277
+ "items": {
4278
+ "type": "string",
4279
+ "description": "mailbox_ids parameter"
4280
+ }
4281
+ }
4282
+ },
4283
+ "required": [
4284
+ "has_all_mailboxes"
4285
+ ]
4286
+ }
4287
+ },
4288
+ "required": [
4289
+ "orderId",
4290
+ "name",
4291
+ "scope"
4292
+ ]
4293
+ },
4294
+ "security": [
4295
+ {
4296
+ "apiToken": []
4297
+ }
4298
+ ],
4299
+ "group": "mail"
4300
+ },
4301
+ {
4302
+ "name": "mail_revokeAPITokenV1",
4303
+ "description": "Revoke an API token. The token immediately loses access to the\n[Hostinger Email API](https://api.mail.hostinger.com/). This action\ncannot be undone.",
4304
+ "method": "DELETE",
4305
+ "path": "/api/mail/v1/api-tokens/{tokenId}",
4306
+ "inputSchema": {
4307
+ "type": "object",
4308
+ "properties": {
4309
+ "tokenId": {
4310
+ "type": "string",
4311
+ "description": "API token ID (returned when the token was created)"
4312
+ }
4313
+ },
4314
+ "required": [
4315
+ "tokenId"
4316
+ ]
4317
+ },
4318
+ "security": [
4319
+ {
4320
+ "apiToken": []
4321
+ }
4322
+ ],
4323
+ "group": "mail"
4324
+ },
4325
+ {
4326
+ "name": "mail_listAPITokensV1",
4327
+ "description": "Retrieve a paginated list of\n[Hostinger Email API](https://api.mail.hostinger.com/) tokens across\nall your mail orders, optionally filtered by order. Plaintext tokens\nare never included; they are returned only when a token is created.",
4328
+ "method": "GET",
4329
+ "path": "/api/mail/v1/api-tokens",
4330
+ "inputSchema": {
4331
+ "type": "object",
4332
+ "properties": {
4333
+ "order_id": {
4334
+ "type": "string",
4335
+ "description": "Filter tokens by order resource ID. Single value or comma-separated list."
4336
+ },
4337
+ "page": {
4338
+ "type": "integer",
4339
+ "description": "Page number"
4340
+ },
4341
+ "per_page": {
4342
+ "type": "integer",
4343
+ "description": "Number of items per page"
4344
+ }
4345
+ },
4346
+ "required": []
4347
+ },
4348
+ "security": [
4349
+ {
4350
+ "apiToken": []
4351
+ }
4352
+ ],
4353
+ "group": "mail"
4354
+ },
4250
4355
  {
4251
4356
  "name": "mail_listAccessLogsV1",
4252
4357
  "description": "Retrieve paginated access logs for the domain attached to the given\nmail order. Supports filtering by account, date range, protocol,\nstatus, and deletion flag. Results are sorted by timestamp descending.",
@@ -4261,6 +4261,111 @@ const tools: OpenApiTool[] = [
4261
4261
  ],
4262
4262
  "group": "hosting"
4263
4263
  },
4264
+ {
4265
+ "name": "mail_createAPITokenV1",
4266
+ "description": "Create an API token for the given mail order. The token grants access\nto the [Hostinger Email API](https://api.mail.hostinger.com/), where\nyou can provision and manage the mailboxes it is scoped to.\n\nThe plaintext token is returned only in this response, never again.\nA maximum of 10 tokens can exist per order. Use\n`scope.has_all_mailboxes` to cover all current and future mailboxes,\nor list specific mailboxes in `scope.mailbox_ids`.",
4267
+ "method": "POST",
4268
+ "path": "/api/mail/v1/orders/{orderId}/api-tokens",
4269
+ "inputSchema": {
4270
+ "type": "object",
4271
+ "properties": {
4272
+ "orderId": {
4273
+ "type": "string",
4274
+ "description": "Order resource ID"
4275
+ },
4276
+ "name": {
4277
+ "type": "string",
4278
+ "description": "Human-readable label for this token"
4279
+ },
4280
+ "scope": {
4281
+ "type": "object",
4282
+ "description": "Mailbox scope this token can access",
4283
+ "properties": {
4284
+ "has_all_mailboxes": {
4285
+ "type": "boolean",
4286
+ "description": "Grant access to all current and future mailboxes of the order"
4287
+ },
4288
+ "mailbox_ids": {
4289
+ "type": "array",
4290
+ "description": "Required when `has_all_mailboxes` is false. Mailbox resource IDs of this order.",
4291
+ "items": {
4292
+ "type": "string",
4293
+ "description": "mailbox_ids parameter"
4294
+ }
4295
+ }
4296
+ },
4297
+ "required": [
4298
+ "has_all_mailboxes"
4299
+ ]
4300
+ }
4301
+ },
4302
+ "required": [
4303
+ "orderId",
4304
+ "name",
4305
+ "scope"
4306
+ ]
4307
+ },
4308
+ "security": [
4309
+ {
4310
+ "apiToken": []
4311
+ }
4312
+ ],
4313
+ "group": "mail"
4314
+ },
4315
+ {
4316
+ "name": "mail_revokeAPITokenV1",
4317
+ "description": "Revoke an API token. The token immediately loses access to the\n[Hostinger Email API](https://api.mail.hostinger.com/). This action\ncannot be undone.",
4318
+ "method": "DELETE",
4319
+ "path": "/api/mail/v1/api-tokens/{tokenId}",
4320
+ "inputSchema": {
4321
+ "type": "object",
4322
+ "properties": {
4323
+ "tokenId": {
4324
+ "type": "string",
4325
+ "description": "API token ID (returned when the token was created)"
4326
+ }
4327
+ },
4328
+ "required": [
4329
+ "tokenId"
4330
+ ]
4331
+ },
4332
+ "security": [
4333
+ {
4334
+ "apiToken": []
4335
+ }
4336
+ ],
4337
+ "group": "mail"
4338
+ },
4339
+ {
4340
+ "name": "mail_listAPITokensV1",
4341
+ "description": "Retrieve a paginated list of\n[Hostinger Email API](https://api.mail.hostinger.com/) tokens across\nall your mail orders, optionally filtered by order. Plaintext tokens\nare never included; they are returned only when a token is created.",
4342
+ "method": "GET",
4343
+ "path": "/api/mail/v1/api-tokens",
4344
+ "inputSchema": {
4345
+ "type": "object",
4346
+ "properties": {
4347
+ "order_id": {
4348
+ "type": "string",
4349
+ "description": "Filter tokens by order resource ID. Single value or comma-separated list."
4350
+ },
4351
+ "page": {
4352
+ "type": "integer",
4353
+ "description": "Page number"
4354
+ },
4355
+ "per_page": {
4356
+ "type": "integer",
4357
+ "description": "Number of items per page"
4358
+ }
4359
+ },
4360
+ "required": []
4361
+ },
4362
+ "security": [
4363
+ {
4364
+ "apiToken": []
4365
+ }
4366
+ ],
4367
+ "group": "mail"
4368
+ },
4264
4369
  {
4265
4370
  "name": "mail_listAccessLogsV1",
4266
4371
  "description": "Retrieve paginated access logs for the domain attached to the given\nmail order. Supports filtering by account, date range, protocol,\nstatus, and deletion flag. Results are sorted by timestamp descending.",
@@ -1,5 +1,110 @@
1
1
  // Auto-generated tool list for group: mail
2
2
  export default [
3
+ {
4
+ "name": "mail_createAPITokenV1",
5
+ "description": "Create an API token for the given mail order. The token grants access\nto the [Hostinger Email API](https://api.mail.hostinger.com/), where\nyou can provision and manage the mailboxes it is scoped to.\n\nThe plaintext token is returned only in this response, never again.\nA maximum of 10 tokens can exist per order. Use\n`scope.has_all_mailboxes` to cover all current and future mailboxes,\nor list specific mailboxes in `scope.mailbox_ids`.",
6
+ "method": "POST",
7
+ "path": "/api/mail/v1/orders/{orderId}/api-tokens",
8
+ "inputSchema": {
9
+ "type": "object",
10
+ "properties": {
11
+ "orderId": {
12
+ "type": "string",
13
+ "description": "Order resource ID"
14
+ },
15
+ "name": {
16
+ "type": "string",
17
+ "description": "Human-readable label for this token"
18
+ },
19
+ "scope": {
20
+ "type": "object",
21
+ "description": "Mailbox scope this token can access",
22
+ "properties": {
23
+ "has_all_mailboxes": {
24
+ "type": "boolean",
25
+ "description": "Grant access to all current and future mailboxes of the order"
26
+ },
27
+ "mailbox_ids": {
28
+ "type": "array",
29
+ "description": "Required when `has_all_mailboxes` is false. Mailbox resource IDs of this order.",
30
+ "items": {
31
+ "type": "string",
32
+ "description": "mailbox_ids parameter"
33
+ }
34
+ }
35
+ },
36
+ "required": [
37
+ "has_all_mailboxes"
38
+ ]
39
+ }
40
+ },
41
+ "required": [
42
+ "orderId",
43
+ "name",
44
+ "scope"
45
+ ]
46
+ },
47
+ "security": [
48
+ {
49
+ "apiToken": []
50
+ }
51
+ ],
52
+ "group": "mail"
53
+ },
54
+ {
55
+ "name": "mail_revokeAPITokenV1",
56
+ "description": "Revoke an API token. The token immediately loses access to the\n[Hostinger Email API](https://api.mail.hostinger.com/). This action\ncannot be undone.",
57
+ "method": "DELETE",
58
+ "path": "/api/mail/v1/api-tokens/{tokenId}",
59
+ "inputSchema": {
60
+ "type": "object",
61
+ "properties": {
62
+ "tokenId": {
63
+ "type": "string",
64
+ "description": "API token ID (returned when the token was created)"
65
+ }
66
+ },
67
+ "required": [
68
+ "tokenId"
69
+ ]
70
+ },
71
+ "security": [
72
+ {
73
+ "apiToken": []
74
+ }
75
+ ],
76
+ "group": "mail"
77
+ },
78
+ {
79
+ "name": "mail_listAPITokensV1",
80
+ "description": "Retrieve a paginated list of\n[Hostinger Email API](https://api.mail.hostinger.com/) tokens across\nall your mail orders, optionally filtered by order. Plaintext tokens\nare never included; they are returned only when a token is created.",
81
+ "method": "GET",
82
+ "path": "/api/mail/v1/api-tokens",
83
+ "inputSchema": {
84
+ "type": "object",
85
+ "properties": {
86
+ "order_id": {
87
+ "type": "string",
88
+ "description": "Filter tokens by order resource ID. Single value or comma-separated list."
89
+ },
90
+ "page": {
91
+ "type": "integer",
92
+ "description": "Page number"
93
+ },
94
+ "per_page": {
95
+ "type": "integer",
96
+ "description": "Number of items per page"
97
+ }
98
+ },
99
+ "required": []
100
+ },
101
+ "security": [
102
+ {
103
+ "apiToken": []
104
+ }
105
+ ],
106
+ "group": "mail"
107
+ },
3
108
  {
4
109
  "name": "mail_listAccessLogsV1",
5
110
  "description": "Retrieve paginated access logs for the domain attached to the given\nmail order. Supports filtering by account, date range, protocol,\nstatus, and deletion flag. Results are sorted by timestamp descending.",
@@ -14,6 +14,111 @@ export interface OpenApiTool extends Tool {
14
14
  }
15
15
 
16
16
  const tools: OpenApiTool[] = [
17
+ {
18
+ "name": "mail_createAPITokenV1",
19
+ "description": "Create an API token for the given mail order. The token grants access\nto the [Hostinger Email API](https://api.mail.hostinger.com/), where\nyou can provision and manage the mailboxes it is scoped to.\n\nThe plaintext token is returned only in this response, never again.\nA maximum of 10 tokens can exist per order. Use\n`scope.has_all_mailboxes` to cover all current and future mailboxes,\nor list specific mailboxes in `scope.mailbox_ids`.",
20
+ "method": "POST",
21
+ "path": "/api/mail/v1/orders/{orderId}/api-tokens",
22
+ "inputSchema": {
23
+ "type": "object",
24
+ "properties": {
25
+ "orderId": {
26
+ "type": "string",
27
+ "description": "Order resource ID"
28
+ },
29
+ "name": {
30
+ "type": "string",
31
+ "description": "Human-readable label for this token"
32
+ },
33
+ "scope": {
34
+ "type": "object",
35
+ "description": "Mailbox scope this token can access",
36
+ "properties": {
37
+ "has_all_mailboxes": {
38
+ "type": "boolean",
39
+ "description": "Grant access to all current and future mailboxes of the order"
40
+ },
41
+ "mailbox_ids": {
42
+ "type": "array",
43
+ "description": "Required when `has_all_mailboxes` is false. Mailbox resource IDs of this order.",
44
+ "items": {
45
+ "type": "string",
46
+ "description": "mailbox_ids parameter"
47
+ }
48
+ }
49
+ },
50
+ "required": [
51
+ "has_all_mailboxes"
52
+ ]
53
+ }
54
+ },
55
+ "required": [
56
+ "orderId",
57
+ "name",
58
+ "scope"
59
+ ]
60
+ },
61
+ "security": [
62
+ {
63
+ "apiToken": []
64
+ }
65
+ ],
66
+ "group": "mail"
67
+ },
68
+ {
69
+ "name": "mail_revokeAPITokenV1",
70
+ "description": "Revoke an API token. The token immediately loses access to the\n[Hostinger Email API](https://api.mail.hostinger.com/). This action\ncannot be undone.",
71
+ "method": "DELETE",
72
+ "path": "/api/mail/v1/api-tokens/{tokenId}",
73
+ "inputSchema": {
74
+ "type": "object",
75
+ "properties": {
76
+ "tokenId": {
77
+ "type": "string",
78
+ "description": "API token ID (returned when the token was created)"
79
+ }
80
+ },
81
+ "required": [
82
+ "tokenId"
83
+ ]
84
+ },
85
+ "security": [
86
+ {
87
+ "apiToken": []
88
+ }
89
+ ],
90
+ "group": "mail"
91
+ },
92
+ {
93
+ "name": "mail_listAPITokensV1",
94
+ "description": "Retrieve a paginated list of\n[Hostinger Email API](https://api.mail.hostinger.com/) tokens across\nall your mail orders, optionally filtered by order. Plaintext tokens\nare never included; they are returned only when a token is created.",
95
+ "method": "GET",
96
+ "path": "/api/mail/v1/api-tokens",
97
+ "inputSchema": {
98
+ "type": "object",
99
+ "properties": {
100
+ "order_id": {
101
+ "type": "string",
102
+ "description": "Filter tokens by order resource ID. Single value or comma-separated list."
103
+ },
104
+ "page": {
105
+ "type": "integer",
106
+ "description": "Page number"
107
+ },
108
+ "per_page": {
109
+ "type": "integer",
110
+ "description": "Number of items per page"
111
+ }
112
+ },
113
+ "required": []
114
+ },
115
+ "security": [
116
+ {
117
+ "apiToken": []
118
+ }
119
+ ],
120
+ "group": "mail"
121
+ },
17
122
  {
18
123
  "name": "mail_listAccessLogsV1",
19
124
  "description": "Retrieve paginated access logs for the domain attached to the given\nmail order. Supports filtering by account, date range, protocol,\nstatus, and deletion flag. Results are sorted by timestamp descending.",
@@ -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.19.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.20.1', 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.19.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.20.1', tools });
package/types.d.ts CHANGED
@@ -2841,6 +2841,73 @@ complete. The response returns before the removal finishes.
2841
2841
  response: any; // Response structure will depend on the API
2842
2842
  };
2843
2843
 
2844
+ /**
2845
+ * Create an API token for the given mail order. The token grants access
2846
+ to the [Hostinger Email API](https://api.mail.hostinger.com/), where
2847
+ you can provision and manage the mailboxes it is scoped to.
2848
+
2849
+ The plaintext token is returned only in this response, never again.
2850
+ A maximum of 10 tokens can exist per order. Use
2851
+ `scope.has_all_mailboxes` to cover all current and future mailboxes,
2852
+ or list specific mailboxes in `scope.mailbox_ids`.
2853
+ */
2854
+ "mail_createAPITokenV1": {
2855
+ params: {
2856
+ /**
2857
+ * Order resource ID
2858
+ */
2859
+ orderId: string;
2860
+ /**
2861
+ * Human-readable label for this token
2862
+ */
2863
+ name: string;
2864
+ /**
2865
+ * Mailbox scope this token can access
2866
+ */
2867
+ scope: object;
2868
+ };
2869
+ response: any; // Response structure will depend on the API
2870
+ };
2871
+
2872
+ /**
2873
+ * Revoke an API token. The token immediately loses access to the
2874
+ [Hostinger Email API](https://api.mail.hostinger.com/). This action
2875
+ cannot be undone.
2876
+ */
2877
+ "mail_revokeAPITokenV1": {
2878
+ params: {
2879
+ /**
2880
+ * API token ID (returned when the token was created)
2881
+ */
2882
+ tokenId: string;
2883
+ };
2884
+ response: any; // Response structure will depend on the API
2885
+ };
2886
+
2887
+ /**
2888
+ * Retrieve a paginated list of
2889
+ [Hostinger Email API](https://api.mail.hostinger.com/) tokens across
2890
+ all your mail orders, optionally filtered by order. Plaintext tokens
2891
+ are never included; they are returned only when a token is created.
2892
+ */
2893
+ "mail_listAPITokensV1": {
2894
+ params: {
2895
+ /**
2896
+ * Filter tokens by order resource ID. Single value or comma-separated list.
2897
+ */
2898
+ order_id?: string;
2899
+ /**
2900
+ * Page number
2901
+ */
2902
+ page?: number;
2903
+ /**
2904
+ * Number of items per page
2905
+ */
2906
+ per_page?: number;
2907
+ };
2908
+ response: any; // Response structure will depend on the API
2909
+ };
2910
+
2844
2911
  /**
2845
2912
  * Retrieve paginated access logs for the domain attached to the given
2846
2913
  mail order. Supports filtering by account, date range, protocol,