hostinger-api-mcp 1.8.2 → 1.9.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 (223 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (224 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
@@ -57,6 +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
61
  - `hostinger-reach-mcp` — 12 tools for reach
61
62
  - `hostinger-vps-mcp` — 62 tools for vps
62
63
  - `hostinger-wordpress-mcp` — 35 tools for wordpress
@@ -1417,6 +1418,18 @@ complete. The response returns before the removal finishes.
1417
1418
  - **Method**: `DELETE`
1418
1419
  - **Path**: `/api/hosting/v1/websites/{domain}`
1419
1420
 
1421
+ ### `hostinger-mail-mcp`
1422
+
1423
+ #### mail_getMailOrderListV1
1424
+
1425
+ Retrieve a paginated list of mail orders associated with your account.
1426
+
1427
+ Use this endpoint to monitor your mail services, including their status,
1428
+ plan, attached domain, and expiration details.
1429
+
1430
+ - **Method**: `GET`
1431
+ - **Path**: `/api/mail/v1/orders`
1432
+
1420
1433
  ### `hostinger-reach-mcp`
1421
1434
 
1422
1435
  #### reach_deleteAContactV1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.8.2",
3
+ "version": "1.9.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.8.2",
3
+ "version": "1.9.0",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
@@ -26,6 +26,7 @@
26
26
  "hostinger-ecommerce-mcp": "./src/servers/ecommerce.js",
27
27
  "hostinger-horizons-mcp": "./src/servers/horizons.js",
28
28
  "hostinger-hosting-mcp": "./src/servers/hosting.js",
29
+ "hostinger-mail-mcp": "./src/servers/mail.js",
29
30
  "hostinger-reach-mcp": "./src/servers/reach.js",
30
31
  "hostinger-vps-mcp": "./src/servers/vps.js",
31
32
  "hostinger-wordpress-mcp": "./src/servers/wordpress.js"
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.8.2",
9
+ "version": "1.9.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.8.2",
14
+ "version": "1.9.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.8.2
32
+ * Generated from OpenAPI spec version 1.9.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.8.2
55
+ * Generated from OpenAPI spec version 1.9.0
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -3837,6 +3837,59 @@ export default [
3837
3837
  ],
3838
3838
  "group": "hosting"
3839
3839
  },
3840
+ {
3841
+ "name": "mail_getMailOrderListV1",
3842
+ "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.",
3843
+ "method": "GET",
3844
+ "path": "/api/mail/v1/orders",
3845
+ "inputSchema": {
3846
+ "type": "object",
3847
+ "properties": {
3848
+ "domain": {
3849
+ "type": "string",
3850
+ "description": "Filter orders by domain name (exact match)"
3851
+ },
3852
+ "status": {
3853
+ "type": "string",
3854
+ "description": "Filter orders by status",
3855
+ "enum": [
3856
+ "pending_setup",
3857
+ "active",
3858
+ "suspended"
3859
+ ]
3860
+ },
3861
+ "is_trial": {
3862
+ "type": "boolean",
3863
+ "description": "Filter orders by trial state"
3864
+ },
3865
+ "sort": {
3866
+ "type": "string",
3867
+ "description": "Sort orders by field. Prefix with `-` for descending order.",
3868
+ "enum": [
3869
+ "created_at",
3870
+ "-created_at",
3871
+ "expires_at",
3872
+ "-expires_at"
3873
+ ]
3874
+ },
3875
+ "page": {
3876
+ "type": "integer",
3877
+ "description": "Page number"
3878
+ },
3879
+ "per_page": {
3880
+ "type": "integer",
3881
+ "description": "Number of items per page"
3882
+ }
3883
+ },
3884
+ "required": []
3885
+ },
3886
+ "security": [
3887
+ {
3888
+ "apiToken": []
3889
+ }
3890
+ ],
3891
+ "group": "mail"
3892
+ },
3840
3893
  {
3841
3894
  "name": "reach_deleteAContactV1",
3842
3895
  "description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",
@@ -3851,6 +3851,59 @@ const tools: OpenApiTool[] = [
3851
3851
  ],
3852
3852
  "group": "hosting"
3853
3853
  },
3854
+ {
3855
+ "name": "mail_getMailOrderListV1",
3856
+ "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.",
3857
+ "method": "GET",
3858
+ "path": "/api/mail/v1/orders",
3859
+ "inputSchema": {
3860
+ "type": "object",
3861
+ "properties": {
3862
+ "domain": {
3863
+ "type": "string",
3864
+ "description": "Filter orders by domain name (exact match)"
3865
+ },
3866
+ "status": {
3867
+ "type": "string",
3868
+ "description": "Filter orders by status",
3869
+ "enum": [
3870
+ "pending_setup",
3871
+ "active",
3872
+ "suspended"
3873
+ ]
3874
+ },
3875
+ "is_trial": {
3876
+ "type": "boolean",
3877
+ "description": "Filter orders by trial state"
3878
+ },
3879
+ "sort": {
3880
+ "type": "string",
3881
+ "description": "Sort orders by field. Prefix with `-` for descending order.",
3882
+ "enum": [
3883
+ "created_at",
3884
+ "-created_at",
3885
+ "expires_at",
3886
+ "-expires_at"
3887
+ ]
3888
+ },
3889
+ "page": {
3890
+ "type": "integer",
3891
+ "description": "Page number"
3892
+ },
3893
+ "per_page": {
3894
+ "type": "integer",
3895
+ "description": "Number of items per page"
3896
+ }
3897
+ },
3898
+ "required": []
3899
+ },
3900
+ "security": [
3901
+ {
3902
+ "apiToken": []
3903
+ }
3904
+ ],
3905
+ "group": "mail"
3906
+ },
3854
3907
  {
3855
3908
  "name": "reach_deleteAContactV1",
3856
3909
  "description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",
@@ -0,0 +1,56 @@
1
+ // Auto-generated tool list for group: mail
2
+ export default [
3
+ {
4
+ "name": "mail_getMailOrderListV1",
5
+ "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.",
6
+ "method": "GET",
7
+ "path": "/api/mail/v1/orders",
8
+ "inputSchema": {
9
+ "type": "object",
10
+ "properties": {
11
+ "domain": {
12
+ "type": "string",
13
+ "description": "Filter orders by domain name (exact match)"
14
+ },
15
+ "status": {
16
+ "type": "string",
17
+ "description": "Filter orders by status",
18
+ "enum": [
19
+ "pending_setup",
20
+ "active",
21
+ "suspended"
22
+ ]
23
+ },
24
+ "is_trial": {
25
+ "type": "boolean",
26
+ "description": "Filter orders by trial state"
27
+ },
28
+ "sort": {
29
+ "type": "string",
30
+ "description": "Sort orders by field. Prefix with `-` for descending order.",
31
+ "enum": [
32
+ "created_at",
33
+ "-created_at",
34
+ "expires_at",
35
+ "-expires_at"
36
+ ]
37
+ },
38
+ "page": {
39
+ "type": "integer",
40
+ "description": "Page number"
41
+ },
42
+ "per_page": {
43
+ "type": "integer",
44
+ "description": "Number of items per page"
45
+ }
46
+ },
47
+ "required": []
48
+ },
49
+ "security": [
50
+ {
51
+ "apiToken": []
52
+ }
53
+ ],
54
+ "group": "mail"
55
+ }
56
+ ];
@@ -0,0 +1,71 @@
1
+ // Auto-generated tool list for group: mail
2
+ import type { Tool } from "@modelcontextprotocol/sdk/types.js";
3
+
4
+ export interface OpenApiTool extends Tool {
5
+ method: string;
6
+ path: string;
7
+ security: unknown[];
8
+ custom?: boolean;
9
+ group?: string;
10
+ topic?: string;
11
+ handlerMethod?: string;
12
+ templateFile?: string;
13
+ templateFileTS?: string;
14
+ }
15
+
16
+ const tools: OpenApiTool[] = [
17
+ {
18
+ "name": "mail_getMailOrderListV1",
19
+ "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.",
20
+ "method": "GET",
21
+ "path": "/api/mail/v1/orders",
22
+ "inputSchema": {
23
+ "type": "object",
24
+ "properties": {
25
+ "domain": {
26
+ "type": "string",
27
+ "description": "Filter orders by domain name (exact match)"
28
+ },
29
+ "status": {
30
+ "type": "string",
31
+ "description": "Filter orders by status",
32
+ "enum": [
33
+ "pending_setup",
34
+ "active",
35
+ "suspended"
36
+ ]
37
+ },
38
+ "is_trial": {
39
+ "type": "boolean",
40
+ "description": "Filter orders by trial state"
41
+ },
42
+ "sort": {
43
+ "type": "string",
44
+ "description": "Sort orders by field. Prefix with `-` for descending order.",
45
+ "enum": [
46
+ "created_at",
47
+ "-created_at",
48
+ "expires_at",
49
+ "-expires_at"
50
+ ]
51
+ },
52
+ "page": {
53
+ "type": "integer",
54
+ "description": "Page number"
55
+ },
56
+ "per_page": {
57
+ "type": "integer",
58
+ "description": "Number of items per page"
59
+ }
60
+ },
61
+ "required": []
62
+ },
63
+ "security": [
64
+ {
65
+ "apiToken": []
66
+ }
67
+ ],
68
+ "group": "mail"
69
+ }
70
+ ];
71
+ export default 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.8.2', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.9.0', tools });
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ // Auto-generated entry for group: mail
3
+ import { startServer } from '../core/runtime.js';
4
+ import tools from '../core/tools/mail.js';
5
+
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.9.0', tools });
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ // Auto-generated entry for group: mail
3
+ import { startServer } from '../core/runtime.js';
4
+ import tools from '../core/tools/mail.js';
5
+
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.9.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.8.2', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.9.0', tools });
package/types.d.ts CHANGED
@@ -2571,6 +2571,42 @@ complete. The response returns before the removal finishes.
2571
2571
  response: any; // Response structure will depend on the API
2572
2572
  };
2573
2573
 
2574
+ /**
2575
+ * Retrieve a paginated list of mail orders associated with your account.
2576
+
2577
+ Use this endpoint to monitor your mail services, including their status,
2578
+ plan, attached domain, and expiration details.
2579
+ */
2580
+ "mail_getMailOrderListV1": {
2581
+ params: {
2582
+ /**
2583
+ * Filter orders by domain name (exact match)
2584
+ */
2585
+ domain?: string;
2586
+ /**
2587
+ * Filter orders by status
2588
+ */
2589
+ status?: string;
2590
+ /**
2591
+ * Filter orders by trial state
2592
+ */
2593
+ is_trial?: boolean;
2594
+ /**
2595
+ * Sort orders by field. Prefix with `-` for descending order.
2596
+ */
2597
+ sort?: string;
2598
+ /**
2599
+ * Page number
2600
+ */
2601
+ page?: number;
2602
+ /**
2603
+ * Number of items per page
2604
+ */
2605
+ per_page?: number;
2606
+ };
2607
+ response: any; // Response structure will depend on the API
2608
+ };
2609
+
2574
2610
  /**
2575
2611
  * Delete a contact with the specified UUID.
2576
2612