hostinger-api-mcp 1.58.1 → 1.60.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/CHANGELOG.md +19 -0
- package/README.md +35 -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 +57 -0
- package/src/core/tools/all.ts +57 -0
- package/src/core/tools/domains.js +57 -0
- package/src/core/tools/domains.ts +57 -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 +47 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,25 @@ 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.60.0 — 2026-09-14
|
|
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.59.0 — 2026-09-11
|
|
15
|
+
|
|
16
|
+
### Tools
|
|
17
|
+
|
|
18
|
+
- Added `domains_completeDomainSetupV1` — Complete domain setup
|
|
19
|
+
|
|
20
|
+
### Also in this release
|
|
21
|
+
|
|
22
|
+
- Documentation: `README.md`
|
|
23
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
24
|
+
- Build and packaging: `types.d.ts`
|
|
25
|
+
|
|
7
26
|
## v1.58.1 — 2026-09-11
|
|
8
27
|
|
|
9
28
|
### Also in this release
|
package/README.md
CHANGED
|
@@ -69,11 +69,11 @@ pnpm update -g @hostinger/mcp
|
|
|
69
69
|
|
|
70
70
|
This package installs the following MCP server commands:
|
|
71
71
|
|
|
72
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
72
|
+
- `hostinger-api-mcp` — unified server with every tool (387 total)
|
|
73
73
|
- `hostinger-agency-hosting-mcp` — 38 tools for agency-hosting
|
|
74
74
|
- `hostinger-billing-mcp` — 9 tools for billing
|
|
75
75
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
76
|
-
- `hostinger-domains-mcp` —
|
|
76
|
+
- `hostinger-domains-mcp` — 41 tools for domains
|
|
77
77
|
- `hostinger-ecommerce-mcp` — 29 tools for ecommerce
|
|
78
78
|
- `hostinger-horizons-mcp` — 6 tools for horizons
|
|
79
79
|
- `hostinger-hosting-mcp` — 64 tools for hosting
|
|
@@ -1158,6 +1158,39 @@ Use this endpoint to build renewal automation and expiry monitoring for a single
|
|
|
1158
1158
|
- **Method**: `GET`
|
|
1159
1159
|
- **Path**: `/api/domains/v1/portfolio/{domain}/renewal`
|
|
1160
1160
|
|
|
1161
|
+
#### domains_completeDomainSetupV1
|
|
1162
|
+
|
|
1163
|
+
Register a domain you have already paid for but which has not been set up yet.
|
|
1164
|
+
|
|
1165
|
+
Use this endpoint when an order completed without registering the domain, for example when
|
|
1166
|
+
`Purchase new domain` returned `202 Accepted` and the domain was added to your account without
|
|
1167
|
+
being registered, or when an earlier setup attempt failed. No new order is placed and no payment
|
|
1168
|
+
is taken: the subscription you already own is used, for the period you already paid for.
|
|
1169
|
+
|
|
1170
|
+
A domain is left awaiting setup when the details needed to register it were missing or invalid
|
|
1171
|
+
as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason.
|
|
1172
|
+
Complete the missing information, then call this endpoint. If the order itself has not completed
|
|
1173
|
+
yet, the domain is not on your account, wait until it appears in `Get domain list`.
|
|
1174
|
+
|
|
1175
|
+
If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four
|
|
1176
|
+
roles. The profile must exist and be complete for the TLD, an incomplete profile is the most
|
|
1177
|
+
common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`.
|
|
1178
|
+
|
|
1179
|
+
Some TLDs require `additional_details`. These are validated before setup, so a missing or
|
|
1180
|
+
invalid value is rejected without any registration being attempted.
|
|
1181
|
+
|
|
1182
|
+
The domain is set up with the default nameservers and without privacy protection. Use
|
|
1183
|
+
`Update domain nameservers` and `Enable privacy protection` afterwards to change either.
|
|
1184
|
+
|
|
1185
|
+
A successful response means the setup request was accepted, not that the domain is already
|
|
1186
|
+
registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details`
|
|
1187
|
+
only once it is registered.
|
|
1188
|
+
|
|
1189
|
+
Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
1190
|
+
|
|
1191
|
+
- **Method**: `POST`
|
|
1192
|
+
- **Path**: `/api/domains/v1/portfolio/{domain}/setup`
|
|
1193
|
+
|
|
1161
1194
|
#### domains_updateDomainNameserversV1
|
|
1162
1195
|
|
|
1163
1196
|
Set nameservers for a specified domain.
|
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.60.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@hostinger/mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.60.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
|
@@ -3469,6 +3469,63 @@ export default [
|
|
|
3469
3469
|
],
|
|
3470
3470
|
"group": "domains"
|
|
3471
3471
|
},
|
|
3472
|
+
{
|
|
3473
|
+
"name": "domains_completeDomainSetupV1",
|
|
3474
|
+
"title": "Complete domain setup",
|
|
3475
|
+
"annotations": {
|
|
3476
|
+
"title": "Complete domain setup",
|
|
3477
|
+
"readOnlyHint": false,
|
|
3478
|
+
"destructiveHint": false
|
|
3479
|
+
},
|
|
3480
|
+
"description": "Register a domain you have already paid for but which has not been set up yet.\n\nUse this endpoint when an order completed without registering the domain, for example when\n`Purchase new domain` returned `202 Accepted` and the domain was added to your account without\nbeing registered, or when an earlier setup attempt failed. No new order is placed and no payment\nis taken: the subscription you already own is used, for the period you already paid for.\n\nA domain is left awaiting setup when the details needed to register it were missing or invalid\nas the order completed. Domains ordered elsewhere can be awaiting setup for the same reason.\nComplete the missing information, then call this endpoint. If the order itself has not completed\nyet, the domain is not on your account, wait until it appears in `Get domain list`.\n\nIf `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four\nroles. The profile must exist and be complete for the TLD, an incomplete profile is the most\ncommon reason a domain is left awaiting setup. Create one with `Create WHOIS profile`.\n\nSome TLDs require `additional_details`. These are validated before setup, so a missing or\ninvalid value is rejected without any registration being attempted.\n\nThe domain is set up with the default nameservers and without privacy protection. Use\n`Update domain nameservers` and `Enable privacy protection` afterwards to change either.\n\nA successful response means the setup request was accepted, not that the domain is already\nregistered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details`\nonly once it is registered.\n\nUse this endpoint to finish registering a domain that is awaiting setup on your account.",
|
|
3481
|
+
"method": "POST",
|
|
3482
|
+
"path": "/api/domains/v1/portfolio/{domain}/setup",
|
|
3483
|
+
"inputSchema": {
|
|
3484
|
+
"type": "object",
|
|
3485
|
+
"properties": {
|
|
3486
|
+
"domain": {
|
|
3487
|
+
"type": "string",
|
|
3488
|
+
"description": "Domain name"
|
|
3489
|
+
},
|
|
3490
|
+
"domain_contacts": {
|
|
3491
|
+
"type": "object",
|
|
3492
|
+
"description": "Domain contact information",
|
|
3493
|
+
"properties": {
|
|
3494
|
+
"owner_id": {
|
|
3495
|
+
"type": "integer",
|
|
3496
|
+
"description": "Owner contact WHOIS record ID"
|
|
3497
|
+
},
|
|
3498
|
+
"admin_id": {
|
|
3499
|
+
"type": "integer",
|
|
3500
|
+
"description": "Administrative contact WHOIS record ID"
|
|
3501
|
+
},
|
|
3502
|
+
"billing_id": {
|
|
3503
|
+
"type": "integer",
|
|
3504
|
+
"description": "Billing contact WHOIS record ID"
|
|
3505
|
+
},
|
|
3506
|
+
"tech_id": {
|
|
3507
|
+
"type": "integer",
|
|
3508
|
+
"description": "Technical contact WHOIS record ID"
|
|
3509
|
+
}
|
|
3510
|
+
}
|
|
3511
|
+
},
|
|
3512
|
+
"additional_details": {
|
|
3513
|
+
"type": "object",
|
|
3514
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
3515
|
+
"properties": {}
|
|
3516
|
+
}
|
|
3517
|
+
},
|
|
3518
|
+
"required": [
|
|
3519
|
+
"domain"
|
|
3520
|
+
]
|
|
3521
|
+
},
|
|
3522
|
+
"security": [
|
|
3523
|
+
{
|
|
3524
|
+
"apiToken": []
|
|
3525
|
+
}
|
|
3526
|
+
],
|
|
3527
|
+
"group": "domains"
|
|
3528
|
+
},
|
|
3472
3529
|
{
|
|
3473
3530
|
"name": "domains_updateDomainNameserversV1",
|
|
3474
3531
|
"title": "Update domain nameservers",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -3483,6 +3483,63 @@ const tools: OpenApiTool[] = [
|
|
|
3483
3483
|
],
|
|
3484
3484
|
"group": "domains"
|
|
3485
3485
|
},
|
|
3486
|
+
{
|
|
3487
|
+
"name": "domains_completeDomainSetupV1",
|
|
3488
|
+
"title": "Complete domain setup",
|
|
3489
|
+
"annotations": {
|
|
3490
|
+
"title": "Complete domain setup",
|
|
3491
|
+
"readOnlyHint": false,
|
|
3492
|
+
"destructiveHint": false
|
|
3493
|
+
},
|
|
3494
|
+
"description": "Register a domain you have already paid for but which has not been set up yet.\n\nUse this endpoint when an order completed without registering the domain, for example when\n`Purchase new domain` returned `202 Accepted` and the domain was added to your account without\nbeing registered, or when an earlier setup attempt failed. No new order is placed and no payment\nis taken: the subscription you already own is used, for the period you already paid for.\n\nA domain is left awaiting setup when the details needed to register it were missing or invalid\nas the order completed. Domains ordered elsewhere can be awaiting setup for the same reason.\nComplete the missing information, then call this endpoint. If the order itself has not completed\nyet, the domain is not on your account, wait until it appears in `Get domain list`.\n\nIf `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four\nroles. The profile must exist and be complete for the TLD, an incomplete profile is the most\ncommon reason a domain is left awaiting setup. Create one with `Create WHOIS profile`.\n\nSome TLDs require `additional_details`. These are validated before setup, so a missing or\ninvalid value is rejected without any registration being attempted.\n\nThe domain is set up with the default nameservers and without privacy protection. Use\n`Update domain nameservers` and `Enable privacy protection` afterwards to change either.\n\nA successful response means the setup request was accepted, not that the domain is already\nregistered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details`\nonly once it is registered.\n\nUse this endpoint to finish registering a domain that is awaiting setup on your account.",
|
|
3495
|
+
"method": "POST",
|
|
3496
|
+
"path": "/api/domains/v1/portfolio/{domain}/setup",
|
|
3497
|
+
"inputSchema": {
|
|
3498
|
+
"type": "object",
|
|
3499
|
+
"properties": {
|
|
3500
|
+
"domain": {
|
|
3501
|
+
"type": "string",
|
|
3502
|
+
"description": "Domain name"
|
|
3503
|
+
},
|
|
3504
|
+
"domain_contacts": {
|
|
3505
|
+
"type": "object",
|
|
3506
|
+
"description": "Domain contact information",
|
|
3507
|
+
"properties": {
|
|
3508
|
+
"owner_id": {
|
|
3509
|
+
"type": "integer",
|
|
3510
|
+
"description": "Owner contact WHOIS record ID"
|
|
3511
|
+
},
|
|
3512
|
+
"admin_id": {
|
|
3513
|
+
"type": "integer",
|
|
3514
|
+
"description": "Administrative contact WHOIS record ID"
|
|
3515
|
+
},
|
|
3516
|
+
"billing_id": {
|
|
3517
|
+
"type": "integer",
|
|
3518
|
+
"description": "Billing contact WHOIS record ID"
|
|
3519
|
+
},
|
|
3520
|
+
"tech_id": {
|
|
3521
|
+
"type": "integer",
|
|
3522
|
+
"description": "Technical contact WHOIS record ID"
|
|
3523
|
+
}
|
|
3524
|
+
}
|
|
3525
|
+
},
|
|
3526
|
+
"additional_details": {
|
|
3527
|
+
"type": "object",
|
|
3528
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
3529
|
+
"properties": {}
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
"required": [
|
|
3533
|
+
"domain"
|
|
3534
|
+
]
|
|
3535
|
+
},
|
|
3536
|
+
"security": [
|
|
3537
|
+
{
|
|
3538
|
+
"apiToken": []
|
|
3539
|
+
}
|
|
3540
|
+
],
|
|
3541
|
+
"group": "domains"
|
|
3542
|
+
},
|
|
3486
3543
|
{
|
|
3487
3544
|
"name": "domains_updateDomainNameserversV1",
|
|
3488
3545
|
"title": "Update domain nameservers",
|
|
@@ -982,6 +982,63 @@ export default [
|
|
|
982
982
|
],
|
|
983
983
|
"group": "domains"
|
|
984
984
|
},
|
|
985
|
+
{
|
|
986
|
+
"name": "domains_completeDomainSetupV1",
|
|
987
|
+
"title": "Complete domain setup",
|
|
988
|
+
"annotations": {
|
|
989
|
+
"title": "Complete domain setup",
|
|
990
|
+
"readOnlyHint": false,
|
|
991
|
+
"destructiveHint": false
|
|
992
|
+
},
|
|
993
|
+
"description": "Register a domain you have already paid for but which has not been set up yet.\n\nUse this endpoint when an order completed without registering the domain, for example when\n`Purchase new domain` returned `202 Accepted` and the domain was added to your account without\nbeing registered, or when an earlier setup attempt failed. No new order is placed and no payment\nis taken: the subscription you already own is used, for the period you already paid for.\n\nA domain is left awaiting setup when the details needed to register it were missing or invalid\nas the order completed. Domains ordered elsewhere can be awaiting setup for the same reason.\nComplete the missing information, then call this endpoint. If the order itself has not completed\nyet, the domain is not on your account, wait until it appears in `Get domain list`.\n\nIf `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four\nroles. The profile must exist and be complete for the TLD, an incomplete profile is the most\ncommon reason a domain is left awaiting setup. Create one with `Create WHOIS profile`.\n\nSome TLDs require `additional_details`. These are validated before setup, so a missing or\ninvalid value is rejected without any registration being attempted.\n\nThe domain is set up with the default nameservers and without privacy protection. Use\n`Update domain nameservers` and `Enable privacy protection` afterwards to change either.\n\nA successful response means the setup request was accepted, not that the domain is already\nregistered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details`\nonly once it is registered.\n\nUse this endpoint to finish registering a domain that is awaiting setup on your account.",
|
|
994
|
+
"method": "POST",
|
|
995
|
+
"path": "/api/domains/v1/portfolio/{domain}/setup",
|
|
996
|
+
"inputSchema": {
|
|
997
|
+
"type": "object",
|
|
998
|
+
"properties": {
|
|
999
|
+
"domain": {
|
|
1000
|
+
"type": "string",
|
|
1001
|
+
"description": "Domain name"
|
|
1002
|
+
},
|
|
1003
|
+
"domain_contacts": {
|
|
1004
|
+
"type": "object",
|
|
1005
|
+
"description": "Domain contact information",
|
|
1006
|
+
"properties": {
|
|
1007
|
+
"owner_id": {
|
|
1008
|
+
"type": "integer",
|
|
1009
|
+
"description": "Owner contact WHOIS record ID"
|
|
1010
|
+
},
|
|
1011
|
+
"admin_id": {
|
|
1012
|
+
"type": "integer",
|
|
1013
|
+
"description": "Administrative contact WHOIS record ID"
|
|
1014
|
+
},
|
|
1015
|
+
"billing_id": {
|
|
1016
|
+
"type": "integer",
|
|
1017
|
+
"description": "Billing contact WHOIS record ID"
|
|
1018
|
+
},
|
|
1019
|
+
"tech_id": {
|
|
1020
|
+
"type": "integer",
|
|
1021
|
+
"description": "Technical contact WHOIS record ID"
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"additional_details": {
|
|
1026
|
+
"type": "object",
|
|
1027
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
1028
|
+
"properties": {}
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
"required": [
|
|
1032
|
+
"domain"
|
|
1033
|
+
]
|
|
1034
|
+
},
|
|
1035
|
+
"security": [
|
|
1036
|
+
{
|
|
1037
|
+
"apiToken": []
|
|
1038
|
+
}
|
|
1039
|
+
],
|
|
1040
|
+
"group": "domains"
|
|
1041
|
+
},
|
|
985
1042
|
{
|
|
986
1043
|
"name": "domains_updateDomainNameserversV1",
|
|
987
1044
|
"title": "Update domain nameservers",
|
|
@@ -996,6 +996,63 @@ const tools: OpenApiTool[] = [
|
|
|
996
996
|
],
|
|
997
997
|
"group": "domains"
|
|
998
998
|
},
|
|
999
|
+
{
|
|
1000
|
+
"name": "domains_completeDomainSetupV1",
|
|
1001
|
+
"title": "Complete domain setup",
|
|
1002
|
+
"annotations": {
|
|
1003
|
+
"title": "Complete domain setup",
|
|
1004
|
+
"readOnlyHint": false,
|
|
1005
|
+
"destructiveHint": false
|
|
1006
|
+
},
|
|
1007
|
+
"description": "Register a domain you have already paid for but which has not been set up yet.\n\nUse this endpoint when an order completed without registering the domain, for example when\n`Purchase new domain` returned `202 Accepted` and the domain was added to your account without\nbeing registered, or when an earlier setup attempt failed. No new order is placed and no payment\nis taken: the subscription you already own is used, for the period you already paid for.\n\nA domain is left awaiting setup when the details needed to register it were missing or invalid\nas the order completed. Domains ordered elsewhere can be awaiting setup for the same reason.\nComplete the missing information, then call this endpoint. If the order itself has not completed\nyet, the domain is not on your account, wait until it appears in `Get domain list`.\n\nIf `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four\nroles. The profile must exist and be complete for the TLD, an incomplete profile is the most\ncommon reason a domain is left awaiting setup. Create one with `Create WHOIS profile`.\n\nSome TLDs require `additional_details`. These are validated before setup, so a missing or\ninvalid value is rejected without any registration being attempted.\n\nThe domain is set up with the default nameservers and without privacy protection. Use\n`Update domain nameservers` and `Enable privacy protection` afterwards to change either.\n\nA successful response means the setup request was accepted, not that the domain is already\nregistered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details`\nonly once it is registered.\n\nUse this endpoint to finish registering a domain that is awaiting setup on your account.",
|
|
1008
|
+
"method": "POST",
|
|
1009
|
+
"path": "/api/domains/v1/portfolio/{domain}/setup",
|
|
1010
|
+
"inputSchema": {
|
|
1011
|
+
"type": "object",
|
|
1012
|
+
"properties": {
|
|
1013
|
+
"domain": {
|
|
1014
|
+
"type": "string",
|
|
1015
|
+
"description": "Domain name"
|
|
1016
|
+
},
|
|
1017
|
+
"domain_contacts": {
|
|
1018
|
+
"type": "object",
|
|
1019
|
+
"description": "Domain contact information",
|
|
1020
|
+
"properties": {
|
|
1021
|
+
"owner_id": {
|
|
1022
|
+
"type": "integer",
|
|
1023
|
+
"description": "Owner contact WHOIS record ID"
|
|
1024
|
+
},
|
|
1025
|
+
"admin_id": {
|
|
1026
|
+
"type": "integer",
|
|
1027
|
+
"description": "Administrative contact WHOIS record ID"
|
|
1028
|
+
},
|
|
1029
|
+
"billing_id": {
|
|
1030
|
+
"type": "integer",
|
|
1031
|
+
"description": "Billing contact WHOIS record ID"
|
|
1032
|
+
},
|
|
1033
|
+
"tech_id": {
|
|
1034
|
+
"type": "integer",
|
|
1035
|
+
"description": "Technical contact WHOIS record ID"
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
"additional_details": {
|
|
1040
|
+
"type": "object",
|
|
1041
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
1042
|
+
"properties": {}
|
|
1043
|
+
}
|
|
1044
|
+
},
|
|
1045
|
+
"required": [
|
|
1046
|
+
"domain"
|
|
1047
|
+
]
|
|
1048
|
+
},
|
|
1049
|
+
"security": [
|
|
1050
|
+
{
|
|
1051
|
+
"apiToken": []
|
|
1052
|
+
}
|
|
1053
|
+
],
|
|
1054
|
+
"group": "domains"
|
|
1055
|
+
},
|
|
999
1056
|
{
|
|
1000
1057
|
"name": "domains_updateDomainNameserversV1",
|
|
1001
1058
|
"title": "Update domain nameservers",
|
|
@@ -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.60.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.60.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
|
@@ -1891,6 +1891,53 @@ Use this endpoint to build renewal automation and expiry monitoring for a single
|
|
|
1891
1891
|
response: any; // Response structure will depend on the API
|
|
1892
1892
|
};
|
|
1893
1893
|
|
|
1894
|
+
/**
|
|
1895
|
+
* Register a domain you have already paid for but which has not been set up yet.
|
|
1896
|
+
|
|
1897
|
+
Use this endpoint when an order completed without registering the domain, for example when
|
|
1898
|
+
`Purchase new domain` returned `202 Accepted` and the domain was added to your account without
|
|
1899
|
+
being registered, or when an earlier setup attempt failed. No new order is placed and no payment
|
|
1900
|
+
is taken: the subscription you already own is used, for the period you already paid for.
|
|
1901
|
+
|
|
1902
|
+
A domain is left awaiting setup when the details needed to register it were missing or invalid
|
|
1903
|
+
as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason.
|
|
1904
|
+
Complete the missing information, then call this endpoint. If the order itself has not completed
|
|
1905
|
+
yet, the domain is not on your account, wait until it appears in `Get domain list`.
|
|
1906
|
+
|
|
1907
|
+
If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four
|
|
1908
|
+
roles. The profile must exist and be complete for the TLD, an incomplete profile is the most
|
|
1909
|
+
common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`.
|
|
1910
|
+
|
|
1911
|
+
Some TLDs require `additional_details`. These are validated before setup, so a missing or
|
|
1912
|
+
invalid value is rejected without any registration being attempted.
|
|
1913
|
+
|
|
1914
|
+
The domain is set up with the default nameservers and without privacy protection. Use
|
|
1915
|
+
`Update domain nameservers` and `Enable privacy protection` afterwards to change either.
|
|
1916
|
+
|
|
1917
|
+
A successful response means the setup request was accepted, not that the domain is already
|
|
1918
|
+
registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details`
|
|
1919
|
+
only once it is registered.
|
|
1920
|
+
|
|
1921
|
+
Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
1922
|
+
*/
|
|
1923
|
+
"domains_completeDomainSetupV1": {
|
|
1924
|
+
params: {
|
|
1925
|
+
/**
|
|
1926
|
+
* Domain name
|
|
1927
|
+
*/
|
|
1928
|
+
domain: string;
|
|
1929
|
+
/**
|
|
1930
|
+
* Domain contact information
|
|
1931
|
+
*/
|
|
1932
|
+
domain_contacts?: object;
|
|
1933
|
+
/**
|
|
1934
|
+
* Additional registration data, possible values depends on TLD
|
|
1935
|
+
*/
|
|
1936
|
+
additional_details?: object;
|
|
1937
|
+
};
|
|
1938
|
+
response: any; // Response structure will depend on the API
|
|
1939
|
+
};
|
|
1940
|
+
|
|
1894
1941
|
/**
|
|
1895
1942
|
* Set nameservers for a specified domain.
|
|
1896
1943
|
|