hostinger-api-mcp 1.25.0 → 1.27.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 +44 -3
- 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 +85 -1
- package/src/core/tools/all.ts +85 -1
- package/src/core/tools/billing.js +36 -0
- package/src/core/tools/billing.ts +36 -0
- package/src/core/tools/domains.js +48 -0
- package/src/core/tools/domains.ts +48 -0
- 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 +67 -0
package/README.md
CHANGED
|
@@ -49,11 +49,11 @@ 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 (278 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
|
-
- `hostinger-domains-mcp` —
|
|
56
|
+
- `hostinger-domains-mcp` — 25 tools for domains
|
|
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
|
|
@@ -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
|
|
@@ -831,6 +847,28 @@ Use this endpoint to monitor incoming and outgoing registrar transfers across yo
|
|
|
831
847
|
- **Method**: `GET`
|
|
832
848
|
- **Path**: `/api/domains/v1/transfers`
|
|
833
849
|
|
|
850
|
+
#### domains_unsetDefaultWHOISProfileV1
|
|
851
|
+
|
|
852
|
+
Unset WHOIS contact profile as default.
|
|
853
|
+
|
|
854
|
+
The profile itself is kept, it is only no longer pre-selected for its TLD.
|
|
855
|
+
|
|
856
|
+
Use this endpoint to stop reusing contact information for new registrations.
|
|
857
|
+
|
|
858
|
+
- **Method**: `DELETE`
|
|
859
|
+
- **Path**: `/api/domains/v1/whois/default/{whoisId}`
|
|
860
|
+
|
|
861
|
+
#### domains_setWHOISProfileAsDefaultV1
|
|
862
|
+
|
|
863
|
+
Set WHOIS contact profile as default.
|
|
864
|
+
|
|
865
|
+
The default profile is pre-selected for the TLD it belongs to when registering new domains.
|
|
866
|
+
|
|
867
|
+
Use this endpoint to avoid picking contact information for every registration.
|
|
868
|
+
|
|
869
|
+
- **Method**: `PATCH`
|
|
870
|
+
- **Path**: `/api/domains/v1/whois/default/{whoisId}`
|
|
871
|
+
|
|
834
872
|
#### domains_getWHOISProfileV1
|
|
835
873
|
|
|
836
874
|
Retrieve a WHOIS contact profile.
|
|
@@ -2721,6 +2759,9 @@ Stop a specified virtual machine.
|
|
|
2721
2759
|
|
|
2722
2760
|
If the virtual machine is already stopped, the request will still be processed without any effect.
|
|
2723
2761
|
|
|
2762
|
+
This is a compute-only power state change and does not affect billing. To stop future charges,
|
|
2763
|
+
disable auto-renewal on the owning subscription.
|
|
2764
|
+
|
|
2724
2765
|
Use this endpoint to power off running VPS instances.
|
|
2725
2766
|
|
|
2726
2767
|
- **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.27.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.27.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.",
|
|
@@ -2252,6 +2288,54 @@ export default [
|
|
|
2252
2288
|
],
|
|
2253
2289
|
"group": "domains"
|
|
2254
2290
|
},
|
|
2291
|
+
{
|
|
2292
|
+
"name": "domains_unsetDefaultWHOISProfileV1",
|
|
2293
|
+
"description": "Unset WHOIS contact profile as default.\n\nThe profile itself is kept, it is only no longer pre-selected for its TLD.\n\nUse this endpoint to stop reusing contact information for new registrations.",
|
|
2294
|
+
"method": "DELETE",
|
|
2295
|
+
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
2296
|
+
"inputSchema": {
|
|
2297
|
+
"type": "object",
|
|
2298
|
+
"properties": {
|
|
2299
|
+
"whoisId": {
|
|
2300
|
+
"type": "integer",
|
|
2301
|
+
"description": "WHOIS ID"
|
|
2302
|
+
}
|
|
2303
|
+
},
|
|
2304
|
+
"required": [
|
|
2305
|
+
"whoisId"
|
|
2306
|
+
]
|
|
2307
|
+
},
|
|
2308
|
+
"security": [
|
|
2309
|
+
{
|
|
2310
|
+
"apiToken": []
|
|
2311
|
+
}
|
|
2312
|
+
],
|
|
2313
|
+
"group": "domains"
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
"name": "domains_setWHOISProfileAsDefaultV1",
|
|
2317
|
+
"description": "Set WHOIS contact profile as default.\n\nThe default profile is pre-selected for the TLD it belongs to when registering new domains.\n\nUse this endpoint to avoid picking contact information for every registration.",
|
|
2318
|
+
"method": "PATCH",
|
|
2319
|
+
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
2320
|
+
"inputSchema": {
|
|
2321
|
+
"type": "object",
|
|
2322
|
+
"properties": {
|
|
2323
|
+
"whoisId": {
|
|
2324
|
+
"type": "integer",
|
|
2325
|
+
"description": "WHOIS ID"
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
"required": [
|
|
2329
|
+
"whoisId"
|
|
2330
|
+
]
|
|
2331
|
+
},
|
|
2332
|
+
"security": [
|
|
2333
|
+
{
|
|
2334
|
+
"apiToken": []
|
|
2335
|
+
}
|
|
2336
|
+
],
|
|
2337
|
+
"group": "domains"
|
|
2338
|
+
},
|
|
2255
2339
|
{
|
|
2256
2340
|
"name": "domains_getWHOISProfileV1",
|
|
2257
2341
|
"description": "Retrieve a WHOIS contact profile.\n\nUse this endpoint to view domain registration contact information.",
|
|
@@ -7879,7 +7963,7 @@ export default [
|
|
|
7879
7963
|
},
|
|
7880
7964
|
{
|
|
7881
7965
|
"name": "VPS_stopVirtualMachineV1",
|
|
7882
|
-
"description": "Stop a specified virtual machine.\n\nIf the virtual machine is already stopped, the request will still be processed without any effect.\n\nUse this endpoint to power off running VPS instances.",
|
|
7966
|
+
"description": "Stop a specified virtual machine.\n\nIf the virtual machine is already stopped, the request will still be processed without any effect.\n\nThis is a compute-only power state change and does not affect billing. To stop future charges,\ndisable auto-renewal on the owning subscription.\n\nUse this endpoint to power off running VPS instances.",
|
|
7883
7967
|
"method": "POST",
|
|
7884
7968
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/stop",
|
|
7885
7969
|
"inputSchema": {
|
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.",
|
|
@@ -2266,6 +2302,54 @@ const tools: OpenApiTool[] = [
|
|
|
2266
2302
|
],
|
|
2267
2303
|
"group": "domains"
|
|
2268
2304
|
},
|
|
2305
|
+
{
|
|
2306
|
+
"name": "domains_unsetDefaultWHOISProfileV1",
|
|
2307
|
+
"description": "Unset WHOIS contact profile as default.\n\nThe profile itself is kept, it is only no longer pre-selected for its TLD.\n\nUse this endpoint to stop reusing contact information for new registrations.",
|
|
2308
|
+
"method": "DELETE",
|
|
2309
|
+
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
2310
|
+
"inputSchema": {
|
|
2311
|
+
"type": "object",
|
|
2312
|
+
"properties": {
|
|
2313
|
+
"whoisId": {
|
|
2314
|
+
"type": "integer",
|
|
2315
|
+
"description": "WHOIS ID"
|
|
2316
|
+
}
|
|
2317
|
+
},
|
|
2318
|
+
"required": [
|
|
2319
|
+
"whoisId"
|
|
2320
|
+
]
|
|
2321
|
+
},
|
|
2322
|
+
"security": [
|
|
2323
|
+
{
|
|
2324
|
+
"apiToken": []
|
|
2325
|
+
}
|
|
2326
|
+
],
|
|
2327
|
+
"group": "domains"
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"name": "domains_setWHOISProfileAsDefaultV1",
|
|
2331
|
+
"description": "Set WHOIS contact profile as default.\n\nThe default profile is pre-selected for the TLD it belongs to when registering new domains.\n\nUse this endpoint to avoid picking contact information for every registration.",
|
|
2332
|
+
"method": "PATCH",
|
|
2333
|
+
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
2334
|
+
"inputSchema": {
|
|
2335
|
+
"type": "object",
|
|
2336
|
+
"properties": {
|
|
2337
|
+
"whoisId": {
|
|
2338
|
+
"type": "integer",
|
|
2339
|
+
"description": "WHOIS ID"
|
|
2340
|
+
}
|
|
2341
|
+
},
|
|
2342
|
+
"required": [
|
|
2343
|
+
"whoisId"
|
|
2344
|
+
]
|
|
2345
|
+
},
|
|
2346
|
+
"security": [
|
|
2347
|
+
{
|
|
2348
|
+
"apiToken": []
|
|
2349
|
+
}
|
|
2350
|
+
],
|
|
2351
|
+
"group": "domains"
|
|
2352
|
+
},
|
|
2269
2353
|
{
|
|
2270
2354
|
"name": "domains_getWHOISProfileV1",
|
|
2271
2355
|
"description": "Retrieve a WHOIS contact profile.\n\nUse this endpoint to view domain registration contact information.",
|
|
@@ -7893,7 +7977,7 @@ const tools: OpenApiTool[] = [
|
|
|
7893
7977
|
},
|
|
7894
7978
|
{
|
|
7895
7979
|
"name": "VPS_stopVirtualMachineV1",
|
|
7896
|
-
"description": "Stop a specified virtual machine.\n\nIf the virtual machine is already stopped, the request will still be processed without any effect.\n\nUse this endpoint to power off running VPS instances.",
|
|
7980
|
+
"description": "Stop a specified virtual machine.\n\nIf the virtual machine is already stopped, the request will still be processed without any effect.\n\nThis is a compute-only power state change and does not affect billing. To stop future charges,\ndisable auto-renewal on the owning subscription.\n\nUse this endpoint to power off running VPS instances.",
|
|
7897
7981
|
"method": "POST",
|
|
7898
7982
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/stop",
|
|
7899
7983
|
"inputSchema": {
|
|
@@ -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;
|
|
@@ -514,6 +514,54 @@ export default [
|
|
|
514
514
|
],
|
|
515
515
|
"group": "domains"
|
|
516
516
|
},
|
|
517
|
+
{
|
|
518
|
+
"name": "domains_unsetDefaultWHOISProfileV1",
|
|
519
|
+
"description": "Unset WHOIS contact profile as default.\n\nThe profile itself is kept, it is only no longer pre-selected for its TLD.\n\nUse this endpoint to stop reusing contact information for new registrations.",
|
|
520
|
+
"method": "DELETE",
|
|
521
|
+
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
522
|
+
"inputSchema": {
|
|
523
|
+
"type": "object",
|
|
524
|
+
"properties": {
|
|
525
|
+
"whoisId": {
|
|
526
|
+
"type": "integer",
|
|
527
|
+
"description": "WHOIS ID"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"required": [
|
|
531
|
+
"whoisId"
|
|
532
|
+
]
|
|
533
|
+
},
|
|
534
|
+
"security": [
|
|
535
|
+
{
|
|
536
|
+
"apiToken": []
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"group": "domains"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "domains_setWHOISProfileAsDefaultV1",
|
|
543
|
+
"description": "Set WHOIS contact profile as default.\n\nThe default profile is pre-selected for the TLD it belongs to when registering new domains.\n\nUse this endpoint to avoid picking contact information for every registration.",
|
|
544
|
+
"method": "PATCH",
|
|
545
|
+
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
546
|
+
"inputSchema": {
|
|
547
|
+
"type": "object",
|
|
548
|
+
"properties": {
|
|
549
|
+
"whoisId": {
|
|
550
|
+
"type": "integer",
|
|
551
|
+
"description": "WHOIS ID"
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"required": [
|
|
555
|
+
"whoisId"
|
|
556
|
+
]
|
|
557
|
+
},
|
|
558
|
+
"security": [
|
|
559
|
+
{
|
|
560
|
+
"apiToken": []
|
|
561
|
+
}
|
|
562
|
+
],
|
|
563
|
+
"group": "domains"
|
|
564
|
+
},
|
|
517
565
|
{
|
|
518
566
|
"name": "domains_getWHOISProfileV1",
|
|
519
567
|
"description": "Retrieve a WHOIS contact profile.\n\nUse this endpoint to view domain registration contact information.",
|
|
@@ -528,6 +528,54 @@ const tools: OpenApiTool[] = [
|
|
|
528
528
|
],
|
|
529
529
|
"group": "domains"
|
|
530
530
|
},
|
|
531
|
+
{
|
|
532
|
+
"name": "domains_unsetDefaultWHOISProfileV1",
|
|
533
|
+
"description": "Unset WHOIS contact profile as default.\n\nThe profile itself is kept, it is only no longer pre-selected for its TLD.\n\nUse this endpoint to stop reusing contact information for new registrations.",
|
|
534
|
+
"method": "DELETE",
|
|
535
|
+
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
536
|
+
"inputSchema": {
|
|
537
|
+
"type": "object",
|
|
538
|
+
"properties": {
|
|
539
|
+
"whoisId": {
|
|
540
|
+
"type": "integer",
|
|
541
|
+
"description": "WHOIS ID"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"required": [
|
|
545
|
+
"whoisId"
|
|
546
|
+
]
|
|
547
|
+
},
|
|
548
|
+
"security": [
|
|
549
|
+
{
|
|
550
|
+
"apiToken": []
|
|
551
|
+
}
|
|
552
|
+
],
|
|
553
|
+
"group": "domains"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "domains_setWHOISProfileAsDefaultV1",
|
|
557
|
+
"description": "Set WHOIS contact profile as default.\n\nThe default profile is pre-selected for the TLD it belongs to when registering new domains.\n\nUse this endpoint to avoid picking contact information for every registration.",
|
|
558
|
+
"method": "PATCH",
|
|
559
|
+
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
560
|
+
"inputSchema": {
|
|
561
|
+
"type": "object",
|
|
562
|
+
"properties": {
|
|
563
|
+
"whoisId": {
|
|
564
|
+
"type": "integer",
|
|
565
|
+
"description": "WHOIS ID"
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
"required": [
|
|
569
|
+
"whoisId"
|
|
570
|
+
]
|
|
571
|
+
},
|
|
572
|
+
"security": [
|
|
573
|
+
{
|
|
574
|
+
"apiToken": []
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"group": "domains"
|
|
578
|
+
},
|
|
531
579
|
{
|
|
532
580
|
"name": "domains_getWHOISProfileV1",
|
|
533
581
|
"description": "Retrieve a WHOIS contact profile.\n\nUse this endpoint to view domain registration contact information.",
|
package/src/core/tools/vps.js
CHANGED
|
@@ -1791,7 +1791,7 @@ export default [
|
|
|
1791
1791
|
},
|
|
1792
1792
|
{
|
|
1793
1793
|
"name": "VPS_stopVirtualMachineV1",
|
|
1794
|
-
"description": "Stop a specified virtual machine.\n\nIf the virtual machine is already stopped, the request will still be processed without any effect.\n\nUse this endpoint to power off running VPS instances.",
|
|
1794
|
+
"description": "Stop a specified virtual machine.\n\nIf the virtual machine is already stopped, the request will still be processed without any effect.\n\nThis is a compute-only power state change and does not affect billing. To stop future charges,\ndisable auto-renewal on the owning subscription.\n\nUse this endpoint to power off running VPS instances.",
|
|
1795
1795
|
"method": "POST",
|
|
1796
1796
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/stop",
|
|
1797
1797
|
"inputSchema": {
|
package/src/core/tools/vps.ts
CHANGED
|
@@ -1805,7 +1805,7 @@ const tools: OpenApiTool[] = [
|
|
|
1805
1805
|
},
|
|
1806
1806
|
{
|
|
1807
1807
|
"name": "VPS_stopVirtualMachineV1",
|
|
1808
|
-
"description": "Stop a specified virtual machine.\n\nIf the virtual machine is already stopped, the request will still be processed without any effect.\n\nUse this endpoint to power off running VPS instances.",
|
|
1808
|
+
"description": "Stop a specified virtual machine.\n\nIf the virtual machine is already stopped, the request will still be processed without any effect.\n\nThis is a compute-only power state change and does not affect billing. To stop future charges,\ndisable auto-renewal on the owning subscription.\n\nUse this endpoint to power off running VPS instances.",
|
|
1809
1809
|
"method": "POST",
|
|
1810
1810
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/stop",
|
|
1811
1811
|
"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.27.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.27.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
|
|
|
@@ -1403,6 +1433,40 @@ Use this endpoint to monitor incoming and outgoing registrar transfers across yo
|
|
|
1403
1433
|
response: any; // Response structure will depend on the API
|
|
1404
1434
|
};
|
|
1405
1435
|
|
|
1436
|
+
/**
|
|
1437
|
+
* Unset WHOIS contact profile as default.
|
|
1438
|
+
|
|
1439
|
+
The profile itself is kept, it is only no longer pre-selected for its TLD.
|
|
1440
|
+
|
|
1441
|
+
Use this endpoint to stop reusing contact information for new registrations.
|
|
1442
|
+
*/
|
|
1443
|
+
"domains_unsetDefaultWHOISProfileV1": {
|
|
1444
|
+
params: {
|
|
1445
|
+
/**
|
|
1446
|
+
* WHOIS ID
|
|
1447
|
+
*/
|
|
1448
|
+
whoisId: number;
|
|
1449
|
+
};
|
|
1450
|
+
response: any; // Response structure will depend on the API
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* Set WHOIS contact profile as default.
|
|
1455
|
+
|
|
1456
|
+
The default profile is pre-selected for the TLD it belongs to when registering new domains.
|
|
1457
|
+
|
|
1458
|
+
Use this endpoint to avoid picking contact information for every registration.
|
|
1459
|
+
*/
|
|
1460
|
+
"domains_setWHOISProfileAsDefaultV1": {
|
|
1461
|
+
params: {
|
|
1462
|
+
/**
|
|
1463
|
+
* WHOIS ID
|
|
1464
|
+
*/
|
|
1465
|
+
whoisId: number;
|
|
1466
|
+
};
|
|
1467
|
+
response: any; // Response structure will depend on the API
|
|
1468
|
+
};
|
|
1469
|
+
|
|
1406
1470
|
/**
|
|
1407
1471
|
* Retrieve a WHOIS contact profile.
|
|
1408
1472
|
|
|
@@ -5380,6 +5444,9 @@ Use this endpoint to power on stopped VPS instances.
|
|
|
5380
5444
|
|
|
5381
5445
|
If the virtual machine is already stopped, the request will still be processed without any effect.
|
|
5382
5446
|
|
|
5447
|
+
This is a compute-only power state change and does not affect billing. To stop future charges,
|
|
5448
|
+
disable auto-renewal on the owning subscription.
|
|
5449
|
+
|
|
5383
5450
|
Use this endpoint to power off running VPS instances.
|
|
5384
5451
|
*/
|
|
5385
5452
|
"VPS_stopVirtualMachineV1": {
|