hostinger-api-mcp 1.5.0 → 1.5.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.
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 (203 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (201 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` — 12 tools for ecommerce
57
57
  - `hostinger-horizons-mcp` — 2 tools for horizons
58
- - `hostinger-hosting-mcp` — 47 tools for hosting
58
+ - `hostinger-hosting-mcp` — 45 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` — 35 tools for wordpress
@@ -754,44 +754,27 @@ installation living in a subdirectory, pass the directory query parameter to cle
754
754
  - **Method**: `DELETE`
755
755
  - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear`
756
756
 
757
- #### hosting_disableCachelessModeV1
757
+ #### hosting_toggleCachelessModeV1
758
758
 
759
- Turns off development (cacheless) mode and returns the website to normal caching. Use it after
759
+ Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing
760
+ is cached, effectively turning off all caching for the website; use it while actively developing,
761
+ testing changes, debugging issues, or when real-time updates must be visible. Disable it after
760
762
  finishing development work to restore the performance benefits of caching.
761
763
 
762
764
  - **Method**: `PATCH`
763
- - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/disable`
765
+ - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle`
764
766
 
765
- #### hosting_disableWebsiteCacheV1
767
+ #### hosting_toggleWebsiteCacheV1
766
768
 
767
- Turns off server-side caching for the website until it is enabled again. May impact performance.
768
- Use it when experiencing cache-related issues; to temporarily bypass caching while developing
769
- or debugging, prefer enabling cacheless mode instead.
769
+ Turns server-side caching for the website on or off, based on the enabled flag. Enable it for
770
+ faster page loads, reduced server load, and improved user experience; recommended for production
771
+ websites. Disabling may impact performance; to temporarily bypass caching while developing or
772
+ debugging, prefer toggling cacheless mode instead.
770
773
 
771
- Does nothing if caching is already disabled.
774
+ Does nothing if caching is already in the requested state.
772
775
 
773
776
  - **Method**: `PATCH`
774
- - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable`
775
-
776
- #### hosting_enableCachelessModeV1
777
-
778
- Enables development (cacheless) mode where nothing is cached, effectively turning off all
779
- caching for the website. Use it while actively developing, testing changes, debugging issues,
780
- or when real-time updates must be visible. Disable cacheless mode afterwards to restore
781
- normal caching.
782
-
783
- - **Method**: `PATCH`
784
- - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/enable`
785
-
786
- #### hosting_enableWebsiteCacheV1
787
-
788
- Turns on server-side caching for the website for better performance. Use it for faster page
789
- loads, reduced server load, or improved user experience. Recommended for production websites.
790
-
791
- Does nothing if caching is already enabled.
792
-
793
- - **Method**: `PATCH`
794
- - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable`
777
+ - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle`
795
778
 
796
779
  #### hosting_listAccountCronJobsV1
797
780
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
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.5.0",
3
+ "version": "1.5.1",
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.5.0",
9
+ "version": "1.5.1",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.5.0",
14
+ "version": "1.5.1",
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.5.0
32
+ * Generated from OpenAPI spec version 1.5.1
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.5.0
50
+ * Generated from OpenAPI spec version 1.5.1
51
51
  */
52
52
  class MCPServer {
53
53
  private readonly name: string;
@@ -1779,10 +1779,10 @@ export default [
1779
1779
  "group": "hosting"
1780
1780
  },
1781
1781
  {
1782
- "name": "hosting_disableCachelessModeV1",
1783
- "description": "Turns off development (cacheless) mode and returns the website to normal caching. Use it after\nfinishing development work to restore the performance benefits of caching.",
1782
+ "name": "hosting_toggleCachelessModeV1",
1783
+ "description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
1784
1784
  "method": "PATCH",
1785
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/disable",
1785
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
1786
1786
  "inputSchema": {
1787
1787
  "type": "object",
1788
1788
  "properties": {
@@ -1793,40 +1793,16 @@ export default [
1793
1793
  "domain": {
1794
1794
  "type": "string",
1795
1795
  "description": "Domain name"
1796
- }
1797
- },
1798
- "required": [
1799
- "username",
1800
- "domain"
1801
- ]
1802
- },
1803
- "security": [
1804
- {
1805
- "apiToken": []
1806
- }
1807
- ],
1808
- "group": "hosting"
1809
- },
1810
- {
1811
- "name": "hosting_disableWebsiteCacheV1",
1812
- "description": "Turns off server-side caching for the website until it is enabled again. May impact performance.\nUse it when experiencing cache-related issues; to temporarily bypass caching while developing\nor debugging, prefer enabling cacheless mode instead.\n\nDoes nothing if caching is already disabled.",
1813
- "method": "PATCH",
1814
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable",
1815
- "inputSchema": {
1816
- "type": "object",
1817
- "properties": {
1818
- "username": {
1819
- "type": "string",
1820
- "description": "username parameter"
1821
1796
  },
1822
- "domain": {
1823
- "type": "string",
1824
- "description": "Domain name"
1797
+ "enabled": {
1798
+ "type": "boolean",
1799
+ "description": "Turn development (cacheless) mode on (true) or off (false) for the website."
1825
1800
  }
1826
1801
  },
1827
1802
  "required": [
1828
1803
  "username",
1829
- "domain"
1804
+ "domain",
1805
+ "enabled"
1830
1806
  ]
1831
1807
  },
1832
1808
  "security": [
@@ -1837,10 +1813,10 @@ export default [
1837
1813
  "group": "hosting"
1838
1814
  },
1839
1815
  {
1840
- "name": "hosting_enableCachelessModeV1",
1841
- "description": "Enables development (cacheless) mode where nothing is cached, effectively turning off all\ncaching for the website. Use it while actively developing, testing changes, debugging issues,\nor when real-time updates must be visible. Disable cacheless mode afterwards to restore\nnormal caching.",
1816
+ "name": "hosting_toggleWebsiteCacheV1",
1817
+ "description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
1842
1818
  "method": "PATCH",
1843
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/enable",
1819
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
1844
1820
  "inputSchema": {
1845
1821
  "type": "object",
1846
1822
  "properties": {
@@ -1851,40 +1827,16 @@ export default [
1851
1827
  "domain": {
1852
1828
  "type": "string",
1853
1829
  "description": "Domain name"
1854
- }
1855
- },
1856
- "required": [
1857
- "username",
1858
- "domain"
1859
- ]
1860
- },
1861
- "security": [
1862
- {
1863
- "apiToken": []
1864
- }
1865
- ],
1866
- "group": "hosting"
1867
- },
1868
- {
1869
- "name": "hosting_enableWebsiteCacheV1",
1870
- "description": "Turns on server-side caching for the website for better performance. Use it for faster page\nloads, reduced server load, or improved user experience. Recommended for production websites.\n\nDoes nothing if caching is already enabled.",
1871
- "method": "PATCH",
1872
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable",
1873
- "inputSchema": {
1874
- "type": "object",
1875
- "properties": {
1876
- "username": {
1877
- "type": "string",
1878
- "description": "username parameter"
1879
1830
  },
1880
- "domain": {
1881
- "type": "string",
1882
- "description": "Domain name"
1831
+ "enabled": {
1832
+ "type": "boolean",
1833
+ "description": "Turn server-side caching on (true) or off (false) for the website."
1883
1834
  }
1884
1835
  },
1885
1836
  "required": [
1886
1837
  "username",
1887
- "domain"
1838
+ "domain",
1839
+ "enabled"
1888
1840
  ]
1889
1841
  },
1890
1842
  "security": [
@@ -1789,10 +1789,10 @@ const tools: OpenApiTool[] = [
1789
1789
  "group": "hosting"
1790
1790
  },
1791
1791
  {
1792
- "name": "hosting_disableCachelessModeV1",
1793
- "description": "Turns off development (cacheless) mode and returns the website to normal caching. Use it after\nfinishing development work to restore the performance benefits of caching.",
1792
+ "name": "hosting_toggleCachelessModeV1",
1793
+ "description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
1794
1794
  "method": "PATCH",
1795
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/disable",
1795
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
1796
1796
  "inputSchema": {
1797
1797
  "type": "object",
1798
1798
  "properties": {
@@ -1803,40 +1803,16 @@ const tools: OpenApiTool[] = [
1803
1803
  "domain": {
1804
1804
  "type": "string",
1805
1805
  "description": "Domain name"
1806
- }
1807
- },
1808
- "required": [
1809
- "username",
1810
- "domain"
1811
- ]
1812
- },
1813
- "security": [
1814
- {
1815
- "apiToken": []
1816
- }
1817
- ],
1818
- "group": "hosting"
1819
- },
1820
- {
1821
- "name": "hosting_disableWebsiteCacheV1",
1822
- "description": "Turns off server-side caching for the website until it is enabled again. May impact performance.\nUse it when experiencing cache-related issues; to temporarily bypass caching while developing\nor debugging, prefer enabling cacheless mode instead.\n\nDoes nothing if caching is already disabled.",
1823
- "method": "PATCH",
1824
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable",
1825
- "inputSchema": {
1826
- "type": "object",
1827
- "properties": {
1828
- "username": {
1829
- "type": "string",
1830
- "description": "username parameter"
1831
1806
  },
1832
- "domain": {
1833
- "type": "string",
1834
- "description": "Domain name"
1807
+ "enabled": {
1808
+ "type": "boolean",
1809
+ "description": "Turn development (cacheless) mode on (true) or off (false) for the website."
1835
1810
  }
1836
1811
  },
1837
1812
  "required": [
1838
1813
  "username",
1839
- "domain"
1814
+ "domain",
1815
+ "enabled"
1840
1816
  ]
1841
1817
  },
1842
1818
  "security": [
@@ -1847,10 +1823,10 @@ const tools: OpenApiTool[] = [
1847
1823
  "group": "hosting"
1848
1824
  },
1849
1825
  {
1850
- "name": "hosting_enableCachelessModeV1",
1851
- "description": "Enables development (cacheless) mode where nothing is cached, effectively turning off all\ncaching for the website. Use it while actively developing, testing changes, debugging issues,\nor when real-time updates must be visible. Disable cacheless mode afterwards to restore\nnormal caching.",
1826
+ "name": "hosting_toggleWebsiteCacheV1",
1827
+ "description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
1852
1828
  "method": "PATCH",
1853
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/enable",
1829
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
1854
1830
  "inputSchema": {
1855
1831
  "type": "object",
1856
1832
  "properties": {
@@ -1861,40 +1837,16 @@ const tools: OpenApiTool[] = [
1861
1837
  "domain": {
1862
1838
  "type": "string",
1863
1839
  "description": "Domain name"
1864
- }
1865
- },
1866
- "required": [
1867
- "username",
1868
- "domain"
1869
- ]
1870
- },
1871
- "security": [
1872
- {
1873
- "apiToken": []
1874
- }
1875
- ],
1876
- "group": "hosting"
1877
- },
1878
- {
1879
- "name": "hosting_enableWebsiteCacheV1",
1880
- "description": "Turns on server-side caching for the website for better performance. Use it for faster page\nloads, reduced server load, or improved user experience. Recommended for production websites.\n\nDoes nothing if caching is already enabled.",
1881
- "method": "PATCH",
1882
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable",
1883
- "inputSchema": {
1884
- "type": "object",
1885
- "properties": {
1886
- "username": {
1887
- "type": "string",
1888
- "description": "username parameter"
1889
1840
  },
1890
- "domain": {
1891
- "type": "string",
1892
- "description": "Domain name"
1841
+ "enabled": {
1842
+ "type": "boolean",
1843
+ "description": "Turn server-side caching on (true) or off (false) for the website."
1893
1844
  }
1894
1845
  },
1895
1846
  "required": [
1896
1847
  "username",
1897
- "domain"
1848
+ "domain",
1849
+ "enabled"
1898
1850
  ]
1899
1851
  },
1900
1852
  "security": [
@@ -291,10 +291,10 @@ export default [
291
291
  "group": "hosting"
292
292
  },
293
293
  {
294
- "name": "hosting_disableCachelessModeV1",
295
- "description": "Turns off development (cacheless) mode and returns the website to normal caching. Use it after\nfinishing development work to restore the performance benefits of caching.",
294
+ "name": "hosting_toggleCachelessModeV1",
295
+ "description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
296
296
  "method": "PATCH",
297
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/disable",
297
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
298
298
  "inputSchema": {
299
299
  "type": "object",
300
300
  "properties": {
@@ -305,40 +305,16 @@ export default [
305
305
  "domain": {
306
306
  "type": "string",
307
307
  "description": "Domain name"
308
- }
309
- },
310
- "required": [
311
- "username",
312
- "domain"
313
- ]
314
- },
315
- "security": [
316
- {
317
- "apiToken": []
318
- }
319
- ],
320
- "group": "hosting"
321
- },
322
- {
323
- "name": "hosting_disableWebsiteCacheV1",
324
- "description": "Turns off server-side caching for the website until it is enabled again. May impact performance.\nUse it when experiencing cache-related issues; to temporarily bypass caching while developing\nor debugging, prefer enabling cacheless mode instead.\n\nDoes nothing if caching is already disabled.",
325
- "method": "PATCH",
326
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable",
327
- "inputSchema": {
328
- "type": "object",
329
- "properties": {
330
- "username": {
331
- "type": "string",
332
- "description": "username parameter"
333
308
  },
334
- "domain": {
335
- "type": "string",
336
- "description": "Domain name"
309
+ "enabled": {
310
+ "type": "boolean",
311
+ "description": "Turn development (cacheless) mode on (true) or off (false) for the website."
337
312
  }
338
313
  },
339
314
  "required": [
340
315
  "username",
341
- "domain"
316
+ "domain",
317
+ "enabled"
342
318
  ]
343
319
  },
344
320
  "security": [
@@ -349,10 +325,10 @@ export default [
349
325
  "group": "hosting"
350
326
  },
351
327
  {
352
- "name": "hosting_enableCachelessModeV1",
353
- "description": "Enables development (cacheless) mode where nothing is cached, effectively turning off all\ncaching for the website. Use it while actively developing, testing changes, debugging issues,\nor when real-time updates must be visible. Disable cacheless mode afterwards to restore\nnormal caching.",
328
+ "name": "hosting_toggleWebsiteCacheV1",
329
+ "description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
354
330
  "method": "PATCH",
355
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/enable",
331
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
356
332
  "inputSchema": {
357
333
  "type": "object",
358
334
  "properties": {
@@ -363,40 +339,16 @@ export default [
363
339
  "domain": {
364
340
  "type": "string",
365
341
  "description": "Domain name"
366
- }
367
- },
368
- "required": [
369
- "username",
370
- "domain"
371
- ]
372
- },
373
- "security": [
374
- {
375
- "apiToken": []
376
- }
377
- ],
378
- "group": "hosting"
379
- },
380
- {
381
- "name": "hosting_enableWebsiteCacheV1",
382
- "description": "Turns on server-side caching for the website for better performance. Use it for faster page\nloads, reduced server load, or improved user experience. Recommended for production websites.\n\nDoes nothing if caching is already enabled.",
383
- "method": "PATCH",
384
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable",
385
- "inputSchema": {
386
- "type": "object",
387
- "properties": {
388
- "username": {
389
- "type": "string",
390
- "description": "username parameter"
391
342
  },
392
- "domain": {
393
- "type": "string",
394
- "description": "Domain name"
343
+ "enabled": {
344
+ "type": "boolean",
345
+ "description": "Turn server-side caching on (true) or off (false) for the website."
395
346
  }
396
347
  },
397
348
  "required": [
398
349
  "username",
399
- "domain"
350
+ "domain",
351
+ "enabled"
400
352
  ]
401
353
  },
402
354
  "security": [
@@ -301,10 +301,10 @@ const tools: OpenApiTool[] = [
301
301
  "group": "hosting"
302
302
  },
303
303
  {
304
- "name": "hosting_disableCachelessModeV1",
305
- "description": "Turns off development (cacheless) mode and returns the website to normal caching. Use it after\nfinishing development work to restore the performance benefits of caching.",
304
+ "name": "hosting_toggleCachelessModeV1",
305
+ "description": "Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing\nis cached, effectively turning off all caching for the website; use it while actively developing,\ntesting changes, debugging issues, or when real-time updates must be visible. Disable it after\nfinishing development work to restore the performance benefits of caching.",
306
306
  "method": "PATCH",
307
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/disable",
307
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/toggle",
308
308
  "inputSchema": {
309
309
  "type": "object",
310
310
  "properties": {
@@ -315,40 +315,16 @@ const tools: OpenApiTool[] = [
315
315
  "domain": {
316
316
  "type": "string",
317
317
  "description": "Domain name"
318
- }
319
- },
320
- "required": [
321
- "username",
322
- "domain"
323
- ]
324
- },
325
- "security": [
326
- {
327
- "apiToken": []
328
- }
329
- ],
330
- "group": "hosting"
331
- },
332
- {
333
- "name": "hosting_disableWebsiteCacheV1",
334
- "description": "Turns off server-side caching for the website until it is enabled again. May impact performance.\nUse it when experiencing cache-related issues; to temporarily bypass caching while developing\nor debugging, prefer enabling cacheless mode instead.\n\nDoes nothing if caching is already disabled.",
335
- "method": "PATCH",
336
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable",
337
- "inputSchema": {
338
- "type": "object",
339
- "properties": {
340
- "username": {
341
- "type": "string",
342
- "description": "username parameter"
343
318
  },
344
- "domain": {
345
- "type": "string",
346
- "description": "Domain name"
319
+ "enabled": {
320
+ "type": "boolean",
321
+ "description": "Turn development (cacheless) mode on (true) or off (false) for the website."
347
322
  }
348
323
  },
349
324
  "required": [
350
325
  "username",
351
- "domain"
326
+ "domain",
327
+ "enabled"
352
328
  ]
353
329
  },
354
330
  "security": [
@@ -359,10 +335,10 @@ const tools: OpenApiTool[] = [
359
335
  "group": "hosting"
360
336
  },
361
337
  {
362
- "name": "hosting_enableCachelessModeV1",
363
- "description": "Enables development (cacheless) mode where nothing is cached, effectively turning off all\ncaching for the website. Use it while actively developing, testing changes, debugging issues,\nor when real-time updates must be visible. Disable cacheless mode afterwards to restore\nnormal caching.",
338
+ "name": "hosting_toggleWebsiteCacheV1",
339
+ "description": "Turns server-side caching for the website on or off, based on the enabled flag. Enable it for\nfaster page loads, reduced server load, and improved user experience; recommended for production\nwebsites. Disabling may impact performance; to temporarily bypass caching while developing or\ndebugging, prefer toggling cacheless mode instead.\n\nDoes nothing if caching is already in the requested state.",
364
340
  "method": "PATCH",
365
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/enable",
341
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/toggle",
366
342
  "inputSchema": {
367
343
  "type": "object",
368
344
  "properties": {
@@ -373,40 +349,16 @@ const tools: OpenApiTool[] = [
373
349
  "domain": {
374
350
  "type": "string",
375
351
  "description": "Domain name"
376
- }
377
- },
378
- "required": [
379
- "username",
380
- "domain"
381
- ]
382
- },
383
- "security": [
384
- {
385
- "apiToken": []
386
- }
387
- ],
388
- "group": "hosting"
389
- },
390
- {
391
- "name": "hosting_enableWebsiteCacheV1",
392
- "description": "Turns on server-side caching for the website for better performance. Use it for faster page\nloads, reduced server load, or improved user experience. Recommended for production websites.\n\nDoes nothing if caching is already enabled.",
393
- "method": "PATCH",
394
- "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable",
395
- "inputSchema": {
396
- "type": "object",
397
- "properties": {
398
- "username": {
399
- "type": "string",
400
- "description": "username parameter"
401
352
  },
402
- "domain": {
403
- "type": "string",
404
- "description": "Domain name"
353
+ "enabled": {
354
+ "type": "boolean",
355
+ "description": "Turn server-side caching on (true) or off (false) for the website."
405
356
  }
406
357
  },
407
358
  "required": [
408
359
  "username",
409
- "domain"
360
+ "domain",
361
+ "enabled"
410
362
  ]
411
363
  },
412
364
  "security": [
@@ -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.5.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.5.1', 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.5.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.5.1', tools });
package/types.d.ts CHANGED
@@ -1135,10 +1135,12 @@ Defaults to the website root.
1135
1135
  };
1136
1136
 
1137
1137
  /**
1138
- * Turns off development (cacheless) mode and returns the website to normal caching. Use it after
1138
+ * Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing
1139
+ is cached, effectively turning off all caching for the website; use it while actively developing,
1140
+ testing changes, debugging issues, or when real-time updates must be visible. Disable it after
1139
1141
  finishing development work to restore the performance benefits of caching.
1140
1142
  */
1141
- "hosting_disableCachelessModeV1": {
1143
+ "hosting_toggleCachelessModeV1": {
1142
1144
  params: {
1143
1145
  /**
1144
1146
  * username parameter
@@ -1148,38 +1150,23 @@ finishing development work to restore the performance benefits of caching.
1148
1150
  * Domain name
1149
1151
  */
1150
1152
  domain: string;
1151
- };
1152
- response: any; // Response structure will depend on the API
1153
- };
1154
-
1155
- /**
1156
- * Turns off server-side caching for the website until it is enabled again. May impact performance.
1157
- Use it when experiencing cache-related issues; to temporarily bypass caching while developing
1158
- or debugging, prefer enabling cacheless mode instead.
1159
-
1160
- Does nothing if caching is already disabled.
1161
- */
1162
- "hosting_disableWebsiteCacheV1": {
1163
- params: {
1164
1153
  /**
1165
- * username parameter
1166
- */
1167
- username: string;
1168
- /**
1169
- * Domain name
1154
+ * Turn development (cacheless) mode on (true) or off (false) for the website.
1170
1155
  */
1171
- domain: string;
1156
+ enabled: boolean;
1172
1157
  };
1173
1158
  response: any; // Response structure will depend on the API
1174
1159
  };
1175
1160
 
1176
1161
  /**
1177
- * Enables development (cacheless) mode where nothing is cached, effectively turning off all
1178
- caching for the website. Use it while actively developing, testing changes, debugging issues,
1179
- or when real-time updates must be visible. Disable cacheless mode afterwards to restore
1180
- normal caching.
1162
+ * Turns server-side caching for the website on or off, based on the enabled flag. Enable it for
1163
+ faster page loads, reduced server load, and improved user experience; recommended for production
1164
+ websites. Disabling may impact performance; to temporarily bypass caching while developing or
1165
+ debugging, prefer toggling cacheless mode instead.
1166
+
1167
+ Does nothing if caching is already in the requested state.
1181
1168
  */
1182
- "hosting_enableCachelessModeV1": {
1169
+ "hosting_toggleWebsiteCacheV1": {
1183
1170
  params: {
1184
1171
  /**
1185
1172
  * username parameter
@@ -1189,26 +1176,10 @@ normal caching.
1189
1176
  * Domain name
1190
1177
  */
1191
1178
  domain: string;
1192
- };
1193
- response: any; // Response structure will depend on the API
1194
- };
1195
-
1196
- /**
1197
- * Turns on server-side caching for the website for better performance. Use it for faster page
1198
- loads, reduced server load, or improved user experience. Recommended for production websites.
1199
-
1200
- Does nothing if caching is already enabled.
1201
- */
1202
- "hosting_enableWebsiteCacheV1": {
1203
- params: {
1204
1179
  /**
1205
- * username parameter
1180
+ * Turn server-side caching on (true) or off (false) for the website.
1206
1181
  */
1207
- username: string;
1208
- /**
1209
- * Domain name
1210
- */
1211
- domain: string;
1182
+ enabled: boolean;
1212
1183
  };
1213
1184
  response: any; // Response structure will depend on the API
1214
1185
  };