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 +18 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +36 -0
- package/src/core/tools/all.ts +36 -0
- package/src/core/tools/billing.js +36 -0
- package/src/core/tools/billing.ts +36 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +30 -0
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 (
|
|
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` —
|
|
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
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
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.
|
|
9
|
+
"version": "1.26.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.26.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
package/src/core/tools/all.js
CHANGED
|
@@ -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.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.26.0', tools });
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
package/src/servers/mail.js
CHANGED
package/src/servers/mail.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
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
|
|