@hostinger/mcp 3.37.1 → 3.38.1

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 (63) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +1 -1
  3. package/gemini-extension.json +1 -1
  4. package/package.json +1 -1
  5. package/server.json +2 -2
  6. package/skills/deploy-to-hosting/SKILL.md +1 -1
  7. package/skills/headless/VERSION +3 -3
  8. package/skills/headless/steps/04-content-model/SKILL.md +22 -14
  9. package/src/core/catalog.js +9 -1
  10. package/src/core/catalog.ts +11 -2
  11. package/src/core/instructions.agency-hosting.js +1 -1
  12. package/src/core/instructions.agency-hosting.ts +1 -1
  13. package/src/core/instructions.js +1 -1
  14. package/src/core/instructions.ts +1 -1
  15. package/src/core/runtime.js +2 -1483
  16. package/src/core/runtime.ts +4 -1483
  17. package/src/core/skills.js +6 -6
  18. package/src/core/skills.ts +6 -6
  19. package/src/core/tools/agency-hosting.ts +2 -0
  20. package/src/core/tools/agent-readiness.ts +2 -0
  21. package/src/core/tools/all.js +72 -330
  22. package/src/core/tools/all.ts +74 -330
  23. package/src/core/tools/billing.ts +2 -0
  24. package/src/core/tools/dns.ts +2 -0
  25. package/src/core/tools/domains.ts +2 -0
  26. package/src/core/tools/ecommerce.ts +2 -0
  27. package/src/core/tools/gpu.ts +2 -0
  28. package/src/core/tools/horizons.ts +2 -0
  29. package/src/core/tools/hosting.js +63 -327
  30. package/src/core/tools/hosting.ts +65 -327
  31. package/src/core/tools/mail.ts +2 -0
  32. package/src/core/tools/reach.ts +2 -0
  33. package/src/core/tools/vps.ts +2 -0
  34. package/src/core/tools/wordpress.ts +2 -0
  35. package/src/servers/agency-hosting.js +1 -1
  36. package/src/servers/agency-hosting.ts +1 -1
  37. package/src/servers/agent-readiness.js +1 -1
  38. package/src/servers/agent-readiness.ts +1 -1
  39. package/src/servers/all.js +1 -1
  40. package/src/servers/all.ts +1 -1
  41. package/src/servers/billing.js +1 -1
  42. package/src/servers/billing.ts +1 -1
  43. package/src/servers/dns.js +1 -1
  44. package/src/servers/dns.ts +1 -1
  45. package/src/servers/domains.js +1 -1
  46. package/src/servers/domains.ts +1 -1
  47. package/src/servers/ecommerce.js +1 -1
  48. package/src/servers/ecommerce.ts +1 -1
  49. package/src/servers/gpu.js +1 -1
  50. package/src/servers/gpu.ts +1 -1
  51. package/src/servers/horizons.js +1 -1
  52. package/src/servers/horizons.ts +1 -1
  53. package/src/servers/hosting.js +1 -1
  54. package/src/servers/hosting.ts +1 -1
  55. package/src/servers/mail.js +1 -1
  56. package/src/servers/mail.ts +1 -1
  57. package/src/servers/reach.js +1 -1
  58. package/src/servers/reach.ts +1 -1
  59. package/src/servers/vps.js +1 -1
  60. package/src/servers/vps.ts +1 -1
  61. package/src/servers/wordpress.js +1 -1
  62. package/src/servers/wordpress.ts +1 -1
  63. package/types.d.ts +0 -155
@@ -590,312 +590,6 @@ export default [
590
590
  "group": "hosting",
591
591
  "hidden": true
592
592
  },
