hostinger-api-mcp 1.1.2 → 1.2.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 CHANGED
@@ -49,13 +49,13 @@ 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 (173 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (179 total)
53
53
  - `hostinger-billing-mcp` — 7 tools for billing
54
54
  - `hostinger-dns-mcp` — 8 tools for dns
55
55
  - `hostinger-domains-mcp` — 18 tools for domains
56
56
  - `hostinger-ecommerce-mcp` — 10 tools for ecommerce
57
57
  - `hostinger-horizons-mcp` — 2 tools for horizons
58
- - `hostinger-hosting-mcp` — 35 tools for hosting
58
+ - `hostinger-hosting-mcp` — 41 tools for hosting
59
59
  - `hostinger-reach-mcp` — 12 tools for reach
60
60
  - `hostinger-vps-mcp` — 62 tools for vps
61
61
  - `hostinger-wordpress-mcp` — 19 tools for wordpress
@@ -1002,6 +1002,64 @@ or specific order IDs for more targeted results.
1002
1002
  - **Method**: `GET`
1003
1003
  - **Path**: `/api/hosting/v1/orders`
1004
1004
 
1005
+ #### hosting_resetPHPExtensionsV1
1006
+
1007
+ Resets all PHP extensions of the website to their default state.
1008
+
1009
+ Use it to recover from extension conflicts or restore the original configuration.
1010
+
1011
+ - **Method**: `PATCH`
1012
+ - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions/reset`
1013
+
1014
+ #### hosting_getPHPDetailsV1
1015
+
1016
+ Returns the full PHP configuration for the website: current version, available versions
1017
+ (supported and unsupported), enabled/disabled extensions, options with their current value,
1018
+ default, type and the plan limit (`max`), and conflicting extension groups.
1019
+
1020
+ Use it to check the current PHP setup before updating the version, extensions or options.
1021
+
1022
+ - **Method**: `GET`
1023
+ - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/php/details`
1024
+
1025
+ #### hosting_getPHPInfoV1
1026
+
1027
+ Returns the full phpinfo page (HTML) for the website.
1028
+
1029
+ Use it to debug PHP issues or inspect the complete PHP environment of the website.
1030
+
1031
+ - **Method**: `GET`
1032
+ - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/php/php-info`
1033
+
1034
+ #### hosting_updatePHPExtensionsV1
1035
+
1036
+ Enables or disables PHP extensions (modules) for the website.
1037
+
1038
+ Use the Get PHP details endpoint to check the current extension states before changing them.
1039
+
1040
+ - **Method**: `PATCH`
1041
+ - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions`
1042
+
1043
+ #### hosting_updatePHPOptionsV1
1044
+
1045
+ Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`).
1046
+ Only provide the options you want to change, inside the `options` object.
1047
+
1048
+ Values above the account plan limit are silently capped to that limit, so the request can succeed
1049
+ with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
1050
+
1051
+ - **Method**: `PATCH`
1052
+ - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/php/options`
1053
+
1054
+ #### hosting_updatePHPVersionV1
1055
+
1056
+ Changes the PHP version of the website.
1057
+
1058
+ Use the Get PHP details endpoint to see the versions available for the website.
1059
+
1060
+ - **Method**: `PATCH`
1061
+ - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/php/version`
1062
+
1005
1063
  #### hosting_listWebsitesV1
1006
1064
 
1007
1065
  Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.1.2",
3
+ "version": "1.2.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": "1.1.2",
3
+ "version": "1.2.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
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/hostinger/api-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "1.1.2",
9
+ "version": "1.2.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.1.2",
14
+ "version": "1.2.0",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
@@ -29,7 +29,7 @@ const SECURITY_SCHEMES = {
29
29
 
30
30
  /**
31
31
  * MCP Server for Hostinger API
32
- * Generated from OpenAPI spec version 1.1.1
32
+ * Generated from OpenAPI spec version 1.2.0
33
33
  */
34
34
  class MCPServer {
35
35
  constructor({ name, version, tools }) {
@@ -47,7 +47,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
47
47
 
48
48
  /**
49
49
  * MCP Server for Hostinger API
50
- * Generated from OpenAPI spec version 1.1.1
50
+ * Generated from OpenAPI spec version 1.2.0
51
51
  */
52
52
  class MCPServer {
53
53
  private readonly name: string;
@@ -2593,6 +2593,207 @@ export default [
2593
2593
  ],
2594
2594
  "group": "hosting"
2595
2595
  },
2596
+ {
2597
+ "name": "hosting_resetPHPExtensionsV1",
2598
+ "description": "Resets all PHP extensions of the website to their default state.\n\nUse it to recover from extension conflicts or restore the original configuration.",
2599
+ "method": "PATCH",
2600
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions/reset",
2601
+ "inputSchema": {
2602
+ "type": "object",
2603
+ "properties": {
2604
+ "username": {
2605
+ "type": "string",
2606
+ "description": "username parameter"
2607
+ },
2608
+ "domain": {
2609
+ "type": "string",
2610
+ "description": "Domain name"
2611
+ }
2612
+ },
2613
+ "required": [
2614
+ "username",
2615
+ "domain"
2616
+ ]
2617
+ },
2618
+ "security": [
2619
+ {
2620
+ "apiToken": []
2621
+ }
2622
+ ],
2623
+ "group": "hosting"
2624
+ },
2625
+ {
2626
+ "name": "hosting_getPHPDetailsV1",
2627
+ "description": "Returns the full PHP configuration for the website: current version, available versions\n(supported and unsupported), enabled/disabled extensions, options with their current value,\ndefault, type and the plan limit (`max`), and conflicting extension groups.\n\nUse it to check the current PHP setup before updating the version, extensions or options.",
2628
+ "method": "GET",
2629
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/details",
2630
+ "inputSchema": {
2631
+ "type": "object",
2632
+ "properties": {
2633
+ "username": {
2634
+ "type": "string",
2635
+ "description": "username parameter"
2636
+ },
2637
+ "domain": {
2638
+ "type": "string",
2639
+ "description": "Domain name"
2640
+ }
2641
+ },
2642
+ "required": [
2643
+ "username",
2644
+ "domain"
2645
+ ]
2646
+ },
2647
+ "security": [
2648
+ {
2649
+ "apiToken": []
2650
+ }
2651
+ ],
2652
+ "group": "hosting"
2653
+ },
2654
+ {
2655
+ "name": "hosting_getPHPInfoV1",
2656
+ "description": "Returns the full phpinfo page (HTML) for the website.\n\nUse it to debug PHP issues or inspect the complete PHP environment of the website.",
2657
+ "method": "GET",
2658
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/php-info",
2659
+ "inputSchema": {
2660
+ "type": "object",
2661
+ "properties": {
2662
+ "username": {
2663
+ "type": "string",
2664
+ "description": "username parameter"
2665
+ },
2666
+ "domain": {
2667
+ "type": "string",
2668
+ "description": "Domain name"
2669
+ }
2670
+ },
2671
+ "required": [
2672
+ "username",
2673
+ "domain"
2674
+ ]
2675
+ },
2676
+ "security": [
2677
+ {
2678
+ "apiToken": []
2679
+ }
2680
+ ],
2681
+ "group": "hosting"
2682
+ },
2683
+ {
2684
+ "name": "hosting_updatePHPExtensionsV1",
2685
+ "description": "Enables or disables PHP extensions (modules) for the website.\n\nUse the Get PHP details endpoint to check the current extension states before changing them.",
2686
+ "method": "PATCH",
2687
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions",
2688
+ "inputSchema": {
2689
+ "type": "object",
2690
+ "properties": {
2691
+ "username": {
2692
+ "type": "string",
2693
+ "description": "username parameter"
2694
+ },
2695
+ "domain": {
2696
+ "type": "string",
2697
+ "description": "Domain name"
2698
+ },
2699
+ "enable": {
2700
+ "type": "array",
2701
+ "description": "PHP extensions to enable.",
2702
+ "items": {
2703
+ "type": "string",
2704
+ "description": "enable parameter"
2705
+ }
2706
+ },
2707
+ "disable": {
2708
+ "type": "array",
2709
+ "description": "PHP extensions to disable.",
2710
+ "items": {
2711
+ "type": "string",
2712
+ "description": "disable parameter"
2713
+ }
2714
+ }
2715
+ },
2716
+ "required": [
2717
+ "username",
2718
+ "domain"
2719
+ ]
2720
+ },
2721
+ "security": [
2722
+ {
2723
+ "apiToken": []
2724
+ }
2725
+ ],
2726
+ "group": "hosting"
2727
+ },
2728
+ {
2729
+ "name": "hosting_updatePHPOptionsV1",
2730
+ "description": "Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`).\nOnly provide the options you want to change, inside the `options` object.\n\nValues above the account plan limit are silently capped to that limit, so the request can succeed\nwith a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.",
2731
+ "method": "PATCH",
2732
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/options",
2733
+ "inputSchema": {
2734
+ "type": "object",
2735
+ "properties": {
2736
+ "username": {
2737
+ "type": "string",
2738
+ "description": "username parameter"
2739
+ },
2740
+ "domain": {
2741
+ "type": "string",
2742
+ "description": "Domain name"
2743
+ },
2744
+ "options": {
2745
+ "type": "object",
2746
+ "description": "Map of PHP options to update, keyed by option name. Only include options you want to change.",
2747
+ "properties": {}
2748
+ }
2749
+ },
2750
+ "required": [
2751
+ "username",
2752
+ "domain",
2753
+ "options"
2754
+ ]
2755
+ },
2756
+ "security": [
2757
+ {
2758
+ "apiToken": []
2759
+ }
2760
+ ],
2761
+ "group": "hosting"
2762
+ },
2763
+ {
2764
+ "name": "hosting_updatePHPVersionV1",
2765
+ "description": "Changes the PHP version of the website.\n\nUse the Get PHP details endpoint to see the versions available for the website.",
2766
+ "method": "PATCH",
2767
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/version",
2768
+ "inputSchema": {
2769
+ "type": "object",
2770
+ "properties": {
2771
+ "username": {
2772
+ "type": "string",
2773
+ "description": "username parameter"
2774
+ },
2775
+ "domain": {
2776
+ "type": "string",
2777
+ "description": "Domain name"
2778
+ },
2779
+ "version": {
2780
+ "type": "string",
2781
+ "description": "PHP version to switch the website to."
2782
+ }
2783
+ },
2784
+ "required": [
2785
+ "username",
2786
+ "domain",
2787
+ "version"
2788
+ ]
2789
+ },
2790
+ "security": [
2791
+ {
2792
+ "apiToken": []
2793
+ }
2794
+ ],
2795
+ "group": "hosting"
2796
+ },
2596
2797
  {
2597
2798
  "name": "hosting_listWebsitesV1",
2598
2799
  "description": "Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nUse the available query parameters to filter results by username,\norder ID, enabled status, or domain name for more targeted results.",
@@ -2603,6 +2603,207 @@ const tools: OpenApiTool[] = [
2603
2603
  ],
2604
2604
  "group": "hosting"
2605
2605
  },
