hostinger-api-mcp 6.3.1 → 6.5.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +75 -6
  3. package/gemini-extension.json +1 -1
  4. package/package.json +1 -1
  5. package/server.json +2 -2
  6. package/skills/headless/VERSION +1 -1
  7. package/src/core/runtime.js +1 -1
  8. package/src/core/runtime.ts +1 -1
  9. package/src/core/tools/all.js +224 -3
  10. package/src/core/tools/all.ts +224 -3
  11. package/src/core/tools/domains.js +221 -1
  12. package/src/core/tools/domains.ts +221 -1
  13. package/src/core/tools/wordpress.js +3 -2
  14. package/src/core/tools/wordpress.ts +3 -2
  15. package/src/servers/agency-hosting.js +1 -1
  16. package/src/servers/agency-hosting.ts +1 -1
  17. package/src/servers/agent-readiness.js +1 -1
  18. package/src/servers/agent-readiness.ts +1 -1
  19. package/src/servers/all.js +1 -1
  20. package/src/servers/all.ts +1 -1
  21. package/src/servers/billing.js +1 -1
  22. package/src/servers/billing.ts +1 -1
  23. package/src/servers/dns.js +1 -1
  24. package/src/servers/dns.ts +1 -1
  25. package/src/servers/domains.js +1 -1
  26. package/src/servers/domains.ts +1 -1
  27. package/src/servers/ecommerce.js +1 -1
  28. package/src/servers/ecommerce.ts +1 -1
  29. package/src/servers/gpu.js +1 -1
  30. package/src/servers/gpu.ts +1 -1
  31. package/src/servers/hosting.js +1 -1
  32. package/src/servers/hosting.ts +1 -1
  33. package/src/servers/mail.js +1 -1
  34. package/src/servers/mail.ts +1 -1
  35. package/src/servers/reach.js +1 -1
  36. package/src/servers/reach.ts +1 -1
  37. package/src/servers/vps.js +1 -1
  38. package/src/servers/vps.ts +1 -1
  39. package/src/servers/wordpress.js +1 -1
  40. package/src/servers/wordpress.ts +1 -1
  41. package/types.d.ts +129 -4
package/CHANGELOG.md CHANGED
@@ -4,6 +4,36 @@ 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
+ ## v6.5.0 — 2026-11-30
8
+
9
+ ### Operations
10
+
11
+ - Added `domains_folders_delete` — Delete domain folder
12
+ - Added `domains_folders_update` — Update domain folder
13
+ - Added `domains_folders_add-to` — Add domains to folder
14
+ - Added `domains_folders_remove-from` — Remove domains from folder
15
+ - Added `domains_folders_list` — Get domain folder list
16
+ - Added `domains_folders_create` — Create domain folder
17
+ - Changed the description of `domains_portfolio_list`
18
+
19
+ ### Also in this release
20
+
21
+ - Documentation: `README.md`
22
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
23
+ - Build and packaging: `types.d.ts`
24
+
25
+ ## v6.4.0 — 2026-11-30
26
+
27
+ ### Operations
28
+
29
+ - Changed the description and input schema of `wordpress_ai-content_generation-result`
30
+
31
+ ### Also in this release
32
+
33
+ - Documentation: `README.md`
34
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
35
+ - Build and packaging: `types.d.ts`
36
+
7
37
  ## v6.3.1 — 2026-11-30
8
38
 
9
39
  ### Also in this release
package/README.md CHANGED
@@ -78,12 +78,12 @@ pnpm update -g @hostinger/mcp
78
78
 
79
79
  This package installs the following MCP server commands:
80
80
 
81
- - `hostinger-api-mcp` — unified server over every operation (419 total)
81
+ - `hostinger-api-mcp` — unified server over every operation (425 total)
82
82
  - `hostinger-agency-hosting-mcp` — 43 operations for agency-hosting
83
83
  - `hostinger-agent-readiness-mcp` — 4 operations for agent-readiness
84
84
  - `hostinger-billing-mcp` — 10 operations for billing
85
85
  - `hostinger-dns-mcp` — 10 operations for dns
86
- - `hostinger-domains-mcp` — 43 operations for domains
86
+ - `hostinger-domains-mcp` — 49 operations for domains
87
87
  - `hostinger-ecommerce-mcp` — 33 operations for ecommerce
88
88
  - `hostinger-gpu-mcp` — 12 operations for gpu