593
- {
594
- "name": "hosting_import-wordpress-website",
595
- "title": "Import WordPress website",
596
- "annotations": {
597
- "title": "Import WordPress website",
598
- "readOnlyHint": false,
599
- "destructiveHint": true
600
- },
601
- "topic": "hosting",
602
- "description": "Import a WordPress website from an archive file to a hosting server. This tool uploads a website archive (zip, tar, tar.gz, etc.) and a database dump (.sql file) to deploy a complete WordPress website. The archive will be extracted on the server automatically. Note: This process may take a while for larger sites. After upload completion, files are being extracted and the site will be available in a few minutes. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end. The username will be automatically resolved from the domain.",
603
- "method": "",
604
- "path": "",
605
- "inputSchema": {
606
- "type": "object",
607
- "properties": {
608
- "domain": {
609
- "type": "string",
610
- "description": "Domain name associated with the hosting account (e.g., example.com)"
611
- },
612
- "archivePath": {
613
- "type": "string",
614
- "description": "Absolute or relative path to the website archive file. Supported formats: zip, tar, tar.gz, tgz, 7z, gz, gzip. If user provides directory path, create archive from it before proceeding using EXACTLY this naming pattern: directoryname_YYYYMMDD_HHMMSS.zip (e.g., mywebsite_20250115_143022.zip)"
615
- },
616
- "databaseDump": {
617
- "type": "string",
618
- "description": "Absolute or relative path to a database dump file (.sql)"
619
- }
620
- },
621
- "required": [
622
- "domain",
623
- "archivePath",
624
- "databaseDump"
625
- ]
626
- },
627
- "security": [],
628
- "custom": true,
629
- "templateFile": "import-wordpress.template.js",
630
- "templateFileTS": "import-wordpress.template.ts",
631
- "handlerMethod": "handleWordpressWebsiteImport",
632
- "group": "hosting",
633
- "hidden": true
634
- },
635
- {
636
- "name": "hosting_deploy-wordpress-plugin",
637
- "title": "Deploy WordPress plugin",
638
- "annotations": {
639
- "title": "Deploy WordPress plugin",
640
- "readOnlyHint": false,
641
- "destructiveHint": true
642
- },
643
- "topic": "hosting",
644
- "description": "Deploy a WordPress plugin from a directory to a hosting server. This tool uploads all plugin files and triggers plugin deployment. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end.",
645
- "method": "",
646
- "path": "",
647
- "inputSchema": {
648
- "type": "object",
649
- "properties": {
650
- "domain": {
651
- "type": "string",
652
- "description": "Domain name associated with the hosting account (e.g., example.com)"
653
- },
654
- "slug": {
655
- "type": "string",
656
- "description": "WordPress plugin slug (e.g., omnisend)"
657
- },
658
- "pluginPath": {
659
- "type": "string",
660
- "description": "Absolute or relative path to the plugin directory containing all plugin files. node_modules, .git, symlinks and secret files (.env, keys, credentials) are not uploaded."
661
- }
662
- },
663
- "required": [
664
- "domain",
665
- "slug",
666
- "pluginPath"
667
- ]
668
- },
669
- "security": [],
670
- "custom": true,
671
- "templateFile": "deploy-wordpress-plugin.template.js",
672
- "templateFileTS": "deploy-wordpress-plugin.template.ts",
673
- "handlerMethod": "handleWordpressPluginDeploy",
674
- "group": "hosting",
675
- "hidden": true
676
- },
677
- {
678
- "name": "hosting_deploy-wordpress-theme",
679
- "title": "Deploy WordPress theme",
680
- "annotations": {
681
- "title": "Deploy WordPress theme",
682
- "readOnlyHint": false,
683
- "destructiveHint": true
684
- },
685
- "topic": "hosting",
686
- "description": "Deploy a WordPress theme from a directory to a hosting server. This tool uploads all theme files and triggers theme deployment. The uploaded theme can optionally be activated after deployment. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the files yourself, this tool does it end-to-end.",
687
- "method": "",
688
- "path": "",
689
- "inputSchema": {
690
- "type": "object",
691
- "properties": {
692
- "domain": {
693
- "type": "string",
694
- "description": "Domain name associated with the hosting account (e.g., example.com)"
695
- },
696
- "slug": {
697
- "type": "string",
698
- "description": "WordPress theme slug (e.g., twentytwentyfive)"
699
- },
700
- "themePath": {
701
- "type": "string",
702
- "description": "Absolute or relative path to the theme directory containing all theme files. node_modules, .git, symlinks and secret files (.env, keys, credentials) are not uploaded."
703
- },
704
- "activate": {
705
- "type": "boolean",
706
- "description": "Whether to activate the theme after deployment (default: false)"
707
- }
708
- },
709
- "required": [
710
- "domain",
711
- "slug",
712
- "themePath"
713
- ]
714
- },
715
- "security": [],
716
- "custom": true,
717
- "templateFile": "deploy-wordpress-theme.template.js",
718
- "templateFileTS": "deploy-wordpress-theme.template.ts",
719
- "handlerMethod": "handleWordpressThemeDeploy",
720
- "group": "hosting",
721
- "hidden": true
722
- },
723
- {
724
- "name": "hosting_deploy-js-application",
725
- "title": "Deploy JavaScript application",
726
- "annotations": {
727
- "title": "Deploy JavaScript application",
728
- "readOnlyHint": false,
729
- "destructiveHint": true
730
- },
731
- "topic": "hosting",
732
- "description": "Deploy a JavaScript application from an archive file to a hosting server. IMPORTANT: the archive must ONLY contain application source files, not the build output, skip node_modules directory; also exclude all files matched by .gitignore if the ignore file exists. The build process will be triggered automatically on the server after the archive is uploaded. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the archive yourself, this tool does it end-to-end. After deployment, use the hosting_list-js-deployments tool to check deployment status and track build progress.",
733
- "method": "",
734
- "path": "",
735
- "inputSchema": {
736
- "type": "object",
737
- "properties": {
738
- "domain": {
739
- "type": "string",
740
- "description": "Domain name associated with the hosting account (e.g., example.com)"
741
- },
742
- "archivePath": {
743
- "type": "string",
744
- "description": "Absolute or relative path to the application archive file. Supported formats: zip, tar, tar.gz, tgz, 7z, gz, gzip. If user provides directory path, create archive from it before proceeding. IMPORTANT: the archive must ONLY contain application source files, not the build output, skip node_modules directory."
745
- },
746
- "removeArchive": {
747
- "type": "boolean",
748
- "description": "Whether to remove the archive file after successful deployment (default: false)"
749
- }
750
- },
751
- "required": [
752
- "domain",
753
- "archivePath"
754
- ]
755
- },
756
- "security": [],
757
- "custom": true,
758
- "templateFile": "deploy-javascript-app.template.js",
759
- "templateFileTS": "deploy-javascript-app.template.ts",
760
- "handlerMethod": "handleJavascriptApplicationDeploy",
761
- "group": "hosting",
762
- "hidden": true
763
- },
764
- {
765
- "name": "hosting_deploy-static-website",
766
- "title": "Deploy static website",
767
- "annotations": {
768
- "title": "Deploy static website",
769
- "readOnlyHint": false,
770
- "destructiveHint": true
771
- },
772
- "topic": "hosting",
773
- "description": "Deploy a static website from an archive file to a hosting server. IMPORTANT: This tool only works for static websites with no build process. The archive must contain pre-built static files (HTML, CSS, JavaScript, images, etc.) ready to be served. If the website has a package.json file or requires a build command, use hosting_deploy-js-application instead. The tool uploads the archive to the website's file browser over TUS and triggers deployment; the archive is extracted and deployed directly without any build steps. Upload credentials are generated and used internally — do not call a separate upload-url endpoint or upload the archive yourself, this tool does it end-to-end. The username will be automatically resolved from the domain.",
774
- "method": "",
775
- "path": "",
776
- "inputSchema": {
777
- "type": "object",
778
- "properties": {
779
- "domain": {
780
- "type": "string",
781
- "description": "Domain name associated with the hosting account (e.g., example.com)"
782
- },
783
- "archivePath": {
784
- "type": "string",
785
- "description": "Absolute or relative path to the static website archive file. Supported formats: zip, tar, tar.gz, tgz, 7z, gz, gzip. If user provides directory path, create archive from it before proceeding using EXACTLY this naming pattern: directoryname_YYYYMMDD_HHMMSS.zip (e.g., mystaticwebsite_20250115_143022.zip)"
786
- },
787
- "removeArchive": {
788
- "type": "boolean",
789
- "description": "Whether to remove the archive file after successful deployment (default: false)"
790
- }
791
- },
792
- "required": [
793
- "domain",
794
- "archivePath"
795
- ]
796
- },
797
- "security": [],
798
- "custom": true,
799
- "templateFile": "deploy-static-website.template.js",
800
- "templateFileTS": "deploy-static-website.template.ts",
801
- "handlerMethod": "handleStaticWebsiteDeploy",
802
- "group": "hosting",
803
- "hidden": true
804
- },
805
- {
806
- "name": "hosting_list-js-deployments",
807
- "title": "List JavaScript deployments",
808
- "annotations": {
809
- "title": "List JavaScript deployments",
810
- "readOnlyHint": true,
811
- "destructiveHint": false
812
- },
813
- "topic": "hosting",
814
- "description": "List javascript application deployments for checking their status. Use this tool when customer asks for the status of the deployment. This tool retrieves a paginated list of Node.js application deployments for a domain with optional filtering by deployment states.",
815
- "method": "",
816
- "path": "",
817
- "inputSchema": {
818
- "type": "object",
819
- "properties": {
820
- "domain": {
821
- "type": "string",
822
- "description": "Domain name associated with the hosting account (e.g., example.com)"
823
- },
824
- "page": {
825
- "type": "integer",
826
- "description": "Page number for pagination (optional)"
827
- },
828
- "perPage": {
829
- "type": "integer",
830
- "description": "Number of items per page (optional)"
831
- },
832
- "states": {
833
- "type": "array",
834
- "items": {
835
- "type": "string",
836
- "enum": [
837
- "pending",
838
- "completed",
839
- "running",
840
- "failed"
841
- ]
842
- },
843
- "description": "Filter by deployment states (optional). Valid values: pending, completed, running, failed"
844
- }
845
- },
846
- "required": [
847
- "domain"
848
- ]
849
- },
850
- "security": [],
851
- "custom": true,
852
- "templateFile": "list-javascript-deployments.template.js",
853
- "templateFileTS": "list-javascript-deployments.template.ts",
854
- "handlerMethod": "handleListJavascriptDeployments",
855
- "group": "hosting",
856
- "hidden": true
857
- },
858
- {
859
- "name": "hosting_show-js-deployment-logs",
860
- "title": "Show JavaScript deployment logs",
861
- "annotations": {
862
- "title": "Show JavaScript deployment logs",
863
- "readOnlyHint": true,
864
- "destructiveHint": false
865
- },
866
- "topic": "hosting",
867
- "description": "Retrieve logs for a specified JavaScript application deployment for debugging purposes in case of failure.",
868
- "method": "",
869
- "path": "",
870
- "inputSchema": {
871
- "type": "object",
872
- "properties": {
873
- "domain": {
874
- "type": "string",
875
- "description": "Domain name associated with the hosting account (e.g., example.com)"
876
- },
877
- "fromLine": {
878
- "type": "integer",
879
- "description": "Line from which to retrieve logs (optional, default 0)"
880
- },
881
- "buildUuid": {
882
- "type": "string",
883
- "description": "UUID of the JavaScript deployment build"
884
- }
885
- },
886
- "required": [
887
- "domain",
888
- "buildUuid"
889
- ]
890
- },
891
- "security": [],
892
- "custom": true,
893
- "templateFile": "show-javascript-deployment-logs.template.js",
894
- "templateFileTS": "show-javascript-deployment-logs.template.ts",
895
- "handlerMethod": "handleShowJsDeploymentLogs",
896
- "group": "hosting",
897
- "hidden": true
898
- },
899
593
  {
900
594
  "name": "hosting_websites_trigger-event",
901
595
  "title": "Trigger website event",
@@ -1005,7 +699,9 @@ export default [
1005
699
  }
1006
700
  ],