2606
+ {
2607
+ "name": "hosting_resetPHPExtensionsV1",
2608
+ "description": "Resets all PHP extensions of the website to their default state.\n\nUse it to recover from extension conflicts or restore the original configuration.",
2609
+ "method": "PATCH",
2610
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions/reset",
2611
+ "inputSchema": {
2612
+ "type": "object",
2613
+ "properties": {
2614
+ "username": {
2615
+ "type": "string",
2616
+ "description": "username parameter"
2617
+ },
2618
+ "domain": {
2619
+ "type": "string",
2620
+ "description": "Domain name"
2621
+ }
2622
+ },
2623
+ "required": [
2624
+ "username",
2625
+ "domain"
2626
+ ]
2627
+ },
2628
+ "security": [
2629
+ {
2630
+ "apiToken": []
2631
+ }
2632
+ ],
2633
+ "group": "hosting"
2634
+ },
2635
+ {
2636
+ "name": "hosting_getPHPDetailsV1",
2637
+ "description": "Returns the full PHP configuration for the website: current version, available versions\n(supported and unsupported), enabled/disabled extensions, options with their current value,\ndefault, type and the plan limit (`max`), and conflicting extension groups.\n\nUse it to check the current PHP setup before updating the version, extensions or options.",
2638
+ "method": "GET",
2639
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/details",
2640
+ "inputSchema": {
2641
+ "type": "object",
2642
+ "properties": {
2643
+ "username": {
2644
+ "type": "string",
2645
+ "description": "username parameter"
2646
+ },
2647
+ "domain": {
2648
+ "type": "string",
2649
+ "description": "Domain name"
2650
+ }
2651
+ },
2652
+ "required": [
2653
+ "username",
2654
+ "domain"
2655
+ ]
2656
+ },
2657
+ "security": [
2658
+ {
2659
+ "apiToken": []
2660
+ }
2661
+ ],
2662
+ "group": "hosting"
2663
+ },
2664
+ {
2665
+ "name": "hosting_getPHPInfoV1",
2666
+ "description": "Returns the full phpinfo page (HTML) for the website.\n\nUse it to debug PHP issues or inspect the complete PHP environment of the website.",
2667
+ "method": "GET",
2668
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/php-info",
2669
+ "inputSchema": {
2670
+ "type": "object",
2671
+ "properties": {
2672
+ "username": {
2673
+ "type": "string",
2674
+ "description": "username parameter"
2675
+ },
2676
+ "domain": {
2677
+ "type": "string",
2678
+ "description": "Domain name"
2679
+ }
2680
+ },
2681
+ "required": [
2682
+ "username",
2683
+ "domain"
2684
+ ]
2685
+ },
2686
+ "security": [
2687
+ {
2688
+ "apiToken": []
2689
+ }
2690
+ ],
2691
+ "group": "hosting"
2692
+ },
2693
+ {
2694
+ "name": "hosting_updatePHPExtensionsV1",
2695
+ "description": "Enables or disables PHP extensions (modules) for the website.\n\nUse the Get PHP details endpoint to check the current extension states before changing them.",
2696
+ "method": "PATCH",
2697
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions",
2698
+ "inputSchema": {
2699
+ "type": "object",
2700
+ "properties": {
2701
+ "username": {
2702
+ "type": "string",
2703
+ "description": "username parameter"
2704
+ },
2705
+ "domain": {
2706
+ "type": "string",
2707
+ "description": "Domain name"
2708
+ },
2709
+ "enable": {
2710
+ "type": "array",
2711
+ "description": "PHP extensions to enable.",
2712
+ "items": {
2713
+ "type": "string",
2714
+ "description": "enable parameter"
2715
+ }
2716
+ },
2717
+ "disable": {
2718
+ "type": "array",
2719
+ "description": "PHP extensions to disable.",
2720
+ "items": {
2721
+ "type": "string",
2722
+ "description": "disable parameter"
2723
+ }
2724
+ }
2725
+ },
2726
+ "required": [
2727
+ "username",
2728
+ "domain"
2729
+ ]
2730
+ },
2731
+ "security": [
2732
+ {
2733
+ "apiToken": []
2734
+ }
2735
+ ],
2736
+ "group": "hosting"
2737
+ },
2738
+ {
2739
+ "name": "hosting_updatePHPOptionsV1",
2740
+ "description": "Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`).\nOnly provide the options you want to change, inside the `options` object.\n\nValues above the account plan limit are silently capped to that limit, so the request can succeed\nwith a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.",
2741
+ "method": "PATCH",
2742
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/options",
2743
+ "inputSchema": {
2744
+ "type": "object",
2745
+ "properties": {
2746
+ "username": {
2747
+ "type": "string",
2748
+ "description": "username parameter"
2749
+ },
2750
+ "domain": {
2751
+ "type": "string",
2752
+ "description": "Domain name"
2753
+ },
2754
+ "options": {
2755
+ "type": "object",
2756
+ "description": "Map of PHP options to update, keyed by option name. Only include options you want to change.",
2757
+ "properties": {}
2758
+ }
2759
+ },
2760
+ "required": [
2761
+ "username",
2762
+ "domain",
2763
+ "options"
2764
+ ]
2765
+ },
2766
+ "security": [
2767
+ {
2768
+ "apiToken": []
2769
+ }
2770
+ ],
2771
+ "group": "hosting"
2772
+ },
2773
+ {
2774
+ "name": "hosting_updatePHPVersionV1",
2775
+ "description": "Changes the PHP version of the website.\n\nUse the Get PHP details endpoint to see the versions available for the website.",
2776
+ "method": "PATCH",
2777
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/version",
2778
+ "inputSchema": {
2779
+ "type": "object",
2780
+ "properties": {
2781
+ "username": {
2782
+ "type": "string",
2783
+ "description": "username parameter"
2784
+ },
2785
+ "domain": {
2786
+ "type": "string",
2787
+ "description": "Domain name"
2788
+ },
2789
+ "version": {
2790
+ "type": "string",
2791
+ "description": "PHP version to switch the website to."
2792
+ }
2793
+ },
2794
+ "required": [
2795
+ "username",
2796
+ "domain",
2797
+ "version"
2798
+ ]
2799
+ },
2800
+ "security": [
2801
+ {
2802
+ "apiToken": []
2803
+ }
2804
+ ],
2805
+ "group": "hosting"
2806
+ },
2606
2807
  {
2607
2808
  "name": "hosting_listWebsitesV1",
2608
2809
  "description": "Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nUse the available query parameters to filter results by username,\norder ID, enabled status, or domain name for more targeted results.",
@@ -1166,6 +1166,207 @@ export default [
1166
1166
  ],
1167
1167
  "group": "hosting"
1168
1168
  },