89
89
  - `hostinger-hosting-mcp` — 59 operations for hosting
@@ -1038,6 +1038,71 @@ Use this endpoint to verify domain availability before purchase.
1038
1038
  - **Method**: `POST`
1039
1039
  - **Path**: `/api/domains/v1/availability`
1040
1040
 
1041
+ #### domains_folders_delete
1042
+
1043
+ Delete a domain folder.
1044
+
1045
+ The domains in the folder are not deleted; they are only removed from the folder.
1046
+
1047
+ Use this endpoint to remove folders that are no longer needed.
1048
+
1049
+ - **Method**: `DELETE`
1050
+ - **Path**: `/api/domains/v1/folders/{folderId}`
1051
+
1052
+ #### domains_folders_update
1053
+
1054
+ Rename a domain folder or change its position in the folder list.
1055
+
1056
+ Only the fields sent are changed.
1057
+
1058
+ Use this endpoint to rename or reorder folders.
1059
+
1060
+ - **Method**: `PATCH`
1061
+ - **Path**: `/api/domains/v1/folders/{folderId}`
1062
+
1063
+ #### domains_folders_add-to
1064
+
1065
+ Add domains to a domain folder.
1066
+
1067
+ A domain is in one of your folders at a time: adding it to this folder removes it from your other folders.
1068
+ Domains that are not in your portfolio are skipped.
1069
+
1070
+ Use this endpoint to group domains of the portfolio in a folder.
1071
+
1072
+ - **Method**: `POST`
1073
+ - **Path**: `/api/domains/v1/folders/{folderId}/domains`
1074
+
1075
+ #### domains_folders_remove-from
1076
+
1077
+ Remove domains from a domain folder.
1078
+
1079
+ The domains stay in your portfolio. Domains that are not in the folder are skipped.
1080
+
1081
+ Use this endpoint to take domains out of a folder.
1082
+
1083
+ - **Method**: `DELETE`
1084
+ - **Path**: `/api/domains/v1/folders/{folderId}/domains`
1085
+
1086
+ #### domains_folders_list
1087
+
1088
+ Retrieve the domain folders of your account.
1089
+
1090
+ Use this endpoint to view how domains in the portfolio are organized.
1091
+
1092
+ - **Method**: `GET`
1093
+ - **Path**: `/api/domains/v1/folders`
1094
+
1095
+ #### domains_folders_create
1096
+
1097
+ Create a domain folder.
1098
+
1099
+ Folder names are unique within an account, and an account can have up to 50 folders.
1100
+
1101
+ Use this endpoint to group domains in the portfolio.
1102
+
1103
+ - **Method**: `POST`
1104
+ - **Path**: `/api/domains/v1/folders`
1105
+
1041
1106
  #### domains_forwarding_get
1042
1107
 
1043
1108
  Retrieve domain forwarding data.