1007
701
  "group": "hosting",
1008
- "hidden": true
702
+ "hidden": true,
703
+ "internal": true,
704
+ "replacedBy": "hosting_cache_clear"
1009
705
  },
1010
706
  {
1011
707
  "name": "hosting_cache_status",
@@ -1041,7 +737,9 @@ export default [
1041
737
  }
1042
738
  ],
1043
739
  "group": "hosting",
1044
- "hidden": true
740
+ "hidden": true,
741
+ "internal": true,
742
+ "replacedBy": "hosting_websites_get-settings"
1045
743
  },
1046
744
  {
1047
745
  "name": "hosting_cache_toggle-cacheless",
@@ -1083,7 +781,9 @@ export default [
1083
781
  }
1084
782
  ],
1085
783
  "group": "hosting",
1086
- "hidden": true
784
+ "hidden": true,
785
+ "internal": true,
786
+ "replacedBy": "hosting_websites_update-settings"
1087
787
  },
1088
788
  {
1089
789
  "name": "hosting_cache_toggle-website",
@@ -1125,7 +825,9 @@ export default [
1125
825
  }
1126
826
  ],
1127
827
  "group": "hosting",
1128
- "hidden": true
828
+ "hidden": true,
829
+ "internal": true,
830
+ "replacedBy": "hosting_websites_update-settings"
1129
831
  },
