Skip to content

Commit 79146e1

Browse files
committed
chore: mcp server update
1 parent ca90f40 commit 79146e1

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,14 +412,14 @@ This endpoint retrieves a list of all domains associated with your account.
412412

413413
### domains_purchaseNewDomainV1
414414

415-
This endpoint purchases and registers new domain. If registration fails, login to hPanel and check the domain registration status.
415+
This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to hPanel and check the domain registration status.
416416

417-
If no payment method is provided, default will be used.
417+
If no payment method is provided, your default payment method will be used automatically.
418418

419-
If no WHOIS information is provided, default for that TLD will be used.
420-
Before making request make sure that WHOIS information for TLD exists.
419+
If no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used.
420+
Before making a request, ensure that WHOIS information for the desired TLD exists in your account.
421421

422-
Some TLDs require `additional_details` to be provided and will be validated before making purchase.
422+
Some TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.
423423

424424
- **Method**: `POST`
425425
- **Path**: `/api/domains/v1/portfolio`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hostinger-api-mcp",
3-
"version": "0.0.20",
3+
"version": "0.0.21",
44
"description": "MCP server for Hostinger API",
55
"repository": {
66
"type": "git",

server.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ const TOOLS = [
739739
},
740740
{
741741
"name": "domains_purchaseNewDomainV1",
742-
"description": "This endpoint purchases and registers new domain. If registration fails, login to hPanel and check the domain registration status.\n\nIf no payment method is provided, default will be used.\n\nIf no WHOIS information is provided, default for that TLD will be used. \nBefore making request make sure that WHOIS information for TLD exists.\n\nSome TLDs require `additional_details` to be provided and will be validated before making purchase.",
742+
"description": "This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to hPanel and check the domain registration status.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used. \nBefore making a request, ensure that WHOIS information for the desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.",
743743
"method": "POST",
744744
"path": "/api/domains/v1/portfolio",
745745
"inputSchema": {
@@ -2472,7 +2472,7 @@ const SECURITY_SCHEMES = {
24722472

24732473
/**
24742474
* MCP Server for Hostinger API
2475-
* Generated from OpenAPI spec version 0.0.45
2475+
* Generated from OpenAPI spec version 0.0.46
24762476
*/
24772477
class MCPServer {
24782478
constructor() {
@@ -2490,7 +2490,7 @@ class MCPServer {
24902490
this.server = new Server(
24912491
{
24922492
name: "hostinger-api-mcp",
2493-
version: "0.0.20",
2493+
version: "0.0.21",
24942494
},
24952495
{
24962496
capabilities: {
@@ -2515,7 +2515,7 @@ class MCPServer {
25152515
});
25162516
}
25172517

2518-
headers['User-Agent'] = 'hostinger-mcp-server/0.0.20';
2518+
headers['User-Agent'] = 'hostinger-mcp-server/0.0.21';
25192519

25202520
return headers;
25212521
}

server.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ const TOOLS: OpenApiTool[] = [
755755
},
756756
{
757757
"name": "domains_purchaseNewDomainV1",
758-
"description": "This endpoint purchases and registers new domain. If registration fails, login to hPanel and check the domain registration status.\n\nIf no payment method is provided, default will be used.\n\nIf no WHOIS information is provided, default for that TLD will be used. \nBefore making request make sure that WHOIS information for TLD exists.\n\nSome TLDs require `additional_details` to be provided and will be validated before making purchase.",
758+
"description": "This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to hPanel and check the domain registration status.\n\nIf no payment method is provided, your default payment method will be used automatically.\n\nIf no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used. \nBefore making a request, ensure that WHOIS information for the desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.",
759759
"method": "POST",
760760
"path": "/api/domains/v1/portfolio",
761761
"inputSchema": {
@@ -2488,7 +2488,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
24882488

24892489
/**
24902490
* MCP Server for Hostinger API
2491-
* Generated from OpenAPI spec version 0.0.45
2491+
* Generated from OpenAPI spec version 0.0.46
24922492
*/
24932493
class MCPServer {
24942494
private server: Server;
@@ -2510,7 +2510,7 @@ class MCPServer {
25102510
this.server = new Server(
25112511
{
25122512
name: "hostinger-api-mcp",
2513-
version: "0.0.20",
2513+
version: "0.0.21",
25142514
},
25152515
{
25162516
capabilities: {
@@ -2535,7 +2535,7 @@ class MCPServer {
25352535
});
25362536
}
25372537

2538-
headers['User-Agent'] = 'hostinger-mcp-server/0.0.20';
2538+
headers['User-Agent'] = 'hostinger-mcp-server/0.0.21';
25392539

25402540
return headers;
25412541
}

types.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -388,14 +388,14 @@ before transferring the domain to another registrar.
388388
};
389389

390390
/**
391-
* This endpoint purchases and registers new domain. If registration fails, login to hPanel and check the domain registration status.
391+
* This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to hPanel and check the domain registration status.
392392
393-
If no payment method is provided, default will be used.
393+
If no payment method is provided, your default payment method will be used automatically.
394394
395-
If no WHOIS information is provided, default for that TLD will be used.
396-
Before making request make sure that WHOIS information for TLD exists.
395+
If no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used.
396+
Before making a request, ensure that WHOIS information for the desired TLD exists in your account.
397397
398-
Some TLDs require `additional_details` to be provided and will be validated before making purchase.
398+
Some TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.
399399
*/
400400
"undefined": {
401401
params: {

0 commit comments

Comments
 (0)