hostinger-api-mcp 1.57.4 → 1.58.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/CHANGELOG.md +22 -0
- package/README.md +14 -0
- 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 +4 -4
- package/src/core/tools/all.ts +4 -4
- package/src/core/tools/billing.js +2 -2
- package/src/core/tools/billing.ts +2 -2
- package/src/core/tools/domains.js +1 -1
- package/src/core/tools/domains.ts +1 -1
- package/src/core/tools/vps.js +1 -1
- package/src/core/tools/vps.ts +1 -1
- 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 +14 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,28 @@ Generated at release time from the diff between the previous and current
|
|
|
4
4
|
build. Tool changes are listed individually; everything else is summarised
|
|
5
5
|
by area.
|
|
6
6
|
|
|
7
|
+
## v1.58.1 — 2026-09-11
|
|
8
|
+
|
|
9
|
+
### Also in this release
|
|
10
|
+
|
|
11
|
+
- Dependencies: `package-lock.json`
|
|
12
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
13
|
+
|
|
14
|
+
## v1.58.0 — 2026-09-09
|
|
15
|
+
|
|
16
|
+
### Tools
|
|
17
|
+
|
|
18
|
+
- Changed the description of `billing_createPurchaseOrderV1`
|
|
19
|
+
- Changed the description of `billing_renewSubscriptionV1`
|
|
20
|
+
- Changed the description of `domains_purchaseNewDomainV1`
|
|
21
|
+
- Changed the description of `VPS_purchaseNewVirtualMachineV1`
|
|
22
|
+
|
|
23
|
+
### Also in this release
|
|
24
|
+
|
|
25
|
+
- Documentation: `README.md`
|
|
26
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
27
|
+
- Build and packaging: `types.d.ts`
|
|
28
|
+
|
|
7
29
|
## v1.57.4 — 2026-09-09
|
|
8
30
|
|
|
9
31
|
### Tools
|
package/README.md
CHANGED
|
@@ -639,6 +639,9 @@ up the `item_id` values available for purchase.
|
|
|
639
639
|
|
|
640
640
|
If no payment method is provided, your default payment method will be used automatically.
|
|
641
641
|
|
|
642
|
+
If the response is `202 Accepted`, the payment is still being processed and the order will
|
|
643
|
+
complete asynchronously once the payment is confirmed.
|
|
644
|
+
|
|
642
645
|
This endpoint only places the order. Product-specific provisioning
|
|
643
646
|
(e.g. VPS setup or domain registration) is not performed here — once the
|
|
644
647
|
order completes, use the relevant product endpoints or
|
|
@@ -717,6 +720,9 @@ the existing billing infrastructure. Use the
|
|
|
717
720
|
|
|
718
721
|
If no payment method is provided, your default payment method will be used automatically.
|
|
719
722
|
|
|
723
|
+
If the response is `202 Accepted`, the payment is still being processed and the renewal will
|
|
724
|
+
complete asynchronously once the payment is confirmed.
|
|
725
|
+
|
|
720
726
|
Use this endpoint to renew any subscription available in your account.
|
|
721
727
|
|
|
722
728
|
- **Method**: `POST`
|
|
@@ -1106,6 +1112,10 @@ If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and chec
|
|
|
1106
1112
|
|
|
1107
1113
|
If no payment method is provided, your default payment method will be used automatically.
|
|
1108
1114
|
|
|
1115
|
+
If the response is `202 Accepted`, the payment is still being processed and the domain was
|
|
1116
|
+
**not** registered. Once the order completes, register the domain from
|
|
1117
|
+
[hPanel](https://hpanel.hostinger.com/).
|
|
1118
|
+
|
|
1109
1119
|
If no WHOIS information is provided, default contact information for that TLD will be used.
|
|
1110
1120
|
Before making request, ensure WHOIS information for desired TLD exists in your account.
|
|
1111
1121
|
|
|
@@ -3806,6 +3816,10 @@ If virtual machine setup fails for any reason, login to
|
|
|
3806
3816
|
|
|
3807
3817
|
If no payment method is provided, your default payment method will be used automatically.
|
|
3808
3818
|
|
|
3819
|
+
If the response is `202 Accepted`, the payment is still being processed and the virtual machine
|
|
3820
|
+
was not set up. Login to
|
|
3821
|
+
[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.
|
|
3822
|
+
|
|
3809
3823
|
Use this endpoint to create new VPS instances.
|
|
3810
3824
|
|
|
3811
3825
|
- **Method**: `POST`
|
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.58.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@hostinger/mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.58.1",
|
|
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
|
@@ -1835,7 +1835,7 @@ export default [
|
|
|
1835
1835
|
"readOnlyHint": false,
|
|
1836
1836
|
"destructiveHint": false
|
|
1837
1837
|
},
|
|
1838
|
-
"description": "Create a purchase order for any Hostinger product.\n\nThis unified endpoint places an order for one or more catalog items and\nworks across all Hostinger products, leveraging the existing billing\ninfrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look\nup the `item_id` values available for purchase.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nThis endpoint only places the order. Product-specific provisioning\n(e.g. VPS setup or domain registration) is not performed here — once the\norder completes, use the relevant product endpoints or\n[hPanel](https://hpanel.hostinger.com/) to finalize setup.\n\nUse this endpoint to purchase any product available in the catalog.",
|
|
1838
|
+
"description": "Create a purchase order for any Hostinger product.\n\nThis unified endpoint places an order for one or more catalog items and\nworks across all Hostinger products, leveraging the existing billing\ninfrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look\nup the `item_id` values available for purchase.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the order will\ncomplete asynchronously once the payment is confirmed.\n\nThis endpoint only places the order. Product-specific provisioning\n(e.g. VPS setup or domain registration) is not performed here — once the\norder completes, use the relevant product endpoints or\n[hPanel](https://hpanel.hostinger.com/) to finalize setup.\n\nUse this endpoint to purchase any product available in the catalog.",
|
|
1839
1839
|
"method": "POST",
|
|
1840
1840
|
"path": "/api/billing/v1/orders",
|
|
1841
1841
|
"inputSchema": {
|
|
@@ -2063,7 +2063,7 @@ export default [
|
|
|
2063
2063
|
"readOnlyHint": false,
|
|
2064
2064
|
"destructiveHint": false
|
|
2065
2065
|
},
|
|
2066
|
-
"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.",
|
|
2066
|
+
"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\nIf the response is `202 Accepted`, the payment is still being processed and the renewal will\ncomplete asynchronously once the payment is confirmed.\n\nUse this endpoint to renew any subscription available in your account.",
|
|
2067
2067
|
"method": "POST",
|
|
2068
2068
|
"path": "/api/billing/v1/subscriptions/{subscriptionId}/renew",
|
|
2069
2069
|
"inputSchema": {
|
|
@@ -3311,7 +3311,7 @@ export default [
|
|
|
3311
3311
|
"readOnlyHint": false,
|
|
3312
3312
|
"destructiveHint": false
|
|
3313
3313
|
},
|
|
3314
|
-
"description": "Purchase and register a new domain name.\n\nIf registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before completing purchase.\n\nUse this endpoint to register new domains for users.",
|
|
3314
|
+
"description": "Purchase and register a new domain name.\n\nIf registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the domain was\n**not** registered. Once the order completes, register the domain from\n[hPanel](https://hpanel.hostinger.com/).\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before completing purchase.\n\nUse this endpoint to register new domains for users.",
|
|
3315
3315
|
"method": "POST",
|
|
3316
3316
|
"path": "/api/domains/v1/portfolio",
|
|
3317
3317
|
"inputSchema": {
|
|
@@ -13603,7 +13603,7 @@ export default [
|
|
|
13603
13603
|
"readOnlyHint": false,
|
|
13604
13604
|
"destructiveHint": false
|
|
13605
13605
|
},
|
|
13606
|
-
"description": "Purchase and setup a new virtual machine.\n\nIf virtual machine setup fails for any reason, login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to create new VPS instances.",
|
|
13606
|
+
"description": "Purchase and setup a new virtual machine.\n\nIf virtual machine setup fails for any reason, login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the virtual machine\nwas not set up. Login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nUse this endpoint to create new VPS instances.",
|
|
13607
13607
|
"method": "POST",
|
|
13608
13608
|
"path": "/api/vps/v1/virtual-machines",
|
|
13609
13609
|
"inputSchema": {
|
package/src/core/tools/all.ts
CHANGED
|
@@ -1849,7 +1849,7 @@ const tools: OpenApiTool[] = [
|
|
|
1849
1849
|
"readOnlyHint": false,
|
|
1850
1850
|
"destructiveHint": false
|
|
1851
1851
|
},
|
|
1852
|
-
"description": "Create a purchase order for any Hostinger product.\n\nThis unified endpoint places an order for one or more catalog items and\nworks across all Hostinger products, leveraging the existing billing\ninfrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look\nup the `item_id` values available for purchase.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nThis endpoint only places the order. Product-specific provisioning\n(e.g. VPS setup or domain registration) is not performed here — once the\norder completes, use the relevant product endpoints or\n[hPanel](https://hpanel.hostinger.com/) to finalize setup.\n\nUse this endpoint to purchase any product available in the catalog.",
|
|
1852
|
+
"description": "Create a purchase order for any Hostinger product.\n\nThis unified endpoint places an order for one or more catalog items and\nworks across all Hostinger products, leveraging the existing billing\ninfrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look\nup the `item_id` values available for purchase.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the order will\ncomplete asynchronously once the payment is confirmed.\n\nThis endpoint only places the order. Product-specific provisioning\n(e.g. VPS setup or domain registration) is not performed here — once the\norder completes, use the relevant product endpoints or\n[hPanel](https://hpanel.hostinger.com/) to finalize setup.\n\nUse this endpoint to purchase any product available in the catalog.",
|
|
1853
1853
|
"method": "POST",
|
|
1854
1854
|
"path": "/api/billing/v1/orders",
|
|
1855
1855
|
"inputSchema": {
|
|
@@ -2077,7 +2077,7 @@ const tools: OpenApiTool[] = [
|
|
|
2077
2077
|
"readOnlyHint": false,
|
|
2078
2078
|
"destructiveHint": false
|
|
2079
2079
|
},
|
|
2080
|
-
"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.",
|
|
2080
|
+
"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\nIf the response is `202 Accepted`, the payment is still being processed and the renewal will\ncomplete asynchronously once the payment is confirmed.\n\nUse this endpoint to renew any subscription available in your account.",
|
|
2081
2081
|
"method": "POST",
|
|
2082
2082
|
"path": "/api/billing/v1/subscriptions/{subscriptionId}/renew",
|
|
2083
2083
|
"inputSchema": {
|
|
@@ -3325,7 +3325,7 @@ const tools: OpenApiTool[] = [
|
|
|
3325
3325
|
"readOnlyHint": false,
|
|
3326
3326
|
"destructiveHint": false
|
|
3327
3327
|
},
|
|
3328
|
-
"description": "Purchase and register a new domain name.\n\nIf registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before completing purchase.\n\nUse this endpoint to register new domains for users.",
|
|
3328
|
+
"description": "Purchase and register a new domain name.\n\nIf registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the domain was\n**not** registered. Once the order completes, register the domain from\n[hPanel](https://hpanel.hostinger.com/).\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before completing purchase.\n\nUse this endpoint to register new domains for users.",
|
|
3329
3329
|
"method": "POST",
|
|
3330
3330
|
"path": "/api/domains/v1/portfolio",
|
|
3331
3331
|
"inputSchema": {
|
|
@@ -13617,7 +13617,7 @@ const tools: OpenApiTool[] = [
|
|
|
13617
13617
|
"readOnlyHint": false,
|
|
13618
13618
|
"destructiveHint": false
|
|
13619
13619
|
},
|
|
13620
|
-
"description": "Purchase and setup a new virtual machine.\n\nIf virtual machine setup fails for any reason, login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to create new VPS instances.",
|
|
13620
|
+
"description": "Purchase and setup a new virtual machine.\n\nIf virtual machine setup fails for any reason, login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the virtual machine\nwas not set up. Login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nUse this endpoint to create new VPS instances.",
|
|
13621
13621
|
"method": "POST",
|
|
13622
13622
|
"path": "/api/vps/v1/virtual-machines",
|
|
13623
13623
|
"inputSchema": {
|
|
@@ -45,7 +45,7 @@ export default [
|
|
|
45
45
|
"readOnlyHint": false,
|
|
46
46
|
"destructiveHint": false
|
|
47
47
|
},
|
|
48
|
-
"description": "Create a purchase order for any Hostinger product.\n\nThis unified endpoint places an order for one or more catalog items and\nworks across all Hostinger products, leveraging the existing billing\ninfrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look\nup the `item_id` values available for purchase.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nThis endpoint only places the order. Product-specific provisioning\n(e.g. VPS setup or domain registration) is not performed here — once the\norder completes, use the relevant product endpoints or\n[hPanel](https://hpanel.hostinger.com/) to finalize setup.\n\nUse this endpoint to purchase any product available in the catalog.",
|
|
48
|
+
"description": "Create a purchase order for any Hostinger product.\n\nThis unified endpoint places an order for one or more catalog items and\nworks across all Hostinger products, leveraging the existing billing\ninfrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look\nup the `item_id` values available for purchase.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the order will\ncomplete asynchronously once the payment is confirmed.\n\nThis endpoint only places the order. Product-specific provisioning\n(e.g. VPS setup or domain registration) is not performed here — once the\norder completes, use the relevant product endpoints or\n[hPanel](https://hpanel.hostinger.com/) to finalize setup.\n\nUse this endpoint to purchase any product available in the catalog.",
|
|
49
49
|
"method": "POST",
|
|
50
50
|
"path": "/api/billing/v1/orders",
|
|
51
51
|
"inputSchema": {
|
|
@@ -273,7 +273,7 @@ export default [
|
|
|
273
273
|
"readOnlyHint": false,
|
|
274
274
|
"destructiveHint": false
|
|
275
275
|
},
|
|
276
|
-
"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.",
|
|
276
|
+
"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\nIf the response is `202 Accepted`, the payment is still being processed and the renewal will\ncomplete asynchronously once the payment is confirmed.\n\nUse this endpoint to renew any subscription available in your account.",
|
|
277
277
|
"method": "POST",
|
|
278
278
|
"path": "/api/billing/v1/subscriptions/{subscriptionId}/renew",
|
|
279
279
|
"inputSchema": {
|
|
@@ -59,7 +59,7 @@ const tools: OpenApiTool[] = [
|
|
|
59
59
|
"readOnlyHint": false,
|
|
60
60
|
"destructiveHint": false
|
|
61
61
|
},
|
|
62
|
-
"description": "Create a purchase order for any Hostinger product.\n\nThis unified endpoint places an order for one or more catalog items and\nworks across all Hostinger products, leveraging the existing billing\ninfrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look\nup the `item_id` values available for purchase.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nThis endpoint only places the order. Product-specific provisioning\n(e.g. VPS setup or domain registration) is not performed here — once the\norder completes, use the relevant product endpoints or\n[hPanel](https://hpanel.hostinger.com/) to finalize setup.\n\nUse this endpoint to purchase any product available in the catalog.",
|
|
62
|
+
"description": "Create a purchase order for any Hostinger product.\n\nThis unified endpoint places an order for one or more catalog items and\nworks across all Hostinger products, leveraging the existing billing\ninfrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look\nup the `item_id` values available for purchase.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the order will\ncomplete asynchronously once the payment is confirmed.\n\nThis endpoint only places the order. Product-specific provisioning\n(e.g. VPS setup or domain registration) is not performed here — once the\norder completes, use the relevant product endpoints or\n[hPanel](https://hpanel.hostinger.com/) to finalize setup.\n\nUse this endpoint to purchase any product available in the catalog.",
|
|
63
63
|
"method": "POST",
|
|
64
64
|
"path": "/api/billing/v1/orders",
|
|
65
65
|
"inputSchema": {
|
|
@@ -287,7 +287,7 @@ const tools: OpenApiTool[] = [
|
|
|
287
287
|
"readOnlyHint": false,
|
|
288
288
|
"destructiveHint": false
|
|
289
289
|
},
|
|
290
|
-
"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.",
|
|
290
|
+
"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\nIf the response is `202 Accepted`, the payment is still being processed and the renewal will\ncomplete asynchronously once the payment is confirmed.\n\nUse this endpoint to renew any subscription available in your account.",
|
|
291
291
|
"method": "POST",
|
|
292
292
|
"path": "/api/billing/v1/subscriptions/{subscriptionId}/renew",
|
|
293
293
|
"inputSchema": {
|
|
@@ -824,7 +824,7 @@ export default [
|
|
|
824
824
|
"readOnlyHint": false,
|
|
825
825
|
"destructiveHint": false
|
|
826
826
|
},
|
|
827
|
-
"description": "Purchase and register a new domain name.\n\nIf registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before completing purchase.\n\nUse this endpoint to register new domains for users.",
|
|
827
|
+
"description": "Purchase and register a new domain name.\n\nIf registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the domain was\n**not** registered. Once the order completes, register the domain from\n[hPanel](https://hpanel.hostinger.com/).\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before completing purchase.\n\nUse this endpoint to register new domains for users.",
|
|
828
828
|
"method": "POST",
|
|
829
829
|
"path": "/api/domains/v1/portfolio",
|
|
830
830
|
"inputSchema": {
|
|
@@ -838,7 +838,7 @@ const tools: OpenApiTool[] = [
|
|
|
838
838
|
"readOnlyHint": false,
|
|
839
839
|
"destructiveHint": false
|
|
840
840
|
},
|
|
841
|
-
"description": "Purchase and register a new domain name.\n\nIf registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before completing purchase.\n\nUse this endpoint to register new domains for users.",
|
|
841
|
+
"description": "Purchase and register a new domain name.\n\nIf registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the domain was\n**not** registered. Once the order completes, register the domain from\n[hPanel](https://hpanel.hostinger.com/).\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before completing purchase.\n\nUse this endpoint to register new domains for users.",
|
|
842
842
|
"method": "POST",
|
|
843
843
|
"path": "/api/domains/v1/portfolio",
|
|
844
844
|
"inputSchema": {
|
package/src/core/tools/vps.js
CHANGED
|
@@ -1507,7 +1507,7 @@ export default [
|
|
|
1507
1507
|
"readOnlyHint": false,
|
|
1508
1508
|
"destructiveHint": false
|
|
1509
1509
|
},
|
|
1510
|
-
"description": "Purchase and setup a new virtual machine.\n\nIf virtual machine setup fails for any reason, login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to create new VPS instances.",
|
|
1510
|
+
"description": "Purchase and setup a new virtual machine.\n\nIf virtual machine setup fails for any reason, login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the virtual machine\nwas not set up. Login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nUse this endpoint to create new VPS instances.",
|
|
1511
1511
|
"method": "POST",
|
|
1512
1512
|
"path": "/api/vps/v1/virtual-machines",
|
|
1513
1513
|
"inputSchema": {
|
package/src/core/tools/vps.ts
CHANGED
|
@@ -1521,7 +1521,7 @@ const tools: OpenApiTool[] = [
|
|
|
1521
1521
|
"readOnlyHint": false,
|
|
1522
1522
|
"destructiveHint": false
|
|
1523
1523
|
},
|
|
1524
|
-
"description": "Purchase and setup a new virtual machine.\n\nIf virtual machine setup fails for any reason, login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nUse this endpoint to create new VPS instances.",
|
|
1524
|
+
"description": "Purchase and setup a new virtual machine.\n\nIf virtual machine setup fails for any reason, login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf the response is `202 Accepted`, the payment is still being processed and the virtual machine\nwas not set up. Login to\n[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.\n\nUse this endpoint to create new VPS instances.",
|
|
1525
1525
|
"method": "POST",
|
|
1526
1526
|
"path": "/api/vps/v1/virtual-machines",
|
|
1527
1527
|
"inputSchema": {
|
|
@@ -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.58.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.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.58.1', 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
|
@@ -1001,6 +1001,9 @@ up the `item_id` values available for purchase.
|
|
|
1001
1001
|
|
|
1002
1002
|
If no payment method is provided, your default payment method will be used automatically.
|
|
1003
1003
|
|
|
1004
|
+
If the response is `202 Accepted`, the payment is still being processed and the order will
|
|
1005
|
+
complete asynchronously once the payment is confirmed.
|
|
1006
|
+
|
|
1004
1007
|
This endpoint only places the order. Product-specific provisioning
|
|
1005
1008
|
(e.g. VPS setup or domain registration) is not performed here — once the
|
|
1006
1009
|
order completes, use the relevant product endpoints or
|
|
@@ -1123,6 +1126,9 @@ the existing billing infrastructure. Use the
|
|
|
1123
1126
|
|
|
1124
1127
|
If no payment method is provided, your default payment method will be used automatically.
|
|
1125
1128
|
|
|
1129
|
+
If the response is `202 Accepted`, the payment is still being processed and the renewal will
|
|
1130
|
+
complete asynchronously once the payment is confirmed.
|
|
1131
|
+
|
|
1126
1132
|
Use this endpoint to renew any subscription available in your account.
|
|
1127
1133
|
*/
|
|
1128
1134
|
"billing_renewSubscriptionV1": {
|
|
@@ -1794,6 +1800,10 @@ If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and chec
|
|
|
1794
1800
|
|
|
1795
1801
|
If no payment method is provided, your default payment method will be used automatically.
|
|
1796
1802
|
|
|
1803
|
+
If the response is `202 Accepted`, the payment is still being processed and the domain was
|
|
1804
|
+
**not** registered. Once the order completes, register the domain from
|
|
1805
|
+
[hPanel](https://hpanel.hostinger.com/).
|
|
1806
|
+
|
|
1797
1807
|
If no WHOIS information is provided, default contact information for that TLD will be used.
|
|
1798
1808
|
Before making request, ensure WHOIS information for desired TLD exists in your account.
|
|
1799
1809
|
|
|
@@ -7738,6 +7748,10 @@ If virtual machine setup fails for any reason, login to
|
|
|
7738
7748
|
|
|
7739
7749
|
If no payment method is provided, your default payment method will be used automatically.
|
|
7740
7750
|
|
|
7751
|
+
If the response is `202 Accepted`, the payment is still being processed and the virtual machine
|
|
7752
|
+
was not set up. Login to
|
|
7753
|
+
[hPanel](https://hpanel.hostinger.com/) and complete the setup manually.
|
|
7754
|
+
|
|
7741
7755
|
Use this endpoint to create new VPS instances.
|
|
7742
7756
|
*/
|
|
7743
7757
|
"VPS_purchaseNewVirtualMachineV1": {
|