1130
832
  {
1131
833
  "name": "hosting_cdn_disable",
@@ -1161,7 +863,9 @@ export default [
1161
863
  }
1162
864
  ],
1163
865
  "group": "hosting",
1164
- "hidden": true
866
+ "hidden": true,
867
+ "internal": true,
868
+ "replacedBy": "hosting_websites_update-settings"
1165
869
  },
1166
870
  {
1167
871
  "name": "hosting_cdn_enable",
@@ -1197,7 +901,9 @@ export default [
1197
901
  }
1198
902
  ],
1199
903
  "group": "hosting",
1200
- "hidden": true
904
+ "hidden": true,
905
+ "internal": true,
906
+ "replacedBy": "hosting_websites_update-settings"
1201
907
  },
1202
908
  {
1203
909
  "name": "hosting_cdn_purge-cache",
@@ -1234,7 +940,9 @@ export default [
1234
940
  }
1235
941
  ],
1236
942
  "group": "hosting",
1237
- "hidden": true
943
+ "hidden": true,
944
+ "internal": true,
945
+ "replacedBy": "hosting_cache_clear"
1238
946
  },
1239
947
  {
1240
948
  "name": "hosting_cdn_status",
@@ -1270,7 +978,9 @@ export default [
1270
978
  }
1271
979
  ],
