hostinger-api-mcp 1.29.0 → 1.30.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 +49 -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 +106 -0
- package/src/core/tools/all.ts +106 -0
- package/src/core/tools/domains.js +106 -0
- package/src/core/tools/domains.ts +106 -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 +79 -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 (291 total)
|
|
53
53
|
- `hostinger-agency-hosting-mcp` — 27 tools for agency-hosting
|
|
54
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` — 38 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
|
|
@@ -855,6 +855,29 @@ Use this endpoint to obtain the code required to transfer a domain to another re
|
|
|
855
855
|
- **Method**: `GET`
|
|
856
856
|
- **Path**: `/api/domains/v1/portfolio/{domain}/auth-code`
|
|
857
857
|
|
|
858
|
+
#### domains_claimFreeDomainV1
|
|
859
|
+
|
|
860
|
+
Claim a free domain available on your account and register it.
|
|
861
|
+
|
|
862
|
+
Unlike purchasing a domain, this consumes a free domain you already have,
|
|
863
|
+
so no payment method is required.
|
|
864
|
+
|
|
865
|
+
A successful response means the domain is registered. If registration fails, login to
|
|
866
|
+
[hPanel](https://hpanel.hostinger.com/) and check domain registration status.
|
|
867
|
+
|
|
868
|
+
If no WHOIS information is provided, default contact information for that TLD will be used.
|
|
869
|
+
Before making request, ensure WHOIS information for desired TLD exists in your account.
|
|
870
|
+
|
|
871
|
+
Some TLDs require `additional_details` to be provided and these will be validated before claiming.
|
|
872
|
+
|
|
873
|
+
Requests which cannot be fulfilled are rejected with an error code in the response body,
|
|
874
|
+
for example `2037` when no free domain is available.
|
|
875
|
+
|
|
876
|
+
Use this endpoint to register a domain using a free domain from your account.
|
|
877
|
+
|
|
878
|
+
- **Method**: `POST`
|
|
879
|
+
- **Path**: `/api/domains/v1/portfolio/claim`
|
|
880
|
+
|
|
858
881
|
#### domains_enableDomainLockV1
|
|
859
882
|
|
|
860
883
|
Enable domain lock for the domain.
|
|
@@ -957,6 +980,30 @@ Use this endpoint to configure custom DNS hosting for domains.
|
|
|
957
980
|
- **Method**: `PUT`
|
|
958
981
|
- **Path**: `/api/domains/v1/portfolio/{domain}/nameservers`
|
|
959
982
|
|
|
983
|
+
#### domains_claimFreeDomainTransferV1
|
|
984
|
+
|
|
985
|
+
Claim a free domain transfer available on your account and start the transfer.
|
|
986
|
+
|
|
987
|
+
Unlike purchasing a transfer, this consumes a free domain transfer you already have,
|
|
988
|
+
so no payment method is required.
|
|
989
|
+
|
|
990
|
+
Before making request, unlock the domain at the current registrar and get its authorization
|
|
991
|
+
code. The transfer is validated first, so domains which cannot be transferred are rejected
|
|
992
|
+
before the free domain transfer is consumed.
|
|
993
|
+
|
|
994
|
+
A successful response means the transfer has been started. Completion depends on the current
|
|
995
|
+
registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer).
|
|
996
|
+
|
|
997
|
+
If no WHOIS information is provided, default contact information for that TLD will be used.
|
|
998
|
+
Before making request, ensure WHOIS information for desired TLD exists in your account.
|
|
999
|
+
|
|
1000
|
+
Requests which cannot be fulfilled are rejected with an error code in the response body.
|
|
1001
|
+
|
|
1002
|
+
Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
1003
|
+
|
|
1004
|
+
- **Method**: `POST`
|
|
1005
|
+
- **Path**: `/api/domains/v1/transfers/claim`
|
|
1006
|
+
|
|
960
1007
|
#### domains_getTransferV1
|
|
961
1008
|
|
|
962
1009
|
Retrieve the transfer 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.30.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.30.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
|
@@ -2240,6 +2240,57 @@ export default [
|
|
|
2240
2240
|
],
|
|
2241
2241
|
"group": "domains"
|
|
2242
2242
|
},
|
|
2243
|
+
{
|
|
2244
|
+
"name": "domains_claimFreeDomainV1",
|
|
2245
|
+
"description": "Claim a free domain available on your account and register it.\n\nUnlike purchasing a domain, this consumes a free domain you already have,\nso no payment method is required.\n\nA successful response means the domain is registered. If registration fails, login to\n[hPanel](https://hpanel.hostinger.com/) and check domain registration status.\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 claiming.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body,\nfor example `2037` when no free domain is available.\n\nUse this endpoint to register a domain using a free domain from your account.",
|
|
2246
|
+
"method": "POST",
|
|
2247
|
+
"path": "/api/domains/v1/portfolio/claim",
|
|
2248
|
+
"inputSchema": {
|
|
2249
|
+
"type": "object",
|
|
2250
|
+
"properties": {
|
|
2251
|
+
"domain": {
|
|
2252
|
+
"type": "string",
|
|
2253
|
+
"description": "Domain name"
|
|
2254
|
+
},
|
|
2255
|
+
"domain_contacts": {
|
|
2256
|
+
"type": "object",
|
|
2257
|
+
"description": "Domain contact information",
|
|
2258
|
+
"properties": {
|
|
2259
|
+
"owner_id": {
|
|
2260
|
+
"type": "integer",
|
|
2261
|
+
"description": "Owner contact WHOIS record ID"
|
|
2262
|
+
},
|
|
2263
|
+
"admin_id": {
|
|
2264
|
+
"type": "integer",
|
|
2265
|
+
"description": "Administrative contact WHOIS record ID"
|
|
2266
|
+
},
|
|
2267
|
+
"billing_id": {
|
|
2268
|
+
"type": "integer",
|
|
2269
|
+
"description": "Billing contact WHOIS record ID"
|
|
2270
|
+
},
|
|
2271
|
+
"tech_id": {
|
|
2272
|
+
"type": "integer",
|
|
2273
|
+
"description": "Technical contact WHOIS record ID"
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2277
|
+
"additional_details": {
|
|
2278
|
+
"type": "object",
|
|
2279
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
2280
|
+
"properties": {}
|
|
2281
|
+
}
|
|
2282
|
+
},
|
|
2283
|
+
"required": [
|
|
2284
|
+
"domain"
|
|
2285
|
+
]
|
|
2286
|
+
},
|
|
2287
|
+
"security": [
|
|
2288
|
+
{
|
|
2289
|
+
"apiToken": []
|
|
2290
|
+
}
|
|
2291
|
+
],
|
|
2292
|
+
"group": "domains"
|
|
2293
|
+
},
|
|
2243
2294
|
{
|
|
2244
2295
|
"name": "domains_enableDomainLockV1",
|
|
2245
2296
|
"description": "Enable domain lock for the domain.\n\nWhen domain lock is enabled,\nthe domain cannot be transferred to another registrar without first disabling the lock.\n\nUse this endpoint to secure domains against unauthorized transfers.",
|
|
@@ -2511,6 +2562,61 @@ export default [
|
|
|
2511
2562
|
],
|
|
2512
2563
|
"group": "domains"
|
|
2513
2564
|
},
|
|
2565
|
+
{
|
|
2566
|
+
"name": "domains_claimFreeDomainTransferV1",
|
|
2567
|
+
"description": "Claim a free domain transfer available on your account and start the transfer.\n\nUnlike purchasing a transfer, this consumes a free domain transfer you already have,\nso no payment method is required.\n\nBefore making request, unlock the domain at the current registrar and get its authorization\ncode. The transfer is validated first, so domains which cannot be transferred are rejected\nbefore the free domain transfer is consumed.\n\nA successful response means the transfer has been started. Completion depends on the current\nregistrar and can be followed with the [transfer list endpoint](#tag/domains-transfer).\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\nRequests which cannot be fulfilled are rejected with an error code in the response body.\n\nUse this endpoint to transfer a domain using a free domain transfer from your account.",
|
|
2568
|
+
"method": "POST",
|
|
2569
|
+
"path": "/api/domains/v1/transfers/claim",
|
|
2570
|
+
"inputSchema": {
|
|
2571
|
+
"type": "object",
|
|
2572
|
+
"properties": {
|
|
2573
|
+
"domain": {
|
|
2574
|
+
"type": "string",
|
|
2575
|
+
"description": "Domain name"
|
|
2576
|
+
},
|
|
2577
|
+
"auth_code": {
|
|
2578
|
+
"type": "string",
|
|
2579
|
+
"description": "Authorization code from the current registrar"
|
|
2580
|
+
},
|
|
2581
|
+
"domain_contacts": {
|
|
2582
|
+
"type": "object",
|
|
2583
|
+
"description": "Domain contact information",
|
|
2584
|
+
"properties": {
|
|
2585
|
+
"owner_id": {
|
|
2586
|
+
"type": "integer",
|
|
2587
|
+
"description": "Owner contact WHOIS record ID"
|
|
2588
|
+
},
|
|
2589
|
+
"admin_id": {
|
|
2590
|
+
"type": "integer",
|
|
2591
|
+
"description": "Administrative contact WHOIS record ID"
|
|
2592
|
+
},
|
|
2593
|
+
"billing_id": {
|
|
2594
|
+
"type": "integer",
|
|
2595
|
+
"description": "Billing contact WHOIS record ID"
|
|
2596
|
+
},
|
|
2597
|
+
"tech_id": {
|
|
2598
|
+
"type": "integer",
|
|
2599
|
+
"description": "Technical contact WHOIS record ID"
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
},
|
|
2603
|
+
"should_keep_ns": {
|
|
2604
|
+
"type": "boolean",
|
|
2605
|
+
"description": "Keep the existing nameservers of the domain"
|
|
2606
|
+
}
|
|
2607
|
+
},
|
|
2608
|
+
"required": [
|
|
2609
|
+
"domain",
|
|
2610
|
+
"auth_code"
|
|
2611
|
+
]
|
|
2612
|
+
},
|
|
2613
|
+
"security": [
|
|
2614
|
+
{
|
|
2615
|
+
"apiToken": []
|
|
2616
|
+
}
|
|
2617
|
+
],
|
|
2618
|
+
"group": "domains"
|
|
2619
|
+
},
|
|
2514
2620
|
{
|
|
2515
2621
|
"name": "domains_getTransferV1",
|
|
2516
2622
|
"description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -2254,6 +2254,57 @@ const tools: OpenApiTool[] = [
|
|
|
2254
2254
|
],
|
|
2255
2255
|
"group": "domains"
|
|
2256
2256
|
},
|
|
2257
|
+
{
|
|
2258
|
+
"name": "domains_claimFreeDomainV1",
|
|
2259
|
+
"description": "Claim a free domain available on your account and register it.\n\nUnlike purchasing a domain, this consumes a free domain you already have,\nso no payment method is required.\n\nA successful response means the domain is registered. If registration fails, login to\n[hPanel](https://hpanel.hostinger.com/) and check domain registration status.\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 claiming.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body,\nfor example `2037` when no free domain is available.\n\nUse this endpoint to register a domain using a free domain from your account.",
|
|
2260
|
+
"method": "POST",
|
|
2261
|
+
"path": "/api/domains/v1/portfolio/claim",
|
|
2262
|
+
"inputSchema": {
|
|
2263
|
+
"type": "object",
|
|
2264
|
+
"properties": {
|
|
2265
|
+
"domain": {
|
|
2266
|
+
"type": "string",
|
|
2267
|
+
"description": "Domain name"
|
|
2268
|
+
},
|
|
2269
|
+
"domain_contacts": {
|
|
2270
|
+
"type": "object",
|
|
2271
|
+
"description": "Domain contact information",
|
|
2272
|
+
"properties": {
|
|
2273
|
+
"owner_id": {
|
|
2274
|
+
"type": "integer",
|
|
2275
|
+
"description": "Owner contact WHOIS record ID"
|
|
2276
|
+
},
|
|
2277
|
+
"admin_id": {
|
|
2278
|
+
"type": "integer",
|
|
2279
|
+
"description": "Administrative contact WHOIS record ID"
|
|
2280
|
+
},
|
|
2281
|
+
"billing_id": {
|
|
2282
|
+
"type": "integer",
|
|
2283
|
+
"description": "Billing contact WHOIS record ID"
|
|
2284
|
+
},
|
|
2285
|
+
"tech_id": {
|
|
2286
|
+
"type": "integer",
|
|
2287
|
+
"description": "Technical contact WHOIS record ID"
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
},
|
|
2291
|
+
"additional_details": {
|
|
2292
|
+
"type": "object",
|
|
2293
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
2294
|
+
"properties": {}
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
"required": [
|
|
2298
|
+
"domain"
|
|
2299
|
+
]
|
|
2300
|
+
},
|
|
2301
|
+
"security": [
|
|
2302
|
+
{
|
|
2303
|
+
"apiToken": []
|
|
2304
|
+
}
|
|
2305
|
+
],
|
|
2306
|
+
"group": "domains"
|
|
2307
|
+
},
|
|
2257
2308
|
{
|
|
2258
2309
|
"name": "domains_enableDomainLockV1",
|
|
2259
2310
|
"description": "Enable domain lock for the domain.\n\nWhen domain lock is enabled,\nthe domain cannot be transferred to another registrar without first disabling the lock.\n\nUse this endpoint to secure domains against unauthorized transfers.",
|
|
@@ -2525,6 +2576,61 @@ const tools: OpenApiTool[] = [
|
|
|
2525
2576
|
],
|
|
2526
2577
|
"group": "domains"
|
|
2527
2578
|
},
|
|
2579
|
+
{
|
|
2580
|
+
"name": "domains_claimFreeDomainTransferV1",
|
|
2581
|
+
"description": "Claim a free domain transfer available on your account and start the transfer.\n\nUnlike purchasing a transfer, this consumes a free domain transfer you already have,\nso no payment method is required.\n\nBefore making request, unlock the domain at the current registrar and get its authorization\ncode. The transfer is validated first, so domains which cannot be transferred are rejected\nbefore the free domain transfer is consumed.\n\nA successful response means the transfer has been started. Completion depends on the current\nregistrar and can be followed with the [transfer list endpoint](#tag/domains-transfer).\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\nRequests which cannot be fulfilled are rejected with an error code in the response body.\n\nUse this endpoint to transfer a domain using a free domain transfer from your account.",
|
|
2582
|
+
"method": "POST",
|
|
2583
|
+
"path": "/api/domains/v1/transfers/claim",
|
|
2584
|
+
"inputSchema": {
|
|
2585
|
+
"type": "object",
|
|
2586
|
+
"properties": {
|
|
2587
|
+
"domain": {
|
|
2588
|
+
"type": "string",
|
|
2589
|
+
"description": "Domain name"
|
|
2590
|
+
},
|
|
2591
|
+
"auth_code": {
|
|
2592
|
+
"type": "string",
|
|
2593
|
+
"description": "Authorization code from the current registrar"
|
|
2594
|
+
},
|
|
2595
|
+
"domain_contacts": {
|
|
2596
|
+
"type": "object",
|
|
2597
|
+
"description": "Domain contact information",
|
|
2598
|
+
"properties": {
|
|
2599
|
+
"owner_id": {
|
|
2600
|
+
"type": "integer",
|
|
2601
|
+
"description": "Owner contact WHOIS record ID"
|
|
2602
|
+
},
|
|
2603
|
+
"admin_id": {
|
|
2604
|
+
"type": "integer",
|
|
2605
|
+
"description": "Administrative contact WHOIS record ID"
|
|
2606
|
+
},
|
|
2607
|
+
"billing_id": {
|
|
2608
|
+
"type": "integer",
|
|
2609
|
+
"description": "Billing contact WHOIS record ID"
|
|
2610
|
+
},
|
|
2611
|
+
"tech_id": {
|
|
2612
|
+
"type": "integer",
|
|
2613
|
+
"description": "Technical contact WHOIS record ID"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
},
|
|
2617
|
+
"should_keep_ns": {
|
|
2618
|
+
"type": "boolean",
|
|
2619
|
+
"description": "Keep the existing nameservers of the domain"
|
|
2620
|
+
}
|
|
2621
|
+
},
|
|
2622
|
+
"required": [
|
|
2623
|
+
"domain",
|
|
2624
|
+
"auth_code"
|
|
2625
|
+
]
|
|
2626
|
+
},
|
|
2627
|
+
"security": [
|
|
2628
|
+
{
|
|
2629
|
+
"apiToken": []
|
|
2630
|
+
}
|
|
2631
|
+
],
|
|
2632
|
+
"group": "domains"
|
|
2633
|
+
},
|
|
2528
2634
|
{
|
|
2529
2635
|
"name": "domains_getTransferV1",
|
|
2530
2636
|
"description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
|
|
@@ -466,6 +466,57 @@ export default [
|
|
|
466
466
|
],
|
|
467
467
|
"group": "domains"
|
|
468
468
|
},
|
|
469
|
+
{
|
|
470
|
+
"name": "domains_claimFreeDomainV1",
|
|
471
|
+
"description": "Claim a free domain available on your account and register it.\n\nUnlike purchasing a domain, this consumes a free domain you already have,\nso no payment method is required.\n\nA successful response means the domain is registered. If registration fails, login to\n[hPanel](https://hpanel.hostinger.com/) and check domain registration status.\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 claiming.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body,\nfor example `2037` when no free domain is available.\n\nUse this endpoint to register a domain using a free domain from your account.",
|
|
472
|
+
"method": "POST",
|
|
473
|
+
"path": "/api/domains/v1/portfolio/claim",
|
|
474
|
+
"inputSchema": {
|
|
475
|
+
"type": "object",
|
|
476
|
+
"properties": {
|
|
477
|
+
"domain": {
|
|
478
|
+
"type": "string",
|
|
479
|
+
"description": "Domain name"
|
|
480
|
+
},
|
|
481
|
+
"domain_contacts": {
|
|
482
|
+
"type": "object",
|
|
483
|
+
"description": "Domain contact information",
|
|
484
|
+
"properties": {
|
|
485
|
+
"owner_id": {
|
|
486
|
+
"type": "integer",
|
|
487
|
+
"description": "Owner contact WHOIS record ID"
|
|
488
|
+
},
|
|
489
|
+
"admin_id": {
|
|
490
|
+
"type": "integer",
|
|
491
|
+
"description": "Administrative contact WHOIS record ID"
|
|
492
|
+
},
|
|
493
|
+
"billing_id": {
|
|
494
|
+
"type": "integer",
|
|
495
|
+
"description": "Billing contact WHOIS record ID"
|
|
496
|
+
},
|
|
497
|
+
"tech_id": {
|
|
498
|
+
"type": "integer",
|
|
499
|
+
"description": "Technical contact WHOIS record ID"
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"additional_details": {
|
|
504
|
+
"type": "object",
|
|
505
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
506
|
+
"properties": {}
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
"required": [
|
|
510
|
+
"domain"
|
|
511
|
+
]
|
|
512
|
+
},
|
|
513
|
+
"security": [
|
|
514
|
+
{
|
|
515
|
+
"apiToken": []
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"group": "domains"
|
|
519
|
+
},
|
|
469
520
|
{
|
|
470
521
|
"name": "domains_enableDomainLockV1",
|
|
471
522
|
"description": "Enable domain lock for the domain.\n\nWhen domain lock is enabled,\nthe domain cannot be transferred to another registrar without first disabling the lock.\n\nUse this endpoint to secure domains against unauthorized transfers.",
|
|
@@ -737,6 +788,61 @@ export default [
|
|
|
737
788
|
],
|
|
738
789
|
"group": "domains"
|
|
739
790
|
},
|
|
791
|
+
{
|
|
792
|
+
"name": "domains_claimFreeDomainTransferV1",
|
|
793
|
+
"description": "Claim a free domain transfer available on your account and start the transfer.\n\nUnlike purchasing a transfer, this consumes a free domain transfer you already have,\nso no payment method is required.\n\nBefore making request, unlock the domain at the current registrar and get its authorization\ncode. The transfer is validated first, so domains which cannot be transferred are rejected\nbefore the free domain transfer is consumed.\n\nA successful response means the transfer has been started. Completion depends on the current\nregistrar and can be followed with the [transfer list endpoint](#tag/domains-transfer).\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\nRequests which cannot be fulfilled are rejected with an error code in the response body.\n\nUse this endpoint to transfer a domain using a free domain transfer from your account.",
|
|
794
|
+
"method": "POST",
|
|
795
|
+
"path": "/api/domains/v1/transfers/claim",
|
|
796
|
+
"inputSchema": {
|
|
797
|
+
"type": "object",
|
|
798
|
+
"properties": {
|
|
799
|
+
"domain": {
|
|
800
|
+
"type": "string",
|
|
801
|
+
"description": "Domain name"
|
|
802
|
+
},
|
|
803
|
+
"auth_code": {
|
|
804
|
+
"type": "string",
|
|
805
|
+
"description": "Authorization code from the current registrar"
|
|
806
|
+
},
|
|
807
|
+
"domain_contacts": {
|
|
808
|
+
"type": "object",
|
|
809
|
+
"description": "Domain contact information",
|
|
810
|
+
"properties": {
|
|
811
|
+
"owner_id": {
|
|
812
|
+
"type": "integer",
|
|
813
|
+
"description": "Owner contact WHOIS record ID"
|
|
814
|
+
},
|
|
815
|
+
"admin_id": {
|
|
816
|
+
"type": "integer",
|
|
817
|
+
"description": "Administrative contact WHOIS record ID"
|
|
818
|
+
},
|
|
819
|
+
"billing_id": {
|
|
820
|
+
"type": "integer",
|
|
821
|
+
"description": "Billing contact WHOIS record ID"
|
|
822
|
+
},
|
|
823
|
+
"tech_id": {
|
|
824
|
+
"type": "integer",
|
|
825
|
+
"description": "Technical contact WHOIS record ID"
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
"should_keep_ns": {
|
|
830
|
+
"type": "boolean",
|
|
831
|
+
"description": "Keep the existing nameservers of the domain"
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"required": [
|
|
835
|
+
"domain",
|
|
836
|
+
"auth_code"
|
|
837
|
+
]
|
|
838
|
+
},
|
|
839
|
+
"security": [
|
|
840
|
+
{
|
|
841
|
+
"apiToken": []
|
|
842
|
+
}
|
|
843
|
+
],
|
|
844
|
+
"group": "domains"
|
|
845
|
+
},
|
|
740
846
|
{
|
|
741
847
|
"name": "domains_getTransferV1",
|
|
742
848
|
"description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
|
|
@@ -480,6 +480,57 @@ const tools: OpenApiTool[] = [
|
|
|
480
480
|
],
|
|
481
481
|
"group": "domains"
|
|
482
482
|
},
|
|
483
|
+
{
|
|
484
|
+
"name": "domains_claimFreeDomainV1",
|
|
485
|
+
"description": "Claim a free domain available on your account and register it.\n\nUnlike purchasing a domain, this consumes a free domain you already have,\nso no payment method is required.\n\nA successful response means the domain is registered. If registration fails, login to\n[hPanel](https://hpanel.hostinger.com/) and check domain registration status.\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 claiming.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body,\nfor example `2037` when no free domain is available.\n\nUse this endpoint to register a domain using a free domain from your account.",
|
|
486
|
+
"method": "POST",
|
|
487
|
+
"path": "/api/domains/v1/portfolio/claim",
|
|
488
|
+
"inputSchema": {
|
|
489
|
+
"type": "object",
|
|
490
|
+
"properties": {
|
|
491
|
+
"domain": {
|
|
492
|
+
"type": "string",
|
|
493
|
+
"description": "Domain name"
|
|
494
|
+
},
|
|
495
|
+
"domain_contacts": {
|
|
496
|
+
"type": "object",
|
|
497
|
+
"description": "Domain contact information",
|
|
498
|
+
"properties": {
|
|
499
|
+
"owner_id": {
|
|
500
|
+
"type": "integer",
|
|
501
|
+
"description": "Owner contact WHOIS record ID"
|
|
502
|
+
},
|
|
503
|
+
"admin_id": {
|
|
504
|
+
"type": "integer",
|
|
505
|
+
"description": "Administrative contact WHOIS record ID"
|
|
506
|
+
},
|
|
507
|
+
"billing_id": {
|
|
508
|
+
"type": "integer",
|
|
509
|
+
"description": "Billing contact WHOIS record ID"
|
|
510
|
+
},
|
|
511
|
+
"tech_id": {
|
|
512
|
+
"type": "integer",
|
|
513
|
+
"description": "Technical contact WHOIS record ID"
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
"additional_details": {
|
|
518
|
+
"type": "object",
|
|
519
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
520
|
+
"properties": {}
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
"required": [
|
|
524
|
+
"domain"
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
"security": [
|
|
528
|
+
{
|
|
529
|
+
"apiToken": []
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
"group": "domains"
|
|
533
|
+
},
|
|
483
534
|
{
|
|
484
535
|
"name": "domains_enableDomainLockV1",
|
|
485
536
|
"description": "Enable domain lock for the domain.\n\nWhen domain lock is enabled,\nthe domain cannot be transferred to another registrar without first disabling the lock.\n\nUse this endpoint to secure domains against unauthorized transfers.",
|
|
@@ -751,6 +802,61 @@ const tools: OpenApiTool[] = [
|
|
|
751
802
|
],
|
|
752
803
|
"group": "domains"
|
|
753
804
|
},
|
|
805
|
+
{
|
|
806
|
+
"name": "domains_claimFreeDomainTransferV1",
|
|
807
|
+
"description": "Claim a free domain transfer available on your account and start the transfer.\n\nUnlike purchasing a transfer, this consumes a free domain transfer you already have,\nso no payment method is required.\n\nBefore making request, unlock the domain at the current registrar and get its authorization\ncode. The transfer is validated first, so domains which cannot be transferred are rejected\nbefore the free domain transfer is consumed.\n\nA successful response means the transfer has been started. Completion depends on the current\nregistrar and can be followed with the [transfer list endpoint](#tag/domains-transfer).\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\nRequests which cannot be fulfilled are rejected with an error code in the response body.\n\nUse this endpoint to transfer a domain using a free domain transfer from your account.",
|
|
808
|
+
"method": "POST",
|
|
809
|
+
"path": "/api/domains/v1/transfers/claim",
|
|
810
|
+
"inputSchema": {
|
|
811
|
+
"type": "object",
|
|
812
|
+
"properties": {
|
|
813
|
+
"domain": {
|
|
814
|
+
"type": "string",
|
|
815
|
+
"description": "Domain name"
|
|
816
|
+
},
|
|
817
|
+
"auth_code": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"description": "Authorization code from the current registrar"
|
|
820
|
+
},
|
|
821
|
+
"domain_contacts": {
|
|
822
|
+
"type": "object",
|
|
823
|
+
"description": "Domain contact information",
|
|
824
|
+
"properties": {
|
|
825
|
+
"owner_id": {
|
|
826
|
+
"type": "integer",
|
|
827
|
+
"description": "Owner contact WHOIS record ID"
|
|
828
|
+
},
|
|
829
|
+
"admin_id": {
|
|
830
|
+
"type": "integer",
|
|
831
|
+
"description": "Administrative contact WHOIS record ID"
|
|
832
|
+
},
|
|
833
|
+
"billing_id": {
|
|
834
|
+
"type": "integer",
|
|
835
|
+
"description": "Billing contact WHOIS record ID"
|
|
836
|
+
},
|
|
837
|
+
"tech_id": {
|
|
838
|
+
"type": "integer",
|
|
839
|
+
"description": "Technical contact WHOIS record ID"
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
"should_keep_ns": {
|
|
844
|
+
"type": "boolean",
|
|
845
|
+
"description": "Keep the existing nameservers of the domain"
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
"required": [
|
|
849
|
+
"domain",
|
|
850
|
+
"auth_code"
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
"security": [
|
|
854
|
+
{
|
|
855
|
+
"apiToken": []
|
|
856
|
+
}
|
|
857
|
+
],
|
|
858
|
+
"group": "domains"
|
|
859
|
+
},
|
|
754
860
|
{
|
|
755
861
|
"name": "domains_getTransferV1",
|
|
756
862
|
"description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
|
|
@@ -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.30.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.30.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
|
@@ -1411,6 +1411,43 @@ Use this endpoint to obtain the code required to transfer a domain to another re
|
|
|
1411
1411
|
response: any; // Response structure will depend on the API
|
|
1412
1412
|
};
|
|
1413
1413
|
|
|
1414
|
+
/**
|
|
1415
|
+
* Claim a free domain available on your account and register it.
|
|
1416
|
+
|
|
1417
|
+
Unlike purchasing a domain, this consumes a free domain you already have,
|
|
1418
|
+
so no payment method is required.
|
|
1419
|
+
|
|
1420
|
+
A successful response means the domain is registered. If registration fails, login to
|
|
1421
|
+
[hPanel](https://hpanel.hostinger.com/) and check domain registration status.
|
|
1422
|
+
|
|
1423
|
+
If no WHOIS information is provided, default contact information for that TLD will be used.
|
|
1424
|
+
Before making request, ensure WHOIS information for desired TLD exists in your account.
|
|
1425
|
+
|
|
1426
|
+
Some TLDs require `additional_details` to be provided and these will be validated before claiming.
|
|
1427
|
+
|
|
1428
|
+
Requests which cannot be fulfilled are rejected with an error code in the response body,
|
|
1429
|
+
for example `2037` when no free domain is available.
|
|
1430
|
+
|
|
1431
|
+
Use this endpoint to register a domain using a free domain from your account.
|
|
1432
|
+
*/
|
|
1433
|
+
"domains_claimFreeDomainV1": {
|
|
1434
|
+
params: {
|
|
1435
|
+
/**
|
|
1436
|
+
* Domain name
|
|
1437
|
+
*/
|
|
1438
|
+
domain: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* Domain contact information
|
|
1441
|
+
*/
|
|
1442
|
+
domain_contacts?: object;
|
|
1443
|
+
/**
|
|
1444
|
+
* Additional registration data, possible values depends on TLD
|
|
1445
|
+
*/
|
|
1446
|
+
additional_details?: object;
|
|
1447
|
+
};
|
|
1448
|
+
response: any; // Response structure will depend on the API
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1414
1451
|
/**
|
|
1415
1452
|
* Enable domain lock for the domain.
|
|
1416
1453
|
|
|
@@ -1600,6 +1637,48 @@ Use this endpoint to configure custom DNS hosting for domains.
|
|
|
1600
1637
|
response: any; // Response structure will depend on the API
|
|
1601
1638
|
};
|
|
1602
1639
|
|
|
1640
|
+
/**
|
|
1641
|
+
* Claim a free domain transfer available on your account and start the transfer.
|
|
1642
|
+
|
|
1643
|
+
Unlike purchasing a transfer, this consumes a free domain transfer you already have,
|
|
1644
|
+
so no payment method is required.
|
|
1645
|
+
|
|
1646
|
+
Before making request, unlock the domain at the current registrar and get its authorization
|
|
1647
|
+
code. The transfer is validated first, so domains which cannot be transferred are rejected
|
|
1648
|
+
before the free domain transfer is consumed.
|
|
1649
|
+
|
|
1650
|
+
A successful response means the transfer has been started. Completion depends on the current
|
|
1651
|
+
registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer).
|
|
1652
|
+
|
|
1653
|
+
If no WHOIS information is provided, default contact information for that TLD will be used.
|
|
1654
|
+
Before making request, ensure WHOIS information for desired TLD exists in your account.
|
|
1655
|
+
|
|
1656
|
+
Requests which cannot be fulfilled are rejected with an error code in the response body.
|
|
1657
|
+
|
|
1658
|
+
Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
1659
|
+
*/
|
|
1660
|
+
"domains_claimFreeDomainTransferV1": {
|
|
1661
|
+
params: {
|
|
1662
|
+
/**
|
|
1663
|
+
* Domain name
|
|
1664
|
+
*/
|
|
1665
|
+
domain: string;
|
|
1666
|
+
/**
|
|
1667
|
+
* Authorization code from the current registrar
|
|
1668
|
+
*/
|
|
1669
|
+
auth_code: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* Domain contact information
|
|
1672
|
+
*/
|
|
1673
|
+
domain_contacts?: object;
|
|
1674
|
+
/**
|
|
1675
|
+
* Keep the existing nameservers of the domain
|
|
1676
|
+
*/
|
|
1677
|
+
should_keep_ns?: boolean;
|
|
1678
|
+
};
|
|
1679
|
+
response: any; // Response structure will depend on the API
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1603
1682
|
/**
|
|
1604
1683
|
* Retrieve the transfer for a specified domain.
|
|
1605
1684
|
|