hostinger-api-mcp 1.11.2 → 1.12.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 (233 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (234 total)
53
53
  - `hostinger-agency-hosting-mcp` — 23 tools for agency-hosting
54
54
  - `hostinger-billing-mcp` — 7 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` — 1 tools for mail
60
+ - `hostinger-mail-mcp` — 2 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
@@ -1504,6 +1504,17 @@ complete. The response returns before the removal finishes.
1504
1504
 
1505
1505
  ### `hostinger-mail-mcp`
1506
1506
 
1507
+ #### mail_getMailboxListV1
1508
+
1509
+ Retrieve a paginated list of mailboxes belonging to a mail order.
1510
+
1511
+ Use this endpoint to monitor mailboxes of your mail service, including
1512
+ their status, enabled protocols, attached resource counts, and
1513
+ periodically synced usage numbers (usage may lag behind live values).
1514
+
1515
+ - **Method**: `GET`
1516
+ - **Path**: `/api/mail/v1/orders/{orderId}/mailboxes`
1517
+
1507
1518
  #### mail_getMailOrderListV1
1508
1519
 
1509
1520
  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.11.2",
3
+ "version": "1.12.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.11.2",
3
+ "version": "1.12.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.11.2",
9
+ "version": "1.12.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.11.2",
14
+ "version": "1.12.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.11.2
32
+ * Generated from OpenAPI spec version 1.12.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.11.2
55
+ * Generated from OpenAPI spec version 1.12.0
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -4117,6 +4117,50 @@ export default [
4117
4117
  ],
4118
4118
  "group": "hosting"
4119
4119
  },
4120
+ {
4121
+ "name": "mail_getMailboxListV1",
4122
+ "description": "Retrieve a paginated list of mailboxes belonging to a mail order.\n\nUse this endpoint to monitor mailboxes of your mail service, including\ntheir status, enabled protocols, attached resource counts, and\nperiodically synced usage numbers (usage may lag behind live values).",
4123
+ "method": "GET",
4124
+ "path": "/api/mail/v1/orders/{orderId}/mailboxes",
4125
+ "inputSchema": {
4126
+ "type": "object",
4127
+ "properties": {
4128
+ "orderId": {
4129
+ "type": "string",
4130
+ "description": "Order resource ID"
4131
+ },
4132
+ "search": {
4133
+ "type": "string",
4134
+ "description": "Filter mailboxes whose email address contains the given string"
4135
+ },
4136
+ "sort": {
4137
+ "type": "string",
4138
+ "description": "Sort mailboxes by field. Prefix with `-` for descending order.",
4139
+ "enum": [
4140
+ "address",
4141
+ "-address"
4142
+ ]
4143
+ },
4144
+ "page": {
4145
+ "type": "integer",
4146
+ "description": "Page number"
4147
+ },
4148
+ "per_page": {
4149
+ "type": "integer",
4150
+ "description": "Number of items per page"
4151
+ }
4152
+ },
4153
+ "required": [
4154
+ "orderId"
4155
+ ]
4156
+ },
4157
+ "security": [
4158
+ {
4159
+ "apiToken": []
4160
+ }
4161
+ ],
4162
+ "group": "mail"
4163
+ },
4120
4164
  {
4121
4165
  "name": "mail_getMailOrderListV1",
4122
4166
  "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.",
@@ -4131,6 +4131,50 @@ const tools: OpenApiTool[] = [
4131
4131
  ],
4132
4132
  "group": "hosting"
4133
4133
  },
4134
+ {
4135
+ "name": "mail_getMailboxListV1",
4136
+ "description": "Retrieve a paginated list of mailboxes belonging to a mail order.\n\nUse this endpoint to monitor mailboxes of your mail service, including\ntheir status, enabled protocols, attached resource counts, and\nperiodically synced usage numbers (usage may lag behind live values).",
4137
+ "method": "GET",
4138
+ "path": "/api/mail/v1/orders/{orderId}/mailboxes",
4139
+ "inputSchema": {
4140
+ "type": "object",
4141
+ "properties": {
4142
+ "orderId": {
4143
+ "type": "string",
4144
+ "description": "Order resource ID"
4145
+ },
4146
+ "search": {
4147
+ "type": "string",
4148
+ "description": "Filter mailboxes whose email address contains the given string"
4149
+ },
4150
+ "sort": {
4151
+ "type": "string",
4152
+ "description": "Sort mailboxes by field. Prefix with `-` for descending order.",
4153
+ "enum": [
4154
+ "address",
4155
+ "-address"
4156
+ ]
4157
+ },
4158
+ "page": {
4159
+ "type": "integer",
4160
+ "description": "Page number"
4161
+ },
4162
+ "per_page": {
4163
+ "type": "integer",
4164
+ "description": "Number of items per page"
4165
+ }
4166
+ },
4167
+ "required": [
4168
+ "orderId"
4169
+ ]
4170
+ },
4171
+ "security": [
4172
+ {
4173
+ "apiToken": []
4174
+ }
4175
+ ],
4176
+ "group": "mail"
4177
+ },
4134
4178
  {
4135
4179
  "name": "mail_getMailOrderListV1",
4136
4180
  "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.",
@@ -1,5 +1,49 @@
1
1
  // Auto-generated tool list for group: mail
2
2
  export default [
3
+ {
4
+ "name": "mail_getMailboxListV1",
5
+ "description": "Retrieve a paginated list of mailboxes belonging to a mail order.\n\nUse this endpoint to monitor mailboxes of your mail service, including\ntheir status, enabled protocols, attached resource counts, and\nperiodically synced usage numbers (usage may lag behind live values).",
6
+ "method": "GET",
7
+ "path": "/api/mail/v1/orders/{orderId}/mailboxes",
8
+ "inputSchema": {
9
+ "type": "object",
10
+ "properties": {
11
+ "orderId": {
12
+ "type": "string",
13
+ "description": "Order resource ID"
14
+ },
15
+ "search": {
16
+ "type": "string",
17
+ "description": "Filter mailboxes whose email address contains the given string"
18
+ },
19
+ "sort": {
20
+ "type": "string",
21
+ "description": "Sort mailboxes by field. Prefix with `-` for descending order.",
22
+ "enum": [
23
+ "address",
24
+ "-address"
25
+ ]
26
+ },
27
+ "page": {
28
+ "type": "integer",
29
+ "description": "Page number"
30
+ },
31
+ "per_page": {
32
+ "type": "integer",
33
+ "description": "Number of items per page"
34
+ }
35
+ },
36
+ "required": [
37
+ "orderId"
38
+ ]
39
+ },
40
+ "security": [
41
+ {
42
+ "apiToken": []
43
+ }
44
+ ],
45
+ "group": "mail"
46
+ },
3
47
  {
4
48
  "name": "mail_getMailOrderListV1",
5
49
  "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.",
@@ -14,6 +14,50 @@ export interface OpenApiTool extends Tool {
14
14
  }
15
15
 
16
16
  const tools: OpenApiTool[] = [
17
+ {
18
+ "name": "mail_getMailboxListV1",
19
+ "description": "Retrieve a paginated list of mailboxes belonging to a mail order.\n\nUse this endpoint to monitor mailboxes of your mail service, including\ntheir status, enabled protocols, attached resource counts, and\nperiodically synced usage numbers (usage may lag behind live values).",
20
+ "method": "GET",
21
+ "path": "/api/mail/v1/orders/{orderId}/mailboxes",
22
+ "inputSchema": {
23
+ "type": "object",
24
+ "properties": {
25
+ "orderId": {
26
+ "type": "string",
27
+ "description": "Order resource ID"
28
+ },
29
+ "search": {
30
+ "type": "string",
31
+ "description": "Filter mailboxes whose email address contains the given string"
32
+ },
33
+ "sort": {
34
+ "type": "string",
35
+ "description": "Sort mailboxes by field. Prefix with `-` for descending order.",
36
+ "enum": [
37
+ "address",
38
+ "-address"
39
+ ]
40
+ },
41
+ "page": {
42
+ "type": "integer",
43
+ "description": "Page number"
44
+ },
45
+ "per_page": {
46
+ "type": "integer",
47
+ "description": "Number of items per page"
48
+ }
49
+ },
50
+ "required": [
51
+ "orderId"
52
+ ]
53
+ },
54
+ "security": [
55
+ {
56
+ "apiToken": []
57
+ }
58
+ ],
59
+ "group": "mail"
60
+ },
17
61
  {
18
62
  "name": "mail_getMailOrderListV1",
19
63
  "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.11.2', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.12.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.11.2', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.12.0', tools });
package/types.d.ts CHANGED
@@ -2762,6 +2762,39 @@ complete. The response returns before the removal finishes.
2762
2762
  response: any; // Response structure will depend on the API
2763
2763
  };
2764
2764
 
2765
+ /**
2766
+ * Retrieve a paginated list of mailboxes belonging to a mail order.
2767
+
2768
+ Use this endpoint to monitor mailboxes of your mail service, including
2769
+ their status, enabled protocols, attached resource counts, and
2770
+ periodically synced usage numbers (usage may lag behind live values).
2771
+ */
2772
+ "mail_getMailboxListV1": {
2773
+ params: {
2774
+ /**
2775
+ * Order resource ID
2776
+ */
2777
+ orderId: string;
2778
+ /**
2779
+ * Filter mailboxes whose email address contains the given string
2780
+ */
2781
+ search?: string;
2782
+ /**
2783
+ * Sort mailboxes by field. Prefix with `-` for descending order.
2784
+ */
2785
+ sort?: string;
2786
+ /**
2787
+ * Page number
2788
+ */
2789
+ page?: number;
2790
+ /**
2791
+ * Number of items per page
2792
+ */
2793
+ per_page?: number;
2794
+ };
2795
+ response: any; // Response structure will depend on the API
2796
+ };
2797
+
2765
2798
  /**
2766
2799
  * Retrieve a paginated list of mail orders associated with your account.
2767
2800