1272
980
  "group": "hosting",
1273
- "hidden": true
981
+ "hidden": true,
982
+ "internal": true,
983
+ "replacedBy": "hosting_websites_get-settings"
1274
984
  },
1275
985
  {
1276
986
  "name": "hosting_cron-jobs_list",
@@ -2332,7 +2042,9 @@ export default [
2332
2042
  }
2333
2043
  ],
2334
2044
  "group": "hosting",
2335
- "hidden": true
2045
+ "hidden": true,
2046
+ "internal": true,
2047
+ "replacedBy": "hosting_get-deployment"
2336
2048
  },
2337
2049
  {
2338
2050
  "name": "hosting_git_update-auto-deployment-settings",
@@ -2932,7 +2644,9 @@ export default [
2932
2644
  }
2933
2645
  ],
2934
2646
  "group": "hosting",
2935
- "hidden": true
2647
+ "hidden": true,
2648
+ "internal": true,
2649
+ "replacedBy": "hosting_get-deployment"
2936
2650
  },
2937
2651
  {
2938
2652
  "name": "hosting_nodejs_start-build",
@@ -3069,7 +2783,9 @@ export default [
3069
2783
  }
3070
2784
  ],
3071
2785
  "group": "hosting",
3072
- "hidden": true
2786
+ "hidden": true,
2787
+ "internal": true,
2788
+ "replacedBy": "hosting_deploy"
3073
2789
  },
3074
2790
  {
3075
2791
  "name": "hosting_nodejs_build-settings",
@@ -3105,7 +2821,9 @@ export default [
3105
2821
  }
3106
2822
  ],
