hostinger-api-mcp 1.25.0 → 1.26.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,9 +49,9 @@ 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 (275 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (276 total)
53
53
  - `hostinger-agency-hosting-mcp` — 27 tools for agency-hosting
54
- - `hostinger-billing-mcp` — 8 tools for billing
54
+ - `hostinger-billing-mcp` — 9 tools for billing
55
55
  - `hostinger-dns-mcp` — 8 tools for dns
56
56
  - `hostinger-domains-mcp` — 23 tools for domains
57
57
  - `hostinger-ecommerce-mcp` — 12 tools for ecommerce
@@ -553,6 +553,22 @@ Use this endpoint when enable auto-renewal for a subscription.
553
553
  - **Method**: `PATCH`
554
554
  - **Path**: `/api/billing/v1/subscriptions/{subscriptionId}/auto-renewal/enable`
555
555
 
556
+ #### billing_renewSubscriptionV1
557
+
558
+ Create a renewal order for an existing Hostinger subscription.
559
+
560
+ This endpoint places a renewal order for a single subscription, leveraging
561
+ the existing billing infrastructure. Use the
562
+ [subscriptions endpoint](#tag/billing-subscriptions) to look up the
563
+ `subscriptionId` values available for renewal.
564
+
565
+ If no payment method is provided, your default payment method will be used automatically.
566
+
567
+ Use this endpoint to renew any subscription available in your account.
568
+
569
+ - **Method**: `POST`
570
+ - **Path**: `/api/billing/v1/subscriptions/{subscriptionId}/renew`
571
+
556
572
  ### `hostinger-dns-mcp`
557
573
 
558
574
  #### DNS_getDNSSnapshotV1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.25.0",
3
+ "version": "1.26.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.25.0",
3
+ "version": "1.26.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.25.0",
9
+ "version": "1.26.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.25.0",
14
+ "version": "1.26.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.22.0
32
+ * Generated from OpenAPI spec version 1.23.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.22.0
55
+ * Generated from OpenAPI spec version 1.23.0
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -1398,6 +1398,42 @@ export default [
1398
1398
  ],
1399
1399
  "group": "billing"
1400
1400
  },
1401
+ {
1402
+ "name": "billing_renewSubscriptionV1",
1403
+ "description": "Create a renewal order for an existing Hostinger subscription.\n\nThis endpoint places a renewal order for a single subscription, leveraging\nthe existing billing infrastructure. Use the\n[subscriptions endpoint](#tag/billing-subscriptions) to look up the\n`subscriptionId` values available for renewal.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to renew any subscription available in your account.",
1404
+ "method": "POST",
1405
+ "path": "/api/billing/v1/subscriptions/{subscriptionId}/renew",
1406
+ "inputSchema": {
1407
+ "type": "object",
1408
+ "properties": {
1409
+ "subscriptionId": {
1410
+ "type": "string",
1411
+ "description": "Subscription ID"
1412
+ },
1413
+ "payment_method_id": {
1414
+ "type": "integer",
1415
+ "description": "Payment method ID, default will be used if not provided"
1416
+ },
1417
+ "coupons": {
1418
+ "type": "array",
1419
+ "description": "Discount coupon codes",
1420
+ "items": {
1421
+ "type": "string",
1422
+ "description": "coupons parameter"
1423
+ }
1424
+ }
1425
+ },
1426
+ "required": [
1427
+ "subscriptionId"
1428
+ ]
1429
+ },
1430
+ "security": [
1431
+ {
1432
+ "apiToken": []
1433
+ }
1434
+ ],
1435
+ "group": "billing"
1436
+ },
1401
1437
  {
1402
1438
  "name": "DNS_getDNSSnapshotV1",
1403
1439
  "description": "Retrieve particular DNS snapshot with contents of DNS zone records.\n\nUse this endpoint to view historical DNS configurations for domains.",
@@ -1412,6 +1412,42 @@ const tools: OpenApiTool[] = [
1412
1412
  ],
1413
1413
  "group": "billing"
1414
1414
  },
1415
+ {
1416
+ "name": "billing_renewSubscriptionV1",
1417
+ "description": "Create a renewal order for an existing Hostinger subscription.\n\nThis endpoint places a renewal order for a single subscription, leveraging\nthe existing billing infrastructure. Use the\n[subscriptions endpoint](#tag/billing-subscriptions) to look up the\n`subscriptionId` values available for renewal.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to renew any subscription available in your account.",
1418
+ "method": "POST",
1419
+ "path": "/api/billing/v1/subscriptions/{subscriptionId}/renew",
1420
+ "inputSchema": {
1421
+ "type": "object",
1422
+ "properties": {
1423
+ "subscriptionId": {
1424
+ "type": "string",
1425
+ "description": "Subscription ID"
1426
+ },
1427
+ "payment_method_id": {
1428
+ "type": "integer",
1429
+ "description": "Payment method ID, default will be used if not provided"
1430
+ },
1431
+ "coupons": {
1432
+ "type": "array",
1433
+ "description": "Discount coupon codes",
1434
+ "items": {
1435
+ "type": "string",
1436
+ "description": "coupons parameter"
1437
+ }
1438
+ }
1439
+ },
1440
+ "required": [
1441
+ "subscriptionId"
1442
+ ]
1443
+ },
1444
+ "security": [
1445
+ {
1446
+ "apiToken": []
1447
+ }
1448
+ ],
1449
+ "group": "billing"
1450
+ },
1415
1451
  {
1416
1452
  "name": "DNS_getDNSSnapshotV1",
1417
1453
  "description": "Retrieve particular DNS snapshot with contents of DNS zone records.\n\nUse this endpoint to view historical DNS configurations for domains.",
@@ -213,5 +213,41 @@ export default [
213
213
  }
214
214
  ],
215
215
  "group": "billing"
216
+ },
217
+ {
218
+ "name": "billing_renewSubscriptionV1",
219
+ "description": "Create a renewal order for an existing Hostinger subscription.\n\nThis endpoint places a renewal order for a single subscription, leveraging\nthe existing billing infrastructure. Use the\n[subscriptions endpoint](#tag/billing-subscriptions) to look up the\n`subscriptionId` values available for renewal.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to renew any subscription available in your account.",
220
+ "method": "POST",
221
+ "path": "/api/billing/v1/subscriptions/{subscriptionId}/renew",
222
+ "inputSchema": {
223
+ "type": "object",
224
+ "properties": {
225
+ "subscriptionId": {
226
+ "type": "string",
227
+ "description": "Subscription ID"
228
+ },
229
+ "payment_method_id": {
230
+ "type": "integer",
231
+ "description": "Payment method ID, default will be used if not provided"
232
+ },
233
+ "coupons": {
234
+ "type": "array",
235
+ "description": "Discount coupon codes",
236
+ "items": {
237
+ "type": "string",
238
+ "description": "coupons parameter"
239
+ }
240
+ }
241
+ },
242
+ "required": [
243
+ "subscriptionId"
244
+ ]
245
+ },
246
+ "security": [
247
+ {
248
+ "apiToken": []
249
+ }
250
+ ],
251
+ "group": "billing"
216
252
  }
