hostinger-api-mcp 1.27.1 → 1.28.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 +47 -9
- 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 +98 -6
- package/src/core/tools/all.ts +98 -6
- package/src/core/tools/domains.js +98 -6
- package/src/core/tools/domains.ts +98 -6
- 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 +70 -6
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 (281 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` — 28 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
|
|
@@ -715,6 +715,27 @@ Use this endpoint to set up domain redirects to other URLs.
|
|
|
715
715
|
- **Method**: `POST`
|
|
716
716
|
- **Path**: `/api/domains/v1/forwarding`
|
|
717
717
|
|
|
718
|
+
#### domains_getPendingIRTPVerificationV1
|
|
719
|
+
|
|
720
|
+
Retrieve a pending IRTP verification for a domain.
|
|
721
|
+
|
|
722
|
+
Both the old and new registrant must confirm it before the WHOIS change takes effect.
|
|
723
|
+
|
|
724
|
+
Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
725
|
+
|
|
726
|
+
- **Method**: `GET`
|
|
727
|
+
- **Path**: `/api/domains/v1/irtp/{domain}`
|
|
728
|
+
|
|
729
|
+
#### domains_cancelPendingIRTPVerificationV1
|
|
730
|
+
|
|
731
|
+
Cancel a pending IRTP verification.
|
|
732
|
+
|
|
733
|
+
Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation,
|
|
734
|
+
for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
|
|
735
|
+
|
|
736
|
+
- **Method**: `DELETE`
|
|
737
|
+
- **Path**: `/api/domains/v1/irtp/{domain}`
|
|
738
|
+
|
|
718
739
|
#### domains_getDomainAuthorizationCodeV1
|
|
719
740
|
|
|
720
741
|
Retrieve the authorization (EPP) code for a specified domain so it can be transferred
|
|
@@ -847,16 +868,22 @@ Use this endpoint to monitor incoming and outgoing registrar transfers across yo
|
|
|
847
868
|
- **Method**: `GET`
|
|
848
869
|
- **Path**: `/api/domains/v1/transfers`
|
|
849
870
|
|
|
850
|
-
####
|
|
871
|
+
#### domains_changeWHOISProfileForDomainV1
|
|
851
872
|
|
|
852
|
-
|
|
873
|
+
Change WHOIS contact profile for a domain.
|
|
853
874
|
|
|
854
|
-
|
|
875
|
+
Repoints the given contact roles to a new WHOIS profile and submits the change to the registry.
|
|
876
|
+
The profile currently assigned to those roles is resolved automatically;
|
|
877
|
+
the request fails if the given roles are not all on the same profile today.
|
|
855
878
|
|
|
856
|
-
|
|
879
|
+
Changing transfer sensitive fields on the owner contact starts an IRTP verification.
|
|
857
880
|
|
|
858
|
-
|
|
859
|
-
|
|
881
|
+
The change is processed asynchronously.
|
|
882
|
+
|
|
883
|
+
Use this endpoint to move a registered domain onto different contact information.
|
|
884
|
+
|
|
885
|
+
- **Method**: `PUT`
|
|
886
|
+
- **Path**: `/api/domains/v1/whois/change`
|
|
860
887
|
|
|
861
888
|
#### domains_setWHOISProfileAsDefaultV1
|
|
862
889
|
|
|
@@ -866,7 +893,18 @@ The default profile is pre-selected for the TLD it belongs to when registering n
|
|
|
866
893
|
|
|
867
894
|
Use this endpoint to avoid picking contact information for every registration.
|
|
868
895
|
|
|
869
|
-
- **Method**: `
|
|
896
|
+
- **Method**: `PUT`
|
|
897
|
+
- **Path**: `/api/domains/v1/whois/default/{whoisId}`
|
|
898
|
+
|
|
899
|
+
#### domains_unsetDefaultWHOISProfileV1
|
|
900
|
+
|
|
901
|
+
Unset WHOIS contact profile as default.
|
|
902
|
+
|
|
903
|
+
The profile itself is kept, it is only no longer pre-selected for its TLD.
|
|
904
|
+
|
|
905
|
+
Use this endpoint to stop reusing contact information for new registrations.
|
|
906
|
+
|
|
907
|
+
- **Method**: `DELETE`
|
|
870
908
|
- **Path**: `/api/domains/v1/whois/default/{whoisId}`
|
|
871
909
|
|
|
872
910
|
#### domains_getWHOISProfileV1
|
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.28.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.28.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
|
@@ -1952,6 +1952,54 @@ export default [
|
|
|
1952
1952
|
],
|
|
1953
1953
|
"group": "domains"
|
|
1954
1954
|
},
|
|
1955
|
+
{
|
|
1956
|
+
"name": "domains_getPendingIRTPVerificationV1",
|
|
1957
|
+
"description": "Retrieve a pending IRTP verification for a domain.\n\nBoth the old and new registrant must confirm it before the WHOIS change takes effect.\n\nUse this endpoint to check the status of a WHOIS change awaiting registrant confirmation.",
|
|
1958
|
+
"method": "GET",
|
|
1959
|
+
"path": "/api/domains/v1/irtp/{domain}",
|
|
1960
|
+
"inputSchema": {
|
|
1961
|
+
"type": "object",
|
|
1962
|
+
"properties": {
|
|
1963
|
+
"domain": {
|
|
1964
|
+
"type": "string",
|
|
1965
|
+
"description": "Domain name"
|
|
1966
|
+
}
|
|
1967
|
+
},
|
|
1968
|
+
"required": [
|
|
1969
|
+
"domain"
|
|
1970
|
+
]
|
|
1971
|
+
},
|
|
1972
|
+
"security": [
|
|
1973
|
+
{
|
|
1974
|
+
"apiToken": []
|
|
1975
|
+
}
|
|
1976
|
+
],
|
|
1977
|
+
"group": "domains"
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"name": "domains_cancelPendingIRTPVerificationV1",
|
|
1981
|
+
"description": "Cancel a pending IRTP verification.\n\nUse this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation,\nfor example when the confirmation email cannot be received, without waiting out the 5-day expiry.",
|
|
1982
|
+
"method": "DELETE",
|
|
1983
|
+
"path": "/api/domains/v1/irtp/{domain}",
|
|
1984
|
+
"inputSchema": {
|
|
1985
|
+
"type": "object",
|
|
1986
|
+
"properties": {
|
|
1987
|
+
"domain": {
|
|
1988
|
+
"type": "string",
|
|
1989
|
+
"description": "Domain name"
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
"required": [
|
|
1993
|
+
"domain"
|
|
1994
|
+
]
|
|
1995
|
+
},
|
|
1996
|
+
"security": [
|
|
1997
|
+
{
|
|
1998
|
+
"apiToken": []
|
|
1999
|
+
}
|
|
2000
|
+
],
|
|
2001
|
+
"group": "domains"
|
|
2002
|
+
},
|
|
1955
2003
|
{
|
|
1956
2004
|
"name": "domains_getDomainAuthorizationCodeV1",
|
|
1957
2005
|
"description": "Retrieve the authorization (EPP) code for a specified domain so it can be transferred\naway from Hostinger to another registrar.\n\nRequesting a new code invalidates any code retrieved previously.\n\nUse this endpoint to obtain the code required to transfer a domain to another registrar.",
|
|
@@ -2289,9 +2337,53 @@ export default [
|
|
|
2289
2337
|
"group": "domains"
|
|
2290
2338
|
},
|
|
2291
2339
|
{
|
|
2292
|
-
"name": "
|
|
2293
|
-
"description": "
|
|
2294
|
-
"method": "
|
|
2340
|
+
"name": "domains_changeWHOISProfileForDomainV1",
|
|
2341
|
+
"description": "Change WHOIS contact profile for a domain.\n\nRepoints the given contact roles to a new WHOIS profile and submits the change to the registry.\nThe profile currently assigned to those roles is resolved automatically;\nthe request fails if the given roles are not all on the same profile today.\n\nChanging transfer sensitive fields on the owner contact starts an IRTP verification.\n\nThe change is processed asynchronously.\n\nUse this endpoint to move a registered domain onto different contact information.",
|
|
2342
|
+
"method": "PUT",
|
|
2343
|
+
"path": "/api/domains/v1/whois/change",
|
|
2344
|
+
"inputSchema": {
|
|
2345
|
+
"type": "object",
|
|
2346
|
+
"properties": {
|
|
2347
|
+
"new_whois_id": {
|
|
2348
|
+
"type": "integer",
|
|
2349
|
+
"description": "WHOIS profile ID to assign to the domain"
|
|
2350
|
+
},
|
|
2351
|
+
"domain": {
|
|
2352
|
+
"type": "string",
|
|
2353
|
+
"description": "Domain name"
|
|
2354
|
+
},
|
|
2355
|
+
"change_for": {
|
|
2356
|
+
"type": "array",
|
|
2357
|
+
"description": "Contact roles to repoint to the new WHOIS profile",
|
|
2358
|
+
"items": {
|
|
2359
|
+
"type": "string",
|
|
2360
|
+
"description": "change_for parameter",
|
|
2361
|
+
"enum": [
|
|
2362
|
+
"owner",
|
|
2363
|
+
"admin",
|
|
2364
|
+
"billing",
|
|
2365
|
+
"tech"
|
|
2366
|
+
]
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
},
|
|
2370
|
+
"required": [
|
|
2371
|
+
"new_whois_id",
|
|
2372
|
+
"domain",
|
|
2373
|
+
"change_for"
|
|
2374
|
+
]
|
|
2375
|
+
},
|
|
2376
|
+
"security": [
|
|
2377
|
+
{
|
|
2378
|
+
"apiToken": []
|
|
2379
|
+
}
|
|
2380
|
+
],
|
|
2381
|
+
"group": "domains"
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"name": "domains_setWHOISProfileAsDefaultV1",
|
|
2385
|
+
"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.",
|
|
2386
|
+
"method": "PUT",
|
|
2295
2387
|
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
2296
2388
|
"inputSchema": {
|
|
2297
2389
|
"type": "object",
|
|
@@ -2313,9 +2405,9 @@ export default [
|
|
|
2313
2405
|
"group": "domains"
|
|
2314
2406
|
},
|
|
2315
2407
|
{
|
|
2316
|
-
"name": "
|
|
2317
|
-
"description": "
|
|
2318
|
-
"method": "
|
|
2408
|
+
"name": "domains_unsetDefaultWHOISProfileV1",
|
|
2409
|
+
"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.",
|
|
2410
|
+
"method": "DELETE",
|
|
2319
2411
|
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
2320
2412
|
"inputSchema": {
|
|
2321
2413
|
"type": "object",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -1966,6 +1966,54 @@ const tools: OpenApiTool[] = [
|
|
|
1966
1966
|
],
|
|
1967
1967
|
"group": "domains"
|
|
1968
1968
|
},
|
|
1969
|
+
{
|
|
1970
|
+
"name": "domains_getPendingIRTPVerificationV1",
|
|
1971
|
+
"description": "Retrieve a pending IRTP verification for a domain.\n\nBoth the old and new registrant must confirm it before the WHOIS change takes effect.\n\nUse this endpoint to check the status of a WHOIS change awaiting registrant confirmation.",
|
|
1972
|
+
"method": "GET",
|
|
1973
|
+
"path": "/api/domains/v1/irtp/{domain}",
|
|
1974
|
+
"inputSchema": {
|
|
1975
|
+
"type": "object",
|
|
1976
|
+
"properties": {
|
|
1977
|
+
"domain": {
|
|
1978
|
+
"type": "string",
|
|
1979
|
+
"description": "Domain name"
|
|
1980
|
+
}
|
|
1981
|
+
},
|
|
1982
|
+
"required": [
|
|
1983
|
+
"domain"
|
|
1984
|
+
]
|
|
1985
|
+
},
|
|
1986
|
+
"security": [
|
|
1987
|
+
{
|
|
1988
|
+
"apiToken": []
|
|
1989
|
+
}
|
|
1990
|
+
],
|
|
1991
|
+
"group": "domains"
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"name": "domains_cancelPendingIRTPVerificationV1",
|
|
1995
|
+
"description": "Cancel a pending IRTP verification.\n\nUse this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation,\nfor example when the confirmation email cannot be received, without waiting out the 5-day expiry.",
|
|
1996
|
+
"method": "DELETE",
|
|
1997
|
+
"path": "/api/domains/v1/irtp/{domain}",
|
|
1998
|
+
"inputSchema": {
|
|
1999
|
+
"type": "object",
|
|
2000
|
+
"properties": {
|
|
2001
|
+
"domain": {
|
|
2002
|
+
"type": "string",
|
|
2003
|
+
"description": "Domain name"
|
|
2004
|
+
}
|
|
2005
|
+
},
|
|
2006
|
+
"required": [
|
|
2007
|
+
"domain"
|
|
2008
|
+
]
|
|
2009
|
+
},
|
|
2010
|
+
"security": [
|
|
2011
|
+
{
|
|
2012
|
+
"apiToken": []
|
|
2013
|
+
}
|
|
2014
|
+
],
|
|
2015
|
+
"group": "domains"
|
|
2016
|
+
},
|
|
1969
2017
|
{
|
|
1970
2018
|
"name": "domains_getDomainAuthorizationCodeV1",
|
|
1971
2019
|
"description": "Retrieve the authorization (EPP) code for a specified domain so it can be transferred\naway from Hostinger to another registrar.\n\nRequesting a new code invalidates any code retrieved previously.\n\nUse this endpoint to obtain the code required to transfer a domain to another registrar.",
|
|
@@ -2303,9 +2351,53 @@ const tools: OpenApiTool[] = [
|
|
|
2303
2351
|
"group": "domains"
|
|
2304
2352
|
},
|
|
2305
2353
|
{
|
|
2306
|
-
"name": "
|
|
2307
|
-
"description": "
|
|
2308
|
-
"method": "
|
|
2354
|
+
"name": "domains_changeWHOISProfileForDomainV1",
|
|
2355
|
+
"description": "Change WHOIS contact profile for a domain.\n\nRepoints the given contact roles to a new WHOIS profile and submits the change to the registry.\nThe profile currently assigned to those roles is resolved automatically;\nthe request fails if the given roles are not all on the same profile today.\n\nChanging transfer sensitive fields on the owner contact starts an IRTP verification.\n\nThe change is processed asynchronously.\n\nUse this endpoint to move a registered domain onto different contact information.",
|
|
2356
|
+
"method": "PUT",
|
|
2357
|
+
"path": "/api/domains/v1/whois/change",
|
|
2358
|
+
"inputSchema": {
|
|
2359
|
+
"type": "object",
|
|
2360
|
+
"properties": {
|
|
2361
|
+
"new_whois_id": {
|
|
2362
|
+
"type": "integer",
|
|
2363
|
+
"description": "WHOIS profile ID to assign to the domain"
|
|
2364
|
+
},
|
|
2365
|
+
"domain": {
|
|
2366
|
+
"type": "string",
|
|
2367
|
+
"description": "Domain name"
|
|
2368
|
+
},
|
|
2369
|
+
"change_for": {
|
|
2370
|
+
"type": "array",
|
|
2371
|
+
"description": "Contact roles to repoint to the new WHOIS profile",
|
|
2372
|
+
"items": {
|
|
2373
|
+
"type": "string",
|
|
2374
|
+
"description": "change_for parameter",
|
|
2375
|
+
"enum": [
|
|
2376
|
+
"owner",
|
|
2377
|
+
"admin",
|
|
2378
|
+
"billing",
|
|
2379
|
+
"tech"
|
|
2380
|
+
]
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
"required": [
|
|
2385
|
+
"new_whois_id",
|
|
2386
|
+
"domain",
|
|
2387
|
+
"change_for"
|
|
2388
|
+
]
|
|
2389
|
+
},
|
|
2390
|
+
"security": [
|
|
2391
|
+
{
|
|
2392
|
+
"apiToken": []
|
|
2393
|
+
}
|
|
2394
|
+
],
|
|
2395
|
+
"group": "domains"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"name": "domains_setWHOISProfileAsDefaultV1",
|
|
2399
|
+
"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.",
|
|
2400
|
+
"method": "PUT",
|
|
2309
2401
|
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
2310
2402
|
"inputSchema": {
|
|
2311
2403
|
"type": "object",
|
|
@@ -2327,9 +2419,9 @@ const tools: OpenApiTool[] = [
|
|
|
2327
2419
|
"group": "domains"
|
|
2328
2420
|
},
|
|
2329
2421
|
{
|
|
2330
|
-
"name": "
|
|
2331
|
-
"description": "
|
|
2332
|
-
"method": "
|
|
2422
|
+
"name": "domains_unsetDefaultWHOISProfileV1",
|
|
2423
|
+
"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.",
|
|
2424
|
+
"method": "DELETE",
|
|
2333
2425
|
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
2334
2426
|
"inputSchema": {
|
|
2335
2427
|
"type": "object",
|
|
@@ -178,6 +178,54 @@ export default [
|
|
|
178
178
|
],
|
|
179
179
|
"group": "domains"
|
|
180
180
|
},
|
|
181
|
+
{
|
|
182
|
+
"name": "domains_getPendingIRTPVerificationV1",
|
|
183
|
+
"description": "Retrieve a pending IRTP verification for a domain.\n\nBoth the old and new registrant must confirm it before the WHOIS change takes effect.\n\nUse this endpoint to check the status of a WHOIS change awaiting registrant confirmation.",
|
|
184
|
+
"method": "GET",
|
|
185
|
+
"path": "/api/domains/v1/irtp/{domain}",
|
|
186
|
+
"inputSchema": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"properties": {
|
|
189
|
+
"domain": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "Domain name"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"domain"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"security": [
|
|
199
|
+
{
|
|
200
|
+
"apiToken": []
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"group": "domains"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "domains_cancelPendingIRTPVerificationV1",
|
|
207
|
+
"description": "Cancel a pending IRTP verification.\n\nUse this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation,\nfor example when the confirmation email cannot be received, without waiting out the 5-day expiry.",
|
|
208
|
+
"method": "DELETE",
|
|
209
|
+
"path": "/api/domains/v1/irtp/{domain}",
|
|
210
|
+
"inputSchema": {
|
|
211
|
+
"type": "object",
|
|
212
|
+
"properties": {
|
|
213
|
+
"domain": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"description": "Domain name"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"required": [
|
|
219
|
+
"domain"
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
"security": [
|
|
223
|
+
{
|
|
224
|
+
"apiToken": []
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"group": "domains"
|
|
228
|
+
},
|
|
181
229
|
{
|
|
182
230
|
"name": "domains_getDomainAuthorizationCodeV1",
|
|
183
231
|
"description": "Retrieve the authorization (EPP) code for a specified domain so it can be transferred\naway from Hostinger to another registrar.\n\nRequesting a new code invalidates any code retrieved previously.\n\nUse this endpoint to obtain the code required to transfer a domain to another registrar.",
|
|
@@ -515,9 +563,53 @@ export default [
|
|
|
515
563
|
"group": "domains"
|
|
516
564
|
},
|
|
517
565
|
{
|
|
518
|
-
"name": "
|
|
519
|
-
"description": "
|
|
520
|
-
"method": "
|
|
566
|
+
"name": "domains_changeWHOISProfileForDomainV1",
|
|
567
|
+
"description": "Change WHOIS contact profile for a domain.\n\nRepoints the given contact roles to a new WHOIS profile and submits the change to the registry.\nThe profile currently assigned to those roles is resolved automatically;\nthe request fails if the given roles are not all on the same profile today.\n\nChanging transfer sensitive fields on the owner contact starts an IRTP verification.\n\nThe change is processed asynchronously.\n\nUse this endpoint to move a registered domain onto different contact information.",
|
|
568
|
+
"method": "PUT",
|
|
569
|
+
"path": "/api/domains/v1/whois/change",
|
|
570
|
+
"inputSchema": {
|
|
571
|
+
"type": "object",
|
|
572
|
+
"properties": {
|
|
573
|
+
"new_whois_id": {
|
|
574
|
+
"type": "integer",
|
|
575
|
+
"description": "WHOIS profile ID to assign to the domain"
|
|
576
|
+
},
|
|
577
|
+
"domain": {
|
|
578
|
+
"type": "string",
|
|
579
|
+
"description": "Domain name"
|
|
580
|
+
},
|
|
581
|
+
"change_for": {
|
|
582
|
+
"type": "array",
|
|
583
|
+
"description": "Contact roles to repoint to the new WHOIS profile",
|
|
584
|
+
"items": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"description": "change_for parameter",
|
|
587
|
+
"enum": [
|
|
588
|
+
"owner",
|
|
589
|
+
"admin",
|
|
590
|
+
"billing",
|
|
591
|
+
"tech"
|
|
592
|
+
]
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"required": [
|
|
597
|
+
"new_whois_id",
|
|
598
|
+
"domain",
|
|
599
|
+
"change_for"
|
|
600
|
+
]
|
|
601
|
+
},
|
|
602
|
+
"security": [
|
|
603
|
+
{
|
|
604
|
+
"apiToken": []
|
|
605
|
+
}
|
|
606
|
+
],
|
|
607
|
+
"group": "domains"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "domains_setWHOISProfileAsDefaultV1",
|
|
611
|
+
"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.",
|
|
612
|
+
"method": "PUT",
|
|
521
613
|
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
522
614
|
"inputSchema": {
|
|
523
615
|
"type": "object",
|
|
@@ -539,9 +631,9 @@ export default [
|
|
|
539
631
|
"group": "domains"
|
|
540
632
|
},
|
|
541
633
|
{
|
|
542
|
-
"name": "
|
|
543
|
-
"description": "
|
|
544
|
-
"method": "
|
|
634
|
+
"name": "domains_unsetDefaultWHOISProfileV1",
|
|
635
|
+
"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.",
|
|
636
|
+
"method": "DELETE",
|
|
545
637
|
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
546
638
|
"inputSchema": {
|
|
547
639
|
"type": "object",
|
|
@@ -192,6 +192,54 @@ const tools: OpenApiTool[] = [
|
|
|
192
192
|
],
|
|
193
193
|
"group": "domains"
|
|
194
194
|
},
|
|
195
|
+
{
|
|
196
|
+
"name": "domains_getPendingIRTPVerificationV1",
|
|
197
|
+
"description": "Retrieve a pending IRTP verification for a domain.\n\nBoth the old and new registrant must confirm it before the WHOIS change takes effect.\n\nUse this endpoint to check the status of a WHOIS change awaiting registrant confirmation.",
|
|
198
|
+
"method": "GET",
|
|
199
|
+
"path": "/api/domains/v1/irtp/{domain}",
|
|
200
|
+
"inputSchema": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"properties": {
|
|
203
|
+
"domain": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"description": "Domain name"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"required": [
|
|
209
|
+
"domain"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"security": [
|
|
213
|
+
{
|
|
214
|
+
"apiToken": []
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"group": "domains"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "domains_cancelPendingIRTPVerificationV1",
|
|
221
|
+
"description": "Cancel a pending IRTP verification.\n\nUse this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation,\nfor example when the confirmation email cannot be received, without waiting out the 5-day expiry.",
|
|
222
|
+
"method": "DELETE",
|
|
223
|
+
"path": "/api/domains/v1/irtp/{domain}",
|
|
224
|
+
"inputSchema": {
|
|
225
|
+
"type": "object",
|
|
226
|
+
"properties": {
|
|
227
|
+
"domain": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"description": "Domain name"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"required": [
|
|
233
|
+
"domain"
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
"security": [
|
|
237
|
+
{
|
|
238
|
+
"apiToken": []
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"group": "domains"
|
|
242
|
+
},
|
|
195
243
|
{
|
|
196
244
|
"name": "domains_getDomainAuthorizationCodeV1",
|
|
197
245
|
"description": "Retrieve the authorization (EPP) code for a specified domain so it can be transferred\naway from Hostinger to another registrar.\n\nRequesting a new code invalidates any code retrieved previously.\n\nUse this endpoint to obtain the code required to transfer a domain to another registrar.",
|
|
@@ -529,9 +577,53 @@ const tools: OpenApiTool[] = [
|
|
|
529
577
|
"group": "domains"
|
|
530
578
|
},
|
|
531
579
|
{
|
|
532
|
-
"name": "
|
|
533
|
-
"description": "
|
|
534
|
-
"method": "
|
|
580
|
+
"name": "domains_changeWHOISProfileForDomainV1",
|
|
581
|
+
"description": "Change WHOIS contact profile for a domain.\n\nRepoints the given contact roles to a new WHOIS profile and submits the change to the registry.\nThe profile currently assigned to those roles is resolved automatically;\nthe request fails if the given roles are not all on the same profile today.\n\nChanging transfer sensitive fields on the owner contact starts an IRTP verification.\n\nThe change is processed asynchronously.\n\nUse this endpoint to move a registered domain onto different contact information.",
|
|
582
|
+
"method": "PUT",
|
|
583
|
+
"path": "/api/domains/v1/whois/change",
|
|
584
|
+
"inputSchema": {
|
|
585
|
+
"type": "object",
|
|
586
|
+
"properties": {
|
|
587
|
+
"new_whois_id": {
|
|
588
|
+
"type": "integer",
|
|
589
|
+
"description": "WHOIS profile ID to assign to the domain"
|
|
590
|
+
},
|
|
591
|
+
"domain": {
|
|
592
|
+
"type": "string",
|
|
593
|
+
"description": "Domain name"
|
|
594
|
+
},
|
|
595
|
+
"change_for": {
|
|
596
|
+
"type": "array",
|
|
597
|
+
"description": "Contact roles to repoint to the new WHOIS profile",
|
|
598
|
+
"items": {
|
|
599
|
+
"type": "string",
|
|
600
|
+
"description": "change_for parameter",
|
|
601
|
+
"enum": [
|
|
602
|
+
"owner",
|
|
603
|
+
"admin",
|
|
604
|
+
"billing",
|
|
605
|
+
"tech"
|
|
606
|
+
]
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
"required": [
|
|
611
|
+
"new_whois_id",
|
|
612
|
+
"domain",
|
|
613
|
+
"change_for"
|
|
614
|
+
]
|
|
615
|
+
},
|
|
616
|
+
"security": [
|
|
617
|
+
{
|
|
618
|
+
"apiToken": []
|
|
619
|
+
}
|
|
620
|
+
],
|
|
621
|
+
"group": "domains"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"name": "domains_setWHOISProfileAsDefaultV1",
|
|
625
|
+
"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.",
|
|
626
|
+
"method": "PUT",
|
|
535
627
|
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
536
628
|
"inputSchema": {
|
|
537
629
|
"type": "object",
|
|
@@ -553,9 +645,9 @@ const tools: OpenApiTool[] = [
|
|
|
553
645
|
"group": "domains"
|
|
554
646
|
},
|
|
555
647
|
{
|
|
556
|
-
"name": "
|
|
557
|
-
"description": "
|
|
558
|
-
"method": "
|
|
648
|
+
"name": "domains_unsetDefaultWHOISProfileV1",
|
|
649
|
+
"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.",
|
|
650
|
+
"method": "DELETE",
|
|
559
651
|
"path": "/api/domains/v1/whois/default/{whoisId}",
|
|
560
652
|
"inputSchema": {
|
|
561
653
|
"type": "object",
|
|
@@ -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.28.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.28.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
|
@@ -1199,6 +1199,39 @@ Use this endpoint to set up domain redirects to other URLs.
|
|
|
1199
1199
|
response: any; // Response structure will depend on the API
|
|
1200
1200
|
};
|
|
1201
1201
|
|
|
1202
|
+
/**
|
|
1203
|
+
* Retrieve a pending IRTP verification for a domain.
|
|
1204
|
+
|
|
1205
|
+
Both the old and new registrant must confirm it before the WHOIS change takes effect.
|
|
1206
|
+
|
|
1207
|
+
Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
1208
|
+
*/
|
|
1209
|
+
"domains_getPendingIRTPVerificationV1": {
|
|
1210
|
+
params: {
|
|
1211
|
+
/**
|
|
1212
|
+
* Domain name
|
|
1213
|
+
*/
|
|
1214
|
+
domain: string;
|
|
1215
|
+
};
|
|
1216
|
+
response: any; // Response structure will depend on the API
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* Cancel a pending IRTP verification.
|
|
1221
|
+
|
|
1222
|
+
Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation,
|
|
1223
|
+
for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
|
|
1224
|
+
*/
|
|
1225
|
+
"domains_cancelPendingIRTPVerificationV1": {
|
|
1226
|
+
params: {
|
|
1227
|
+
/**
|
|
1228
|
+
* Domain name
|
|
1229
|
+
*/
|
|
1230
|
+
domain: string;
|
|
1231
|
+
};
|
|
1232
|
+
response: any; // Response structure will depend on the API
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1202
1235
|
/**
|
|
1203
1236
|
* Retrieve the authorization (EPP) code for a specified domain so it can be transferred
|
|
1204
1237
|
away from Hostinger to another registrar.
|
|
@@ -1434,18 +1467,32 @@ Use this endpoint to monitor incoming and outgoing registrar transfers across yo
|
|
|
1434
1467
|
};
|
|
1435
1468
|
|
|
1436
1469
|
/**
|
|
1437
|
-
*
|
|
1470
|
+
* Change WHOIS contact profile for a domain.
|
|
1438
1471
|
|
|
1439
|
-
|
|
1472
|
+
Repoints the given contact roles to a new WHOIS profile and submits the change to the registry.
|
|
1473
|
+
The profile currently assigned to those roles is resolved automatically;
|
|
1474
|
+
the request fails if the given roles are not all on the same profile today.
|
|
1440
1475
|
|
|
1441
|
-
|
|
1476
|
+
Changing transfer sensitive fields on the owner contact starts an IRTP verification.
|
|
1477
|
+
|
|
1478
|
+
The change is processed asynchronously.
|
|
1479
|
+
|
|
1480
|
+
Use this endpoint to move a registered domain onto different contact information.
|
|
1442
1481
|
*/
|
|
1443
|
-
"
|
|
1482
|
+
"domains_changeWHOISProfileForDomainV1": {
|
|
1444
1483
|
params: {
|
|
1445
1484
|
/**
|
|
1446
|
-
* WHOIS ID
|
|
1485
|
+
* WHOIS profile ID to assign to the domain
|
|
1447
1486
|
*/
|
|
1448
|
-
|
|
1487
|
+
new_whois_id: number;
|
|
1488
|
+
/**
|
|
1489
|
+
* Domain name
|
|
1490
|
+
*/
|
|
1491
|
+
domain: string;
|
|
1492
|
+
/**
|
|
1493
|
+
* Contact roles to repoint to the new WHOIS profile
|
|
1494
|
+
*/
|
|
1495
|
+
change_for: array;
|
|
1449
1496
|
};
|
|
1450
1497
|
response: any; // Response structure will depend on the API
|
|
1451
1498
|
};
|
|
@@ -1467,6 +1514,23 @@ Use this endpoint to avoid picking contact information for every registration.
|
|
|
1467
1514
|
response: any; // Response structure will depend on the API
|
|
1468
1515
|
};
|
|
1469
1516
|
|
|
1517
|
+
/**
|
|
1518
|
+
* Unset WHOIS contact profile as default.
|
|
1519
|
+
|
|
1520
|
+
The profile itself is kept, it is only no longer pre-selected for its TLD.
|
|
1521
|
+
|
|
1522
|
+
Use this endpoint to stop reusing contact information for new registrations.
|
|
1523
|
+
*/
|
|
1524
|
+
"domains_unsetDefaultWHOISProfileV1": {
|
|
1525
|
+
params: {
|
|
1526
|
+
/**
|
|
1527
|
+
* WHOIS ID
|
|
1528
|
+
*/
|
|
1529
|
+
whoisId: number;
|
|
1530
|
+
};
|
|
1531
|
+
response: any; // Response structure will depend on the API
|
|
1532
|
+
};
|
|
1533
|
+
|
|
1470
1534
|
/**
|
|
1471
1535
|
* Retrieve a WHOIS contact profile.
|
|
1472
1536
|
|