1169
+ {
1170
+ "name": "hosting_resetPHPExtensionsV1",
1171
+ "description": "Resets all PHP extensions of the website to their default state.\n\nUse it to recover from extension conflicts or restore the original configuration.",
1172
+ "method": "PATCH",
1173
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions/reset",
1174
+ "inputSchema": {
1175
+ "type": "object",
1176
+ "properties": {
1177
+ "username": {
1178
+ "type": "string",
1179
+ "description": "username parameter"
1180
+ },
1181
+ "domain": {
1182
+ "type": "string",
1183
+ "description": "Domain name"
1184
+ }
1185
+ },
1186
+ "required": [
1187
+ "username",
1188
+ "domain"
1189
+ ]
1190
+ },
1191
+ "security": [
1192
+ {
1193
+ "apiToken": []
1194
+ }
1195
+ ],
1196
+ "group": "hosting"
1197
+ },
1198
+ {
1199
+ "name": "hosting_getPHPDetailsV1",
1200
+ "description": "Returns the full PHP configuration for the website: current version, available versions\n(supported and unsupported), enabled/disabled extensions, options with their current value,\ndefault, type and the plan limit (`max`), and conflicting extension groups.\n\nUse it to check the current PHP setup before updating the version, extensions or options.",
1201
+ "method": "GET",
1202
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/details",
1203
+ "inputSchema": {
1204
+ "type": "object",
1205
+ "properties": {
1206
+ "username": {
1207
+ "type": "string",
1208
+ "description": "username parameter"
1209
+ },
1210
+ "domain": {
1211
+ "type": "string",
1212
+ "description": "Domain name"
1213
+ }
1214
+ },
1215
+ "required": [
1216
+ "username",
1217
+ "domain"
1218
+ ]
1219
+ },
1220
+ "security": [
1221
+ {
1222
+ "apiToken": []
1223
+ }
1224
+ ],
1225
+ "group": "hosting"
1226
+ },
1227
+ {
1228
+ "name": "hosting_getPHPInfoV1",
1229
+ "description": "Returns the full phpinfo page (HTML) for the website.\n\nUse it to debug PHP issues or inspect the complete PHP environment of the website.",
1230
+ "method": "GET",
1231
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/php-info",
1232
+ "inputSchema": {
1233
+ "type": "object",
1234
+ "properties": {
1235
+ "username": {
1236
+ "type": "string",
1237
+ "description": "username parameter"
1238
+ },
1239
+ "domain": {
1240
+ "type": "string",
1241
+ "description": "Domain name"
1242
+ }
1243
+ },
1244
+ "required": [
1245
+ "username",
1246
+ "domain"
1247
+ ]
1248
+ },
1249
+ "security": [
1250
+ {
1251
+ "apiToken": []
1252
+ }
1253
+ ],
1254
+ "group": "hosting"
1255
+ },
1256
+ {
1257
+ "name": "hosting_updatePHPExtensionsV1",
1258
+ "description": "Enables or disables PHP extensions (modules) for the website.\n\nUse the Get PHP details endpoint to check the current extension states before changing them.",
1259
+ "method": "PATCH",
1260
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions",
1261
+ "inputSchema": {
1262
+ "type": "object",
1263
+ "properties": {
1264
+ "username": {
1265
+ "type": "string",
1266
+ "description": "username parameter"
1267
+ },
1268
+ "domain": {
1269
+ "type": "string",
1270
+ "description": "Domain name"
1271
+ },
1272
+ "enable": {
1273
+ "type": "array",
1274
+ "description": "PHP extensions to enable.",
1275
+ "items": {
1276
+ "type": "string",
1277
+ "description": "enable parameter"
1278
+ }
1279
+ },
1280
+ "disable": {
1281
+ "type": "array",
1282
+ "description": "PHP extensions to disable.",
1283
+ "items": {
1284
+ "type": "string",
1285
+ "description": "disable parameter"
1286
+ }
1287
+ }
1288
+ },
1289
+ "required": [
1290
+ "username",
1291
+ "domain"
1292
+ ]
1293
+ },
1294
+ "security": [
1295
+ {
1296
+ "apiToken": []
1297
+ }
1298
+ ],
1299
+ "group": "hosting"
1300
+ },
1301
+ {
1302
+ "name": "hosting_updatePHPOptionsV1",
1303
+ "description": "Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`).\nOnly provide the options you want to change, inside the `options` object.\n\nValues above the account plan limit are silently capped to that limit, so the request can succeed\nwith a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.",
1304
+ "method": "PATCH",
1305
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/options",
1306
+ "inputSchema": {
1307
+ "type": "object",
1308
+ "properties": {
1309
+ "username": {
1310
+ "type": "string",
1311
+ "description": "username parameter"
1312
+ },
1313
+ "domain": {
1314
+ "type": "string",
1315
+ "description": "Domain name"
1316
+ },
1317
+ "options": {
1318
+ "type": "object",
1319
+ "description": "Map of PHP options to update, keyed by option name. Only include options you want to change.",
1320
+ "properties": {}
1321
+ }
1322
+ },
1323
+ "required": [
1324
+ "username",
1325
+ "domain",
1326
+ "options"
1327
+ ]
1328
+ },
1329
+ "security": [
1330
+ {
1331
+ "apiToken": []
1332
+ }
1333
+ ],
1334
+ "group": "hosting"
1335
+ },
1336
+ {
1337
+ "name": "hosting_updatePHPVersionV1",
1338
+ "description": "Changes the PHP version of the website.\n\nUse the Get PHP details endpoint to see the versions available for the website.",
1339
+ "method": "PATCH",
1340
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/version",
1341
+ "inputSchema": {
1342
+ "type": "object",
1343
+ "properties": {
1344
+ "username": {
1345
+ "type": "string",
1346
+ "description": "username parameter"
1347
+ },
1348
+ "domain": {
1349
+ "type": "string",
1350
+ "description": "Domain name"
1351
+ },
1352
+ "version": {
1353
+ "type": "string",
1354
+ "description": "PHP version to switch the website to."
1355
+ }
1356
+ },
1357
+ "required": [
1358
+ "username",
1359
+ "domain",
1360
+ "version"
1361
+ ]
1362
+ },
1363
+ "security": [
1364
+ {
1365
+ "apiToken": []
1366
+ }
1367
+ ],
1368
+ "group": "hosting"
1369
+ },
1169
1370
  {
1170
1371
  "name": "hosting_listWebsitesV1",
1171
1372
  "description": "Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nUse the available query parameters to filter results by username,\norder ID, enabled status, or domain name for more targeted results.",
@@ -1176,6 +1176,207 @@ const tools: OpenApiTool[] = [
1176
1176
  ],
1177
1177
  "group": "hosting"
1178
1178
  },
