hostinger-api-mcp 1.2.1 → 1.3.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/types.d.ts CHANGED
@@ -3541,6 +3541,127 @@ Use this endpoint to power off running VPS instances.
3541
3541
  response: any; // Response structure will depend on the API
3542
3542
  };
3543
3543
 
3544
+ /**
3545
+ * Show the current AI option status for the Hostinger Tools plugin on the
3546
+ specified WordPress installation. Filter by `option` to return a single
3547
+ option, or omit it to return all options.
3548
+
3549
+ Provide the WordPress installation (software) identifier in the path. It can
3550
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3551
+ */
3552
+ "hosting_showAIOptionStatusV1": {
3553
+ params: {
3554
+ /**
3555
+ * username parameter
3556
+ */
3557
+ username: string;
3558
+ /**
3559
+ * WordPress installation (software) identifier
3560
+ */
3561
+ software: string;
3562
+ /**
3563
+ * Filter the status by a single AI option.
3564
+ */
3565
+ option?: string;
3566
+ };
3567
+ response: any; // Response structure will depend on the API
3568
+ };
3569
+
3570
+ /**
3571
+ * Enable or disable an AI option for the Hostinger Tools plugin on the specified
3572
+ WordPress installation.
3573
+
3574
+ Provide the WordPress installation (software) identifier in the path. It can
3575
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3576
+ */
3577
+ "hosting_setAIOptionStatusV1": {
3578
+ params: {
3579
+ /**
3580
+ * username parameter
3581
+ */
3582
+ username: string;
3583
+ /**
3584
+ * WordPress installation (software) identifier
3585
+ */
3586
+ software: string;
3587
+ /**
3588
+ * AI option name
3589
+ */
3590
+ option: string;
3591
+ /**
3592
+ * Enable (true) or disable (false) the AI option.
3593
+ */
3594
+ enable: boolean;
3595
+ };
3596
+ response: any; // Response structure will depend on the API
3597
+ };
3598
+
3599
+ /**
3600
+ * Check whether one or more WordPress installations are valid and working
3601
+ correctly. Detects broken installations caused by missing files, broken
3602
+ plugins, themes and similar issues.
3603
+
3604
+ Provide the WordPress installation (software) identifiers in the body. They
3605
+ can be obtained from GET /api/hosting/v1/wordpress/installations (the `id`
3606
+ field).
3607
+ */
3608
+ "hosting_checkIfWordPressInstallationsAreValidV1": {
3609
+ params: {
3610
+ /**
3611
+ * username parameter
3612
+ */
3613
+ username: string;
3614
+ /**
3615
+ * WordPress installation (software) identifiers to validate.
3616
+ */
3617
+ software_ids: array;
3618
+ /**
3619
+ * Force fresh validation without cache. Preferable for troubleshooting purposes.
3620
+ */
3621
+ force?: boolean;
3622
+ };
3623
+ response: any; // Response structure will depend on the API
3624
+ };
3625
+
3626
+ /**
3627
+ * Delete the specified WordPress installation, with optional file and database
3628
+ removal. This removes all associated components including plugins, themes,
3629
+ staging websites and any other related data.
3630
+
3631
+ Provide the WordPress installation (software) identifier in the path. It can
3632
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3633
+ */
3634
+ "hosting_deleteWordPressInstallationV1": {
3635
+ params: {
3636
+ /**
3637
+ * username parameter
3638
+ */
3639
+ username: string;
3640
+ /**
3641
+ * WordPress installation (software) identifier
3642
+ */
3643
+ software: string;
3644
+ };
3645
+ response: any; // Response structure will depend on the API
3646
+ };
3647
+
3648
+ /**
3649
+ * Trigger a background scan to detect WordPress installations for the account.
3650
+
3651
+ This operation is asynchronous: a successful response only means the scan has
3652
+ been queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the
3653
+ detected installations once the scan completes.
3654
+ */
3655
+ "hosting_detectWordPressInstallationsV1": {
3656
+ params: {
3657
+ /**
3658
+ * username parameter
3659
+ */
3660
+ username: string;
3661
+ };
3662
+ response: any; // Response structure will depend on the API
3663
+ };
3664
+
3544
3665
  /**
3545
3666
  * Install WordPress on an existing website.
3546
3667
 
@@ -3634,6 +3755,251 @@ Each installation includes a `valid` flag and, when invalid, a
3634
3755
  response: any; // Response structure will depend on the API
3635
3756
  };
3636
3757
 
3758
+ /**
3759
+ * List available WordPress core updates for the specified installation.
3760
+
3761
+ Provide the WordPress installation (software) identifier in the path. It can
3762
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3763
+ */
3764
+ "hosting_listAvailableWordPressCoreUpdatesV1": {
3765
+ params: {
3766
+ /**
3767
+ * username parameter
3768
+ */
3769
+ username: string;
3770
+ /**
3771
+ * WordPress installation (software) identifier
3772
+ */
3773
+ software: string;
3774
+ };
3775
+ response: any; // Response structure will depend on the API
3776
+ };
3777
+
3778
+ /**
3779
+ * Return a JWT token used to authenticate requests against the specified
3780
+ WordPress installation, including its MCP (Model Context Protocol) endpoint.
3781
+
3782
+ Provide the WordPress installation (software) identifier in the path. It can
3783
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3784
+ */
3785
+ "hosting_getInstallationJWTTokenV1": {
3786
+ params: {
3787
+ /**
3788
+ * username parameter
3789
+ */
3790
+ username: string;
3791
+ /**
3792
+ * WordPress installation (software) identifier
3793
+ */
3794
+ software: string;
3795
+ };
3796
+ response: any; // Response structure will depend on the API
3797
+ };
3798
+
3799
+ /**
3800
+ * Show the WordPress core version for the specified installation, along with
3801
+ known vulnerabilities affecting it.
3802
+
3803
+ Provide the WordPress installation (software) identifier in the path. It can
3804
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3805
+ */
3806
+ "hosting_showWordPressCoreVersionV1": {
3807
+ params: {
3808
+ /**
3809
+ * username parameter
3810
+ */
3811
+ username: string;
3812
+ /**
3813
+ * WordPress installation (software) identifier
3814
+ */
3815
+ software: string;
3816
+ };
3817
+ response: any; // Response structure will depend on the API
3818
+ };
3819
+
3820
+ /**
3821
+ * Update the WordPress core for the specified installation (minor update or a
3822
+ specific version).
3823
+
3824
+ Provide the WordPress installation (software) identifier in the path. It can
3825
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3826
+
3827
+ This operation is asynchronous: a successful response only means the update
3828
+ job has been queued.
3829
+ */
3830
+ "hosting_updateWordPressCoreV1": {
3831
+ params: {
3832
+ /**
3833
+ * username parameter
3834
+ */
3835
+ username: string;
3836
+ /**
3837
+ * WordPress installation (software) identifier
3838
+ */
3839
+ software: string;
3840
+ /**
3841
+ * Update the minor version only.
3842
+ */
3843
+ minor?: boolean;
3844
+ /**
3845
+ * Update to a specific WordPress core version.
3846
+ */
3847
+ version?: string;
3848
+ };
3849
+ response: any; // Response structure will depend on the API
3850
+ };
3851
+
3852
+ /**
3853
+ * Purge the LiteSpeed Cache for the specified WordPress installation.
3854
+
3855
+ Provide the WordPress installation (software) identifier in the path. It can
3856
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3857
+ */
3858
+ "hosting_purgeLiteSpeedCacheV1": {
3859
+ params: {
3860
+ /**
3861
+ * username parameter
3862
+ */
3863
+ username: string;
3864
+ /**
3865
+ * WordPress installation (software) identifier
3866
+ */
3867
+ software: string;
3868
+ };
3869
+ response: any; // Response structure will depend on the API
3870
+ };
3871
+
3872
+ /**
3873
+ * Show the LiteSpeed Cache status for the specified WordPress installation.
3874
+
3875
+ Provide the WordPress installation (software) identifier in the path. It can
3876
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3877
+ */
3878
+ "hosting_showLiteSpeedCacheStatusV1": {
3879
+ params: {
3880
+ /**
3881
+ * username parameter
3882
+ */
3883
+ username: string;
3884
+ /**
3885
+ * WordPress installation (software) identifier
3886
+ */
3887
+ software: string;
3888
+ };
3889
+ response: any; // Response structure will depend on the API
3890
+ };
3891
+
3892
+ /**
3893
+ * Create temporary auto-login links for the specified WordPress installation.
3894
+
3895
+ Provide the WordPress installation (software) identifier in the path. It can
3896
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3897
+ */
3898
+ "hosting_createLoginLinksV1": {
3899
+ params: {
3900
+ /**
3901
+ * username parameter
3902
+ */
3903
+ username: string;
3904
+ /**
3905
+ * WordPress installation (software) identifier
3906
+ */
3907
+ software: string;
3908
+ };
3909
+ response: any; // Response structure will depend on the API
3910
+ };
3911
+
3912
+ /**
3913
+ * Show the maintenance mode status for the specified WordPress installation.
3914
+
3915
+ Provide the WordPress installation (software) identifier in the path. It can
3916
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3917
+ */
3918
+ "hosting_showMaintenanceStatusV1": {
3919
+ params: {
3920
+ /**
3921
+ * username parameter
3922
+ */
3923
+ username: string;
3924
+ /**
3925
+ * WordPress installation (software) identifier
3926
+ */
3927
+ software: string;
3928
+ };
3929
+ response: any; // Response structure will depend on the API
3930
+ };
3931
+
3932
+ /**
3933
+ * Enable or disable maintenance mode for the specified WordPress installation,
3934
+ based on the `enabled` flag.
3935
+
3936
+ Provide the WordPress installation (software) identifier in the path. It can
3937
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3938
+ */
3939
+ "hosting_toggleMaintenanceModeV1": {
3940
+ params: {
3941
+ /**
3942
+ * username parameter
3943
+ */
3944
+ username: string;
3945
+ /**
3946
+ * WordPress installation (software) identifier
3947
+ */
3948
+ software: string;
3949
+ /**
3950
+ * Enable (true) or disable (false) maintenance mode for the WordPress installation.
3951
+ */
3952
+ enabled: boolean;
3953
+ };
3954
+ response: any; // Response structure will depend on the API
3955
+ };
3956
+
3957
+ /**
3958
+ * Show the Memcached object cache status for the specified WordPress
3959
+ installation.
3960
+
3961
+ Provide the WordPress installation (software) identifier in the path. It can
3962
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3963
+ */
3964
+ "hosting_showMemcachedObjectCacheStatusV1": {
3965
+ params: {
3966
+ /**
3967
+ * username parameter
3968
+ */
3969
+ username: string;
3970
+ /**
3971
+ * WordPress installation (software) identifier
3972
+ */
3973
+ software: string;
3974
+ };
3975
+ response: any; // Response structure will depend on the API
3976
+ };
3977
+
3978
+ /**
3979
+ * Activate or deactivate the Memcached object cache for the specified WordPress
3980
+ installation, based on the `enabled` flag.
3981
+
3982
+ Provide the WordPress installation (software) identifier in the path. It can
3983
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3984
+ */
3985
+ "hosting_toggleMemcachedObjectCacheV1": {
3986
+ params: {
3987
+ /**
3988
+ * username parameter
3989
+ */
3990
+ username: string;
3991
+ /**
3992
+ * WordPress installation (software) identifier
3993
+ */
3994
+ software: string;
3995
+ /**
3996
+ * Activate (true) or deactivate (false) the Memcached object cache for the WordPress installation.
3997
+ */
3998
+ enabled: boolean;
3999
+ };
4000
+ response: any; // Response structure will depend on the API
4001
+ };
4002
+
3637
4003
  /**
3638
4004
  * Activate an installed plugin on a WordPress installation.
3639
4005