3107
2823
  "group": "hosting",
3108
- "hidden": true
2824
+ "hidden": true,
2825
+ "internal": true,
2826
+ "replacedBy": "hosting_get-deployment"
3109
2827
  },
3110
2828
  {
3111
2829
  "name": "hosting_nodejs_update-build-settings",
@@ -3203,7 +2921,9 @@ export default [
3203
2921
  }
3204
2922
  ],
3205
2923
  "group": "hosting",
3206
- "hidden": true
2924
+ "hidden": true,
2925
+ "internal": true,
2926
+ "replacedBy": "hosting_deploy"
3207
2927
  },
3208
2928
  {
3209
2929
  "name": "hosting_nodejs_build-settings-from-archive",
@@ -3244,7 +2964,9 @@ export default [
3244
2964
  }
3245
2965
  ],
3246
2966
  "group": "hosting",
3247
- "hidden": true
2967
+ "hidden": true,
2968
+ "internal": true,
2969
+ "replacedBy": "hosting_deploy"
3248
2970
  },
3249
2971
  {
3250
2972
  "name": "hosting_nodejs_build-settings-from-repository",
@@ -3300,7 +3022,9 @@ export default [
3300
3022
  }
3301
3023
  ],
3302
3024
  "group": "hosting",
3303
- "hidden": true
3025
+ "hidden": true,
3026
+ "internal": true,
3027
+ "replacedBy": "hosting_deploy"
3304
3028
  },
3305
3029
  {
3306
3030
  "name": "hosting_nodejs_list-environment-variables",
@@ -3435,7 +3159,9 @@ export default [
3435
3159
  }
3436
3160
  ],
3437
3161
  "group": "hosting",
3438
- "hidden": true
3162
+ "hidden": true,
3163
+ "internal": true,
3164
+ "replacedBy": "hosting_get-deployment"
3439
3165
  },
3440
3166
  {
3441
3167
  "name": "hosting_nodejs_build",
@@ -3476,7 +3202,9 @@ export default [
3476
3202
  }
3477
3203
  ],
3478
3204
  "group": "hosting",
3479
- "hidden": true
3205
+ "hidden": true,
3206
+ "internal": true,
3207
+ "replacedBy": "hosting_get-deployment"
3480
3208
  },
3481
3209
  {
3482
3210
  "name": "hosting_nodejs_build-logs",
@@ -3521,7 +3249,9 @@ export default [
3521
3249
  }
3522
3250
  ],
3523
3251
  "group": "hosting",
3524
- "hidden": true
3252
+ "hidden": true,
3253
+ "internal": true,
3254
+ "replacedBy": "hosting_get-deployment"
3525
3255
  },
3526
3256
  {
3527
3257
  "name": "hosting_nodejs_runtime-logs",
@@ -4379,7 +4109,9 @@ export default [
4379
4109
  }
4380
4110
  ],
4381
4111
  "group": "hosting",
4382
- "hidden": true
4112
+ "hidden": true,
4113
+ "internal": true,
4114
+ "replacedBy": "hosting_websites_get-settings"
4383
4115
  },
4384
4116
  {
4385
4117
  "name": "hosting_ssl_toggle-https-redirect",
@@ -4421,7 +4153,9 @@ export default [
4421
4153
  }
4422
4154
  ],
4423
4155
  "group": "hosting",
4424
- "hidden": true
4156
+ "hidden": true,
4157
+ "internal": true,
4158
+ "replacedBy": "hosting_websites_update-settings"
4425
4159
  },
4426
4160
  {
4427
4161
  "name": "hosting_ssl_uninstall",
@@ -4601,7 +4335,9 @@ export default [
4601
4335
  }
4602
4336
  ],
4603
4337
  "group": "hosting",
4604
- "hidden": true
4338
+ "hidden": true,
4339
+ "internal": true,
4340
+ "replacedBy": "hosting_deploy"
4605
4341
  },
4606
4342
  {
4607
4343
  "name": "hosting_websites_delete",