1179
+ {
1180
+ "name": "hosting_resetPHPExtensionsV1",
1181
+ "description": "Resets all PHP extensions of the website to their default state.\n\nUse it to recover from extension conflicts or restore the original configuration.",
1182
+ "method": "PATCH",
1183
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions/reset",
1184
+ "inputSchema": {
1185
+ "type": "object",
1186
+ "properties": {
1187
+ "username": {
1188
+ "type": "string",
1189
+ "description": "username parameter"
1190
+ },
1191
+ "domain": {
1192
+ "type": "string",
1193
+ "description": "Domain name"
1194
+ }
1195
+ },
1196
+ "required": [
1197
+ "username",
1198
+ "domain"
1199
+ ]
1200
+ },
1201
+ "security": [
1202
+ {
1203
+ "apiToken": []
1204
+ }
1205
+ ],
1206
+ "group": "hosting"
1207
+ },
1208
+ {
1209
+ "name": "hosting_getPHPDetailsV1",
1210
+ "description": "Returns the full PHP configuration for the website: current version, available versions\n(supported and unsupported), enabled/disabled extensions, options with their current value,\ndefault, type and the plan limit (`max`), and conflicting extension groups.\n\nUse it to check the current PHP setup before updating the version, extensions or options.",
1211
+ "method": "GET",
1212
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/details",
1213
+ "inputSchema": {
1214
+ "type": "object",
1215
+ "properties": {
1216
+ "username": {
1217
+ "type": "string",
1218
+ "description": "username parameter"
1219
+ },
1220
+ "domain": {
1221
+ "type": "string",
1222
+ "description": "Domain name"
1223
+ }
1224
+ },
1225
+ "required": [
1226
+ "username",
1227
+ "domain"
1228
+ ]
1229
+ },
1230
+ "security": [
1231
+ {
1232
+ "apiToken": []
1233
+ }
1234
+ ],
1235
+ "group": "hosting"
1236
+ },
1237
+ {
1238
+ "name": "hosting_getPHPInfoV1",
1239
+ "description": "Returns the full phpinfo page (HTML) for the website.\n\nUse it to debug PHP issues or inspect the complete PHP environment of the website.",
1240
+ "method": "GET",
1241
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/php-info",
1242
+ "inputSchema": {
1243
+ "type": "object",
1244
+ "properties": {
1245
+ "username": {
1246
+ "type": "string",
1247
+ "description": "username parameter"
1248
+ },
1249
+ "domain": {
1250
+ "type": "string",
1251
+ "description": "Domain name"
1252
+ }
1253
+ },
1254
+ "required": [
1255
+ "username",
1256
+ "domain"
1257
+ ]
1258
+ },
1259
+ "security": [
1260
+ {
1261
+ "apiToken": []
1262
+ }
1263
+ ],
1264
+ "group": "hosting"
1265
+ },
1266
+ {
1267
+ "name": "hosting_updatePHPExtensionsV1",
1268
+ "description": "Enables or disables PHP extensions (modules) for the website.\n\nUse the Get PHP details endpoint to check the current extension states before changing them.",
1269
+ "method": "PATCH",
1270
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions",
1271
+ "inputSchema": {
1272
+ "type": "object",
1273
+ "properties": {
1274
+ "username": {
1275
+ "type": "string",
1276
+ "description": "username parameter"
1277
+ },
1278
+ "domain": {
1279
+ "type": "string",
1280
+ "description": "Domain name"
1281
+ },
1282
+ "enable": {
1283
+ "type": "array",
1284
+ "description": "PHP extensions to enable.",
1285
+ "items": {
1286
+ "type": "string",
1287
+ "description": "enable parameter"
1288
+ }
1289
+ },
1290
+ "disable": {
1291
+ "type": "array",
1292
+ "description": "PHP extensions to disable.",
1293
+ "items": {
1294
+ "type": "string",
1295
+ "description": "disable parameter"
1296
+ }
1297
+ }
1298
+ },
1299
+ "required": [
1300
+ "username",
1301
+ "domain"
1302
+ ]
1303
+ },
1304
+ "security": [
1305
+ {
1306
+ "apiToken": []
1307
+ }
1308
+ ],
1309
+ "group": "hosting"
1310
+ },
1311
+ {
1312
+ "name": "hosting_updatePHPOptionsV1",
1313
+ "description": "Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`).\nOnly provide the options you want to change, inside the `options` object.\n\nValues above the account plan limit are silently capped to that limit, so the request can succeed\nwith a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.",
1314
+ "method": "PATCH",
1315
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/options",
1316
+ "inputSchema": {
1317
+ "type": "object",
1318
+ "properties": {
1319
+ "username": {
1320
+ "type": "string",
1321
+ "description": "username parameter"
1322
+ },
1323
+ "domain": {
1324
+ "type": "string",
1325
+ "description": "Domain name"
1326
+ },
1327
+ "options": {
1328
+ "type": "object",
1329
+ "description": "Map of PHP options to update, keyed by option name. Only include options you want to change.",
1330
+ "properties": {}
1331
+ }
1332
+ },
1333
+ "required": [
1334
+ "username",
1335
+ "domain",
1336
+ "options"
1337
+ ]
1338
+ },
1339
+ "security": [
1340
+ {
1341
+ "apiToken": []
1342
+ }
1343
+ ],
1344
+ "group": "hosting"
1345
+ },
1346
+ {
1347
+ "name": "hosting_updatePHPVersionV1",
1348
+ "description": "Changes the PHP version of the website.\n\nUse the Get PHP details endpoint to see the versions available for the website.",
1349
+ "method": "PATCH",
1350
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/php/version",
1351
+ "inputSchema": {
1352
+ "type": "object",
1353
+ "properties": {
1354
+ "username": {
1355
+ "type": "string",
1356
+ "description": "username parameter"
1357
+ },
1358
+ "domain": {
1359
+ "type": "string",
1360
+ "description": "Domain name"
1361
+ },
1362
+ "version": {
1363
+ "type": "string",
1364
+ "description": "PHP version to switch the website to."
1365
+ }
1366
+ },
1367
+ "required": [
1368
+ "username",
1369
+ "domain",
1370
+ "version"
1371
+ ]
1372
+ },
1373
+ "security": [
1374
+ {
1375
+ "apiToken": []
1376
+ }
1377
+ ],
1378
+ "group": "hosting"
1379
+ },
1179
1380
  {
1180
1381
  "name": "hosting_listWebsitesV1",
1181
1382
  "description": "Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nUse the available query parameters to filter results by username,\norder ID, enabled status, or domain name for more targeted results.",
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.2.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '1.1.2', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.2.0', tools });
package/types.d.ts CHANGED
@@ -1714,6 +1714,140 @@ or specific order IDs for more targeted results.
1714
1714
  response: any; // Response structure will depend on the API
1715
1715
  };
