hostinger-api-mcp 1.8.1 → 1.8.2

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,8 +49,8 @@ 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 (222 total)
53
- - `hostinger-agency-hosting-mcp` — 17 tools for agency-hosting
52
+ - `hostinger-api-mcp` — unified server with every tool (223 total)
53
+ - `hostinger-agency-hosting-mcp` — 18 tools for agency-hosting
54
54
  - `hostinger-billing-mcp` — 7 tools for billing
55
55
  - `hostinger-dns-mcp` — 8 tools for dns
56
56
  - `hostinger-domains-mcp` — 19 tools for domains
@@ -323,6 +323,15 @@ Website contents are overwritten by the build result, which is deployed to publi
323
323
  - **Method**: `POST`
324
324
  - **Path**: `/api/agency-hosting/v1/websites/{website_uid}/build-assets`
325
325
 
326
+ #### agency-hosting_clearAgencyPlanWebsiteCacheV1
327
+
328
+ Clears cache for all domains associated with an Agency Plan website, including its preview domain.
329
+
330
+ This operation clears all cache types for the website.
331
+
332
+ - **Method**: `DELETE`
333
+ - **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cache`
334
+
326
335
  #### agency-hosting_listAgencyPlanWebsiteCronJobsV1
327
336
 
328
337
  Returns a paginated list of cron jobs configured for an Agency Plan website.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
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.8.1",
3
+ "version": "1.8.2",
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.8.1",
9
+ "version": "1.8.2",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.8.1",
14
+ "version": "1.8.2",
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.8.1
32
+ * Generated from OpenAPI spec version 1.8.2
33
33
  */
34
34
  class MCPServer {
35
35
  constructor({ name, version, tools }) {
@@ -52,7 +52,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
52
52
 
53
53
  /**
54
54
  * MCP Server for Hostinger API
55
- * Generated from OpenAPI spec version 1.8.1
55
+ * Generated from OpenAPI spec version 1.8.2
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -456,6 +456,30 @@ export default [
456
456
  ],
457
457
  "group": "agency-hosting"
458
458
  },
459
+ {
460
+ "name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
461
+ "description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
462
+ "method": "DELETE",
463
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
464
+ "inputSchema": {
465
+ "type": "object",
466
+ "properties": {
467
+ "website_uid": {
468
+ "type": "string",
469
+ "description": "Agency Plan website UID"
470
+ }
471
+ },
472
+ "required": [
473
+ "website_uid"
474
+ ]
475
+ },
476
+ "security": [
477
+ {
478
+ "apiToken": []
479
+ }
480
+ ],
481
+ "group": "agency-hosting"
482
+ },
459
483
  {
460
484
  "name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
461
485
  "description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
@@ -470,6 +470,30 @@ const tools: OpenApiTool[] = [
470
470
  ],
471
471
  "group": "agency-hosting"
472
472
  },
473
+ {
474
+ "name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
475
+ "description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
476
+ "method": "DELETE",
477
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
478
+ "inputSchema": {
479
+ "type": "object",
480
+ "properties": {
481
+ "website_uid": {
482
+ "type": "string",
483
+ "description": "Agency Plan website UID"
484
+ }
485
+ },
486
+ "required": [
487
+ "website_uid"
488
+ ]
489
+ },
490
+ "security": [
491
+ {
492
+ "apiToken": []
493
+ }
494
+ ],
495
+ "group": "agency-hosting"
496
+ },
473
497
  {
474
498
  "name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
475
499
  "description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
@@ -713,6 +713,30 @@ export default [
713
713
  ],
714
714
  "group": "agency-hosting"
715
715
  },
716
+ {
717
+ "name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
718
+ "description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
719
+ "method": "DELETE",
720
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
721
+ "inputSchema": {
722
+ "type": "object",
723
+ "properties": {
724
+ "website_uid": {
725
+ "type": "string",
726
+ "description": "Agency Plan website UID"
727
+ }
728
+ },
729
+ "required": [
730
+ "website_uid"
731
+ ]
732
+ },
733
+ "security": [
734
+ {
735
+ "apiToken": []
736
+ }
737
+ ],
738
+ "group": "agency-hosting"
739
+ },
716
740
  {
717
741
  "name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
718
742
  "description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
@@ -727,6 +727,30 @@ const tools: OpenApiTool[] = [
727
727
  ],
728
728
  "group": "agency-hosting"
729
729
  },
730
+ {
731
+ "name": "agency-hosting_clearAgencyPlanWebsiteCacheV1",
732
+ "description": "Clears cache for all domains associated with an Agency Plan website, including its preview domain.\n\nThis operation clears all cache types for the website.",
733
+ "method": "DELETE",
734
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/cache",
735
+ "inputSchema": {
736
+ "type": "object",
737
+ "properties": {
738
+ "website_uid": {
739
+ "type": "string",
740
+ "description": "Agency Plan website UID"
741
+ }
742
+ },
743
+ "required": [
744
+ "website_uid"
745
+ ]
746
+ },
747
+ "security": [
748
+ {
749
+ "apiToken": []
750
+ }
751
+ ],
752
+ "group": "agency-hosting"
753
+ },
730
754
  {
731
755
  "name": "agency-hosting_listAgencyPlanWebsiteCronJobsV1",
732
756
  "description": "Returns a paginated list of cron jobs configured for an Agency Plan website.\n\nEach entry includes the schedule expression and the command executed on that schedule.",
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.8.1', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.8.2', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.8.1', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.8.2', 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.8.1', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.8.2', tools });
package/types.d.ts CHANGED
@@ -429,6 +429,21 @@ Website contents are overwritten by the build result, which is deployed to publi
429
429
  response: any; // Response structure will depend on the API
430
430
  };
431
431
 
432
+ /**
433
+ * Clears cache for all domains associated with an Agency Plan website, including its preview domain.
434
+
435
+ This operation clears all cache types for the website.
436
+ */
437
+ "agency-hosting_clearAgencyPlanWebsiteCacheV1": {
438
+ params: {
439
+ /**
440
+ * Agency Plan website UID
441
+ */
442
+ website_uid: string;
443
+ };
444
+ response: any; // Response structure will depend on the API
445
+ };
446
+
432
447
  /**
433
448
  * Returns a paginated list of cron jobs configured for an Agency Plan website.
434
449