217
253
  ];
@@ -227,6 +227,42 @@ const tools: OpenApiTool[] = [
227
227
  }
228
228
  ],
229
229
  "group": "billing"
230
+ },
231
+ {
232
+ "name": "billing_renewSubscriptionV1",
233
+ "description": "Create a renewal order for an existing Hostinger subscription.\n\nThis endpoint places a renewal order for a single subscription, leveraging\nthe existing billing infrastructure. Use the\n[subscriptions endpoint](#tag/billing-subscriptions) to look up the\n`subscriptionId` values available for renewal.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to renew any subscription available in your account.",
234
+ "method": "POST",
235
+ "path": "/api/billing/v1/subscriptions/{subscriptionId}/renew",
236
+ "inputSchema": {
237
+ "type": "object",
238
+ "properties": {
239
+ "subscriptionId": {
240
+ "type": "string",
241
+ "description": "Subscription ID"
242
+ },
243
+ "payment_method_id": {
244
+ "type": "integer",
245
+ "description": "Payment method ID, default will be used if not provided"
246
+ },
247
+ "coupons": {
248
+ "type": "array",
249
+ "description": "Discount coupon codes",
250
+ "items": {
251
+ "type": "string",
252
+ "description": "coupons parameter"
253
+ }
254
+ }
255
+ },
256
+ "required": [
257
+ "subscriptionId"
258
+ ]
259
+ },
260
+ "security": [
261
+ {
262
+ "apiToken": []
263
+ }
264
+ ],
265
+ "group": "billing"
230
266
  }
231
267
  ];
232
268
  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.25.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.26.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.25.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.26.0', tools });
package/types.d.ts CHANGED
@@ -882,6 +882,36 @@ Use this endpoint when enable auto-renewal for a subscription.
882
882
  response: any; // Response structure will depend on the API
883
883
  };
884
884
 
885
+ /**
886
+ * Create a renewal order for an existing Hostinger subscription.
887
+
888
+ This endpoint places a renewal order for a single subscription, leveraging
889
+ the existing billing infrastructure. Use the
890
+ [subscriptions endpoint](#tag/billing-subscriptions) to look up the
891
+ `subscriptionId` values available for renewal.
892
+
893
+ If no payment method is provided, your default payment method will be used automatically.
894
+
895
+ Use this endpoint to renew any subscription available in your account.
896
+ */
897
+ "billing_renewSubscriptionV1": {
898
+ params: {
899
+ /**
900
+ * Subscription ID
901
+ */
902
+ subscriptionId: string;
903
+ /**
904
+ * Payment method ID, default will be used if not provided
905
+ */
906
+ payment_method_id?: number;
907
+ /**
908
+ * Discount coupon codes
909
+ */
910
+ coupons?: array;
911
+ };
912
+ response: any; // Response structure will depend on the API
913
+ };
914
+
885
915
  /**
886
916
  * Retrieve particular DNS snapshot with contents of DNS zone records.
887
917