1716
1716
 
1717
+ /**
1718
+ * Resets all PHP extensions of the website to their default state.
1719
+
1720
+ Use it to recover from extension conflicts or restore the original configuration.
1721
+ */
1722
+ "hosting_resetPHPExtensionsV1": {
1723
+ params: {
1724
+ /**
1725
+ * username parameter
1726
+ */
1727
+ username: string;
1728
+ /**
1729
+ * Domain name
1730
+ */
1731
+ domain: string;
1732
+ };
1733
+ response: any; // Response structure will depend on the API
1734
+ };
1735
+
1736
+ /**
1737
+ * Returns the full PHP configuration for the website: current version, available versions
1738
+ (supported and unsupported), enabled/disabled extensions, options with their current value,
1739
+ default, type and the plan limit (`max`), and conflicting extension groups.
1740
+
1741
+ Use it to check the current PHP setup before updating the version, extensions or options.
1742
+ */
1743
+ "hosting_getPHPDetailsV1": {
1744
+ params: {
1745
+ /**
1746
+ * username parameter
1747
+ */
1748
+ username: string;
1749
+ /**
1750
+ * Domain name
1751
+ */
1752
+ domain: string;
1753
+ };
1754
+ response: any; // Response structure will depend on the API
1755
+ };
1756
+
1757
+ /**
1758
+ * Returns the full phpinfo page (HTML) for the website.
1759
+
1760
+ Use it to debug PHP issues or inspect the complete PHP environment of the website.
1761
+ */
1762
+ "hosting_getPHPInfoV1": {
1763
+ params: {
1764
+ /**
1765
+ * username parameter
1766
+ */
1767
+ username: string;
1768
+ /**
1769
+ * Domain name
1770
+ */
1771
+ domain: string;
1772
+ };
1773
+ response: any; // Response structure will depend on the API
1774
+ };
1775
+
1776
+ /**
1777
+ * Enables or disables PHP extensions (modules) for the website.
1778
+
1779
+ Use the Get PHP details endpoint to check the current extension states before changing them.
1780
+ */
1781
+ "hosting_updatePHPExtensionsV1": {
1782
+ params: {
1783
+ /**
1784
+ * username parameter
1785
+ */
1786
+ username: string;
1787
+ /**
1788
+ * Domain name
1789
+ */
1790
+ domain: string;
1791
+ /**
1792
+ * PHP extensions to enable.
1793
+ */
1794
+ enable?: array;
1795
+ /**
1796
+ * PHP extensions to disable.
1797
+ */
1798
+ disable?: array;
1799
+ };
1800
+ response: any; // Response structure will depend on the API
1801
+ };
1802
+
1803
+ /**
1804
+ * Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`).
1805
+ Only provide the options you want to change, inside the `options` object.
1806
+
1807
+ Values above the account plan limit are silently capped to that limit, so the request can succeed
1808
+ with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
1809
+ */
1810
+ "hosting_updatePHPOptionsV1": {
1811
+ params: {
1812
+ /**
1813
+ * username parameter
1814
+ */
1815
+ username: string;
1816
+ /**
1817
+ * Domain name
1818
+ */
1819
+ domain: string;
1820
+ /**
1821
+ * Map of PHP options to update, keyed by option name. Only include options you want to change.
1822
+ */
1823
+ options: object;
1824
+ };
1825
+ response: any; // Response structure will depend on the API
1826
+ };
1827
+
1828
+ /**
1829
+ * Changes the PHP version of the website.
1830
+
1831
+ Use the Get PHP details endpoint to see the versions available for the website.
1832
+ */
1833
+ "hosting_updatePHPVersionV1": {
1834
+ params: {
1835
+ /**
1836
+ * username parameter
1837
+ */
1838
+ username: string;
1839
+ /**
1840
+ * Domain name
1841
+ */
1842
+ domain: string;
1843
+ /**
1844
+ * PHP version to switch the website to.
1845
+ */
1846
+ version: string;
1847
+ };
1848
+ response: any; // Response structure will depend on the API
1849
+ };
1850
+
1717
1851
  /**
1718
1852
  * Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.
1719
1853