@@ -1329,6 +1394,9 @@ A domain held for verification before it is registered has `status: pending_veri
1329
1394
  and its `verification` field says what registration waits for: a manual review, an SMS code,
1330
1395
  or owner contact verification.
1331
1396
 
1397
+ Each domain's `folders` lists the [domain folders](#tag/domains-folders) it is in. It is empty for
1398
+ items whose `type` is not `domain`.
1399
+
1332
1400
  Use this endpoint to view user's domain portfolio.
1333
1401
 
1334
1402
  - **Method**: `GET`
@@ -4819,10 +4887,11 @@ POST /api/hosting/v1/accounts/{username}/wordpress/{software}/content/images/gen
4819
4887
 
4820
4888
  While the generation is still running only `status: in-progress` is returned; poll every
4821
4889
  few seconds. Once `completed`, `result` holds the generated content shaped according to
4822
- `type`: temporary image URLs together with the time they expire for `image-generation`, or
4823
- the generated website document for `website-generation` (started from the Hostinger
4824
- WordPress plugin). A `failed` generation has no `result`. Unknown or expired generation
4825
- IDs return 404.
4890
+ `type`: temporary image URLs together with the time they expire for `image-generation`,
4891
+ the post title, HTML content and SEO metadata for `post-generation`, or the generated
4892
+ website document for `website-generation`. Post and website generations are started
4893
+ from the Hostinger WordPress plugin. A `failed` generation has no `result`. Unknown or
4894
+ expired generation IDs return 404.
4826
4895
 
4827
4896
  Provide the WordPress installation (software) identifier in the path. It can
4828
4897
  be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "6.3.1",
3
+ "version": "6.5.0",
4
4
  "description": "Hostinger API — manage domains, DNS, hosting, VPS, billing and more from Gemini CLI.",
5
5
  "mcpServers": {
6
6
  "hostinger": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "6.3.1",
3
+ "version": "6.5.0",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
package/server.json CHANGED
@@ -17,12 +17,12 @@
17
17
  "url": "https://github.com/hostinger/api-mcp-server",
18
18
  "source": "github"
19
19
  },
20
- "version": "6.3.1",
20
+ "version": "6.5.0",
21
21
  "packages": [
22
22
  {
23
23
  "registryType": "npm",
24
24
  "identifier": "@hostinger/mcp",
25
- "version": "6.3.1",
25
+ "version": "6.5.0",
26
26
  "transport": {
27
27
  "type": "stdio"
28
28
  },
@@ -1,3 +1,3 @@
1
- version=6.3.1
1
+ version=6.5.0
2
2
  commit=61ab2b685f66
3
3
  built=2026-11-30
@@ -62,7 +62,7 @@ const GetSkillRequestSchema = z.object({
62
62
 
63
63
  /**
64
64
  * MCP Server for Hostinger API
65
- * Generated from OpenAPI spec version 5.1.1
65
+ * Generated from OpenAPI spec version 5.3.0
66
66
  */
67
67
  class MCPServer {
68
68
  constructor({ name, version, tools, instructions, skills = [] }) {
@@ -97,7 +97,7 @@ interface Skill { uri: string; frontmatter: Record<string, unknown>; resources:
97
97
 
98
98
  /**
99
99
  * MCP Server for Hostinger API
100
- * Generated from OpenAPI spec version 5.1.1
100
+ * Generated from OpenAPI spec version 5.3.0
101
101
  */
102
102
  class MCPServer {
103
103
  private readonly name: string;
@@ -3372,6 +3372,226 @@ export default [
3372
3372
  "with_alternatives"
3373
3373
  ]
3374
3374
  },
3375
+ {
3376
+ "name": "domains_folders_delete",
3377
+ "title": "Delete domain folder",
3378
+ "annotations": {
3379
+ "title": "Delete domain folder",
3380
+ "readOnlyHint": false,
3381
+ "destructiveHint": true,
3382
+ "idempotentHint": true
3383
+ },
3384
+ "description": "Delete a domain folder.\n\nThe domains in the folder are not deleted; they are only removed from the folder.\n\nUse this endpoint to remove folders that are no longer needed.",
3385
+ "method": "DELETE",
3386
+ "path": "/api/domains/v1/folders/{folderId}",
3387
+ "inputSchema": {
3388
+ "type": "object",
3389
+ "properties": {
3390
+ "folderId": {
3391
+ "type": "integer",
3392
+ "description": "Folder ID"
3393
+ }
3394
+ },
3395
+ "required": [
3396
+ "folderId"
3397
+ ]
3398
+ },
3399
+ "security": [
3400
+ {
3401
+ "apiToken": []
3402
+ }
3403
+ ],
3404
+ "group": "domains"
3405
+ },
3406
+ {
3407
+ "name": "domains_folders_update",
3408
+ "title": "Update domain folder",
3409
+ "annotations": {
3410
+ "title": "Update domain folder",
3411
+ "readOnlyHint": false,
3412
+ "destructiveHint": true,
3413
+ "idempotentHint": true
3414
+ },
3415
+ "description": "Rename a domain folder or change its position in the folder list.\n\nOnly the fields sent are changed.\n\nUse this endpoint to rename or reorder folders.",
3416
+ "method": "PATCH",
3417
+ "path": "/api/domains/v1/folders/{folderId}",
3418
+ "inputSchema": {
3419
+ "type": "object",
3420
+ "properties": {
3421
+ "folderId": {
3422
+ "type": "integer",
3423
+ "description": "Folder ID"
3424
+ },
3425
+ "name": {
3426
+ "type": "string",
3427
+ "description": "Folder name, unique within the account"
3428
+ },
3429
+ "sort_order": {
3430
+ "type": "integer",
3431
+ "description": "Zero-based position in the folder list. Other folders shift to make room; a value past the end\nplaces the folder last."
3432
+ }
3433
+ },
3434
+ "required": [
3435
+ "folderId"
3436
+ ]
3437
+ },
3438
+ "security": [
3439
+ {
3440
+ "apiToken": []
3441
+ }
3442
+ ],
3443
+ "group": "domains",
3444
+ "bodyParameters": [
3445
+ "name",
3446
+ "sort_order"
3447
+ ]
3448
+ },
3449
+ {
3450
+ "name": "domains_folders_add-to",
3451
+ "title": "Add domains to folder",
3452
+ "annotations": {
3453
+ "title": "Add domains to folder",
3454
+ "readOnlyHint": false,
3455
+ "destructiveHint": false
3456
+ },
3457
+ "description": "Add domains to a domain folder.\n\nA domain is in one of your folders at a time: adding it to this folder removes it from your other folders.\nDomains that are not in your portfolio are skipped.\n\nUse this endpoint to group domains of the portfolio in a folder.",
3458
+ "method": "POST",
3459
+ "path": "/api/domains/v1/folders/{folderId}/domains",
3460
+ "inputSchema": {
3461
+ "type": "object",
3462
+ "properties": {
3463
+ "folderId": {
3464
+ "type": "integer",
3465
+ "description": "Folder ID"
3466
+ },
3467
+ "domains": {
3468
+ "type": "array",
3469
+ "description": "Domain names",
3470
+ "items": {
3471
+ "type": "string",
3472
+ "description": "domains parameter"
3473
+ }
3474
+ }
3475
+ },
3476
+ "required": [
3477
+ "folderId",
3478
+ "domains"
3479
+ ]
3480
+ },
3481
+ "security": [
3482
+ {
3483
+ "apiToken": []
3484
+ }
3485
+ ],
3486
+ "group": "domains",
3487
+ "bodyParameters": [
3488
+ "domains"
3489
+ ]
3490
+ },
3491
+ {
3492
+ "name": "domains_folders_remove-from",
3493
+ "title": "Remove domains from folder",
3494
+ "annotations": {
3495
+ "title": "Remove domains from folder",
3496
+ "readOnlyHint": false,
3497
+ "destructiveHint": true,
3498
+ "idempotentHint": true
3499
+ },
3500
+ "description": "Remove domains from a domain folder.\n\nThe domains stay in your portfolio. Domains that are not in the folder are skipped.\n\nUse this endpoint to take domains out of a folder.",
3501
+ "method": "DELETE",
3502
+ "path": "/api/domains/v1/folders/{folderId}/domains",
3503
+ "inputSchema": {
3504
+ "type": "object",
3505
+ "properties": {
3506
+ "folderId": {
3507
+ "type": "integer",
3508
+ "description": "Folder ID"
3509
+ },
3510
+ "domains": {
3511
+ "type": "array",
3512
+ "description": "Domain names",
3513
+ "items": {
3514
+ "type": "string",
3515
+ "description": "domains parameter"
3516
+ }
3517
+ }
3518
+ },
3519
+ "required": [
3520
+ "folderId",
3521
+ "domains"
3522
+ ]
3523
+ },
3524
+ "security": [
3525
+ {
3526
+ "apiToken": []
3527
+ }
3528
+ ],
3529
+ "group": "domains",
3530
+ "bodyParameters": [
3531
+ "domains"
3532
+ ]
3533
+ },
3534
+ {
3535
+ "name": "domains_folders_list",
3536
+ "title": "Get domain folder list",
3537
+ "annotations": {
3538
+ "title": "Get domain folder list",
3539
+ "readOnlyHint": true,
3540
+ "destructiveHint": false
3541
+ },
3542
+ "description": "Retrieve the domain folders of your account.\n\nUse this endpoint to view how domains in the portfolio are organized.",
3543
+ "method": "GET",
3544
+ "path": "/api/domains/v1/folders",
3545
+ "inputSchema": {
3546
+ "type": "object",
3547
+ "properties": {},
3548
+ "required": []
3549
+ },
3550
+ "security": [
3551
+ {
3552
+ "apiToken": []
3553
+ }
3554
+ ],
3555
+ "group": "domains"
3556
+ },
3557
+ {
3558
+ "name": "domains_folders_create",
3559
+ "title": "Create domain folder",
3560
+ "annotations": {
3561
+ "title": "Create domain folder",
3562
+ "readOnlyHint": false,
3563
+ "destructiveHint": false
3564
+ },
3565
+ "description": "Create a domain folder.\n\nFolder names are unique within an account, and an account can have up to 50 folders.\n\nUse this endpoint to group domains in the portfolio.",
3566
+ "method": "POST",
3567
+ "path": "/api/domains/v1/folders",
3568
+ "inputSchema": {
3569
+ "type": "object",
3570
+ "properties": {
3571
+ "name": {
3572
+ "type": "string",
3573
+ "description": "Folder name, unique within the account"
3574
+ },
3575
+ "sort_order": {
3576
+ "type": "integer",
3577
+ "description": "Zero-based position in the folder list. Other folders shift to make room; a value past the end\nplaces the folder last.\nDefaults to the end of the list."
3578
+ }
3579
+ },
3580
+ "required": [
3581
+ "name"
3582
+ ]
3583
+ },
3584
+ "security": [
3585
+ {
3586
+ "apiToken": []
3587
+ }
3588
+ ],
3589
+ "group": "domains",
3590
+ "bodyParameters": [
3591
+ "name",
3592
+ "sort_order"
3593
+ ]
3594
+ },
3375
3595
  {
3376
3596
  "name": "domains_forwarding_get",
3377
3597
  "title": "Get domain forwarding",
@@ -4057,7 +4277,7 @@ export default [
4057
4277
  "readOnlyHint": true,
4058
4278
  "destructiveHint": false
4059
4279
  },
4060
- "description": "Retrieve all domains associated with your account.\n\nA plan can include both a free domain (`type: free_domain`) and a free domain\ntransfer (`type: free_domain_transfer`). They are alternatives: claiming one\nremoves the other, which may still be listed for a short time after the claim.\n\nA domain held for verification before it is registered has `status: pending_verification`,\nand its `verification` field says what registration waits for: a manual review, an SMS code,\nor owner contact verification.\n\nUse this endpoint to view user's domain portfolio.",
4280
+ "description": "Retrieve all domains associated with your account.\n\nA plan can include both a free domain (`type: free_domain`) and a free domain\ntransfer (`type: free_domain_transfer`). They are alternatives: claiming one\nremoves the other, which may still be listed for a short time after the claim.\n\nA domain held for verification before it is registered has `status: pending_verification`,\nand its `verification` field says what registration waits for: a manual review, an SMS code,\nor owner contact verification.\n\nEach domain's `folders` lists the [domain folders](#tag/domains-folders) it is in. It is empty for\nitems whose `type` is not `domain`.\n\nUse this endpoint to view user's domain portfolio.",
4061
4281
  "method": "GET",
4062
4282
  "path": "/api/domains/v1/portfolio",
4063
4283
  "inputSchema": {
@@ -18692,7 +18912,7 @@ export default [
18692
18912
  "readOnlyHint": true,
18693
18913
  "destructiveHint": false
18694
18914
  },
18695
- "description": "Get the result of an AI content generation started for the specified WordPress\ninstallation, such as an image generation started with\nPOST /api/hosting/v1/accounts/{username}/wordpress/{software}/content/images/generate.\n\nWhile the generation is still running only `status: in-progress` is returned; poll every\nfew seconds. Once `completed`, `result` holds the generated content shaped according to\n`type`: temporary image URLs together with the time they expire for `image-generation`, or\nthe generated website document for `website-generation` (started from the Hostinger\nWordPress plugin). A `failed` generation has no `result`. Unknown or expired generation\nIDs return 404.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
18915
+ "description": "Get the result of an AI content generation started for the specified WordPress\ninstallation, such as an image generation started with\nPOST /api/hosting/v1/accounts/{username}/wordpress/{software}/content/images/generate.\n\nWhile the generation is still running only `status: in-progress` is returned; poll every\nfew seconds. Once `completed`, `result` holds the generated content shaped according to\n`type`: temporary image URLs together with the time they expire for `image-generation`,\nthe post title, HTML content and SEO metadata for `post-generation`, or the generated\nwebsite document for `website-generation`. Post and website generations are started\nfrom the Hostinger WordPress plugin. A `failed` generation has no `result`. Unknown or\nexpired generation IDs return 404.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
18696
18916
  "method": "GET",
18697
18917
  "path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/content/generations/{generation_id}",
18698
18918
  "inputSchema": {
@@ -18715,7 +18935,8 @@ export default [
18715
18935
  "description": "Generation type to look up. When omitted, every generation type is checked.",
18716
18936
  "enum": [
18717
18937
  "website-generation",
18718
- "image-generation"
18938
+ "image-generation",
18939
+ "post-generation"
18719
18940
  ]
18720
18941
  }
18721
18942
  },