hostinger-api-mcp 1.11.1 → 1.12.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,15 +49,15 @@ 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 (228 total)
53
- - `hostinger-agency-hosting-mcp` — 18 tools for agency-hosting
52
+ - `hostinger-api-mcp` — unified server with every tool (234 total)
53
+ - `hostinger-agency-hosting-mcp` — 23 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` — 23 tools for domains
57
57
  - `hostinger-ecommerce-mcp` — 12 tools for ecommerce
58
58
  - `hostinger-horizons-mcp` — 2 tools for horizons
59
59
  - `hostinger-hosting-mcp` — 48 tools for hosting
60
- - `hostinger-mail-mcp` — 1 tools for mail
60
+ - `hostinger-mail-mcp` — 2 tools for mail
61
61
  - `hostinger-reach-mcp` — 12 tools for reach
62
62
  - `hostinger-vps-mcp` — 62 tools for vps
63
63
  - `hostinger-wordpress-mcp` — 35 tools for wordpress
@@ -360,6 +360,51 @@ The operation is idempotent: deleting a cron job that does not exist succeeds wi
360
360
  - **Method**: `DELETE`
361
361
  - **Path**: `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}`
362
362
 
363
+ #### agency-hosting_listAgencyPlanWebsiteDatabasesV1
364
+
365
+ Returns a paginated list of MySQL databases created for an Agency Plan website.
366
+
367
+ Each entry includes the database's non-system users.
368
+
369
+ - **Method**: `GET`
370
+ - **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases`
371
+
372
+ #### agency-hosting_createAgencyPlanWebsiteDatabaseV1
373
+
374
+ Creates a MySQL database with a dedicated user for an Agency Plan website.
375
+
376
+ The database name, username, and password must all be provided by the caller.
377
+
378
+ - **Method**: `POST`
379
+ - **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases`
380
+
381
+ #### agency-hosting_deleteAgencyPlanWebsiteDatabaseV1
382
+
383
+ Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.
384
+
385
+ The operation is idempotent: deleting a database that does not exist succeeds without error.
386
+
387
+ - **Method**: `DELETE`
388
+ - **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}`
389
+
390
+ #### agency-hosting_createAgencyPlanWebsiteDatabaseUserV1
391
+
392
+ Creates a user for an existing database on an Agency Plan website.
393
+
394
+ Each database supports a single non-system user; creating a user for a database that already has one fails.
395
+
396
+ - **Method**: `POST`
397
+ - **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users`
398
+
399
+ #### agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1
400
+
401
+ Permanently deletes a database user from an Agency Plan website database, revoking all access it had.
402
+
403
+ The operation is idempotent: deleting a user that does not exist succeeds without error.
404
+
405
+ - **Method**: `DELETE`
406
+ - **Path**: `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}`
407
+
363
408
  #### agency-hosting_getAgencyPlanWebsiteDetailsV1
364
409
 
365
410
  Retrieves detailed information about a specific Agency Plan website, including configuration,
@@ -1459,6 +1504,17 @@ complete. The response returns before the removal finishes.
1459
1504
 
1460
1505
  ### `hostinger-mail-mcp`
1461
1506
 
1507
+ #### mail_getMailboxListV1
1508
+
1509
+ Retrieve a paginated list of mailboxes belonging to a mail order.
1510
+
1511
+ Use this endpoint to monitor mailboxes of your mail service, including
1512
+ their status, enabled protocols, attached resource counts, and
1513
+ periodically synced usage numbers (usage may lag behind live values).
1514
+
1515
+ - **Method**: `GET`
1516
+ - **Path**: `/api/mail/v1/orders/{orderId}/mailboxes`
1517
+
1462
1518
  #### mail_getMailOrderListV1
1463
1519
 
1464
1520
  Retrieve a paginated list of mail orders associated with your account.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.11.1",
3
+ "version": "1.12.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.11.1",
3
+ "version": "1.12.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.11.1",
9
+ "version": "1.12.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.11.1",
14
+ "version": "1.12.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.11.1
32
+ * Generated from OpenAPI spec version 1.12.0
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.11.1
55
+ * Generated from OpenAPI spec version 1.12.0
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -575,6 +575,183 @@ export default [
575
575
  ],
576
576
  "group": "agency-hosting"
577
577
  },
578
+ {
579
+ "name": "agency-hosting_listAgencyPlanWebsiteDatabasesV1",
580
+ "description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
581
+ "method": "GET",
582
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
583
+ "inputSchema": {
584
+ "type": "object",
585
+ "properties": {
586
+ "website_uid": {
587
+ "type": "string",
588
+ "description": "Agency Plan website UID"
589
+ },
590
+ "page": {
591
+ "type": "integer",
592
+ "description": "Page number"
593
+ },
594
+ "per_page": {
595
+ "type": "integer",
596
+ "description": "Number of items per page"
597
+ }
598
+ },
599
+ "required": [
600
+ "website_uid"
601
+ ]
602
+ },
603
+ "security": [
604
+ {
605
+ "apiToken": []
606
+ }
607
+ ],
608
+ "group": "agency-hosting"
609
+ },
610
+ {
611
+ "name": "agency-hosting_createAgencyPlanWebsiteDatabaseV1",
612
+ "description": "Creates a MySQL database with a dedicated user for an Agency Plan website.\n\nThe database name, username, and password must all be provided by the caller.",
613
+ "method": "POST",
614
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
615
+ "inputSchema": {
616
+ "type": "object",
617
+ "properties": {
618
+ "website_uid": {
619
+ "type": "string",
620
+ "description": "Agency Plan website UID"
621
+ },
622
+ "database_name": {
623
+ "type": "string",
624
+ "description": "Database name to create (alphanumeric characters)."
625
+ },
626
+ "database_user": {
627
+ "type": "string",
628
+ "description": "Database username to create alongside the database (alphanumeric characters)."
629
+ },
630
+ "password": {
631
+ "type": "string",
632
+ "description": "Password for the database user (requires mixed case, letters, and numbers)."
633
+ }
634
+ },
635
+ "required": [
636
+ "website_uid",
637
+ "database_name",
638
+ "database_user",
639
+ "password"
640
+ ]
641
+ },
642
+ "security": [
643
+ {
644
+ "apiToken": []
645
+ }
646
+ ],
647
+ "group": "agency-hosting"
648
+ },
649
+ {
650
+ "name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseV1",
651
+ "description": "Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.\n\nThe operation is idempotent: deleting a database that does not exist succeeds without error.",
652
+ "method": "DELETE",
653
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
654
+ "inputSchema": {
655
+ "type": "object",
656
+ "properties": {
657
+ "website_uid": {
658
+ "type": "string",
659
+ "description": "Agency Plan website UID"
660
+ },
661
+ "database_name": {
662
+ "type": "string",
663
+ "description": "Full database name as returned by the list databases endpoint."
664
+ }
665
+ },
666
+ "required": [
667
+ "website_uid",
668
+ "database_name"
669
+ ]
670
+ },
671
+ "security": [
672
+ {
673
+ "apiToken": []
674
+ }
675
+ ],
676
+ "group": "agency-hosting"
677
+ },
678
+ {
679
+ "name": "agency-hosting_createAgencyPlanWebsiteDatabaseUserV1",
680
+ "description": "Creates a user for an existing database on an Agency Plan website.\n\nEach database supports a single non-system user; creating a user for a database that already has one fails.",
681
+ "method": "POST",
682
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
683
+ "inputSchema": {
684
+ "type": "object",
685
+ "properties": {
686
+ "website_uid": {
687
+ "type": "string",
688
+ "description": "Agency Plan website UID"
689
+ },
690
+ "database_name": {
691
+ "type": "string",
692
+ "description": "Full database name as returned by the list databases endpoint."
693
+ },
694
+ "database_user": {
695
+ "type": "string",
696
+ "description": "Database username to create (alphanumeric and underscores)."
697
+ },
698
+ "password": {
699
+ "type": "string",
700
+ "description": "Password for the database user (requires mixed case, letters, and numbers)."
701
+ },
702
+ "host": {
703
+ "type": "string",
704
+ "description": "Host the user connects from (IPv4, IPv6, % wildcard, or localhost). Defaults to localhost."
705
+ }
706
+ },
707
+ "required": [
708
+ "website_uid",
709
+ "database_name",
710
+ "database_user",
711
+ "password"
712
+ ]
713
+ },
714
+ "security": [
715
+ {
716
+ "apiToken": []
717
+ }
718
+ ],
719
+ "group": "agency-hosting"
720
+ },
721
+ {
722
+ "name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1",
723
+ "description": "Permanently deletes a database user from an Agency Plan website database, revoking all access it had.\n\nThe operation is idempotent: deleting a user that does not exist succeeds without error.",
724
+ "method": "DELETE",
725
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
726
+ "inputSchema": {
727
+ "type": "object",
728
+ "properties": {
729
+ "website_uid": {
730
+ "type": "string",
731
+ "description": "Agency Plan website UID"
732
+ },
733
+ "database_name": {
734
+ "type": "string",
735
+ "description": "Full database name as returned by the list databases endpoint."
736
+ },
737
+ "database_user_name": {
738
+ "type": "string",
739
+ "description": "Database username as returned by the list databases endpoint."
740
+ }
741
+ },
742
+ "required": [
743
+ "website_uid",
744
+ "database_name",
745
+ "database_user_name"
746
+ ]
747
+ },
748
+ "security": [
749
+ {
750
+ "apiToken": []
751
+ }
752
+ ],
753
+ "group": "agency-hosting"
754
+ },
578
755
  {
579
756
  "name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
580
757
  "description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",
@@ -589,6 +589,183 @@ const tools: OpenApiTool[] = [
589
589
  ],
590
590
  "group": "agency-hosting"
591
591
  },
592
+ {
593
+ "name": "agency-hosting_listAgencyPlanWebsiteDatabasesV1",
594
+ "description": "Returns a paginated list of MySQL databases created for an Agency Plan website.\n\nEach entry includes the database's non-system users.",
595
+ "method": "GET",
596
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
597
+ "inputSchema": {
598
+ "type": "object",
599
+ "properties": {
600
+ "website_uid": {
601
+ "type": "string",
602
+ "description": "Agency Plan website UID"
603
+ },
604
+ "page": {
605
+ "type": "integer",
606
+ "description": "Page number"
607
+ },
608
+ "per_page": {
609
+ "type": "integer",
610
+ "description": "Number of items per page"
611
+ }
612
+ },
613
+ "required": [
614
+ "website_uid"
615
+ ]
616
+ },
617
+ "security": [
618
+ {
619
+ "apiToken": []
620
+ }
621
+ ],
622
+ "group": "agency-hosting"
623
+ },
624
+ {
625
+ "name": "agency-hosting_createAgencyPlanWebsiteDatabaseV1",
626
+ "description": "Creates a MySQL database with a dedicated user for an Agency Plan website.\n\nThe database name, username, and password must all be provided by the caller.",
627
+ "method": "POST",
628
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/databases",
629
+ "inputSchema": {
630
+ "type": "object",
631
+ "properties": {
632
+ "website_uid": {
633
+ "type": "string",
634
+ "description": "Agency Plan website UID"
635
+ },
636
+ "database_name": {
637
+ "type": "string",
638
+ "description": "Database name to create (alphanumeric characters)."
639
+ },
640
+ "database_user": {
641
+ "type": "string",
642
+ "description": "Database username to create alongside the database (alphanumeric characters)."
643
+ },
644
+ "password": {
645
+ "type": "string",
646
+ "description": "Password for the database user (requires mixed case, letters, and numbers)."
647
+ }
648
+ },
649
+ "required": [
650
+ "website_uid",
651
+ "database_name",
652
+ "database_user",
653
+ "password"
654
+ ]
655
+ },
656
+ "security": [
657
+ {
658
+ "apiToken": []
659
+ }
660
+ ],
661
+ "group": "agency-hosting"
662
+ },
663
+ {
664
+ "name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseV1",
665
+ "description": "Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.\n\nThe operation is idempotent: deleting a database that does not exist succeeds without error.",
666
+ "method": "DELETE",
667
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}",
668
+ "inputSchema": {
669
+ "type": "object",
670
+ "properties": {
671
+ "website_uid": {
672
+ "type": "string",
673
+ "description": "Agency Plan website UID"
674
+ },
675
+ "database_name": {
676
+ "type": "string",
677
+ "description": "Full database name as returned by the list databases endpoint."
678
+ }
679
+ },
680
+ "required": [
681
+ "website_uid",
682
+ "database_name"
683
+ ]
684
+ },
685
+ "security": [
686
+ {
687
+ "apiToken": []
688
+ }
689
+ ],
690
+ "group": "agency-hosting"
691
+ },
692
+ {
693
+ "name": "agency-hosting_createAgencyPlanWebsiteDatabaseUserV1",
694
+ "description": "Creates a user for an existing database on an Agency Plan website.\n\nEach database supports a single non-system user; creating a user for a database that already has one fails.",
695
+ "method": "POST",
696
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users",
697
+ "inputSchema": {
698
+ "type": "object",
699
+ "properties": {
700
+ "website_uid": {
701
+ "type": "string",
702
+ "description": "Agency Plan website UID"
703
+ },
704
+ "database_name": {
705
+ "type": "string",
706
+ "description": "Full database name as returned by the list databases endpoint."
707
+ },
708
+ "database_user": {
709
+ "type": "string",
710
+ "description": "Database username to create (alphanumeric and underscores)."
711
+ },
712
+ "password": {
713
+ "type": "string",
714
+ "description": "Password for the database user (requires mixed case, letters, and numbers)."
715
+ },
716
+ "host": {
717
+ "type": "string",
718
+ "description": "Host the user connects from (IPv4, IPv6, % wildcard, or localhost). Defaults to localhost."
719
+ }
720
+ },
721
+ "required": [
722
+ "website_uid",
723
+ "database_name",
724
+ "database_user",
725
+ "password"
726
+ ]
727
+ },
728
+ "security": [
729
+ {
730
+ "apiToken": []
731
+ }
732
+ ],
733
+ "group": "agency-hosting"
734
+ },
735
+ {
736
+ "name": "agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1",
737
+ "description": "Permanently deletes a database user from an Agency Plan website database, revoking all access it had.\n\nThe operation is idempotent: deleting a user that does not exist succeeds without error.",
738
+ "method": "DELETE",
739
+ "path": "/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}",
740
+ "inputSchema": {
741
+ "type": "object",
742
+ "properties": {
743
+ "website_uid": {
744
+ "type": "string",
745
+ "description": "Agency Plan website UID"
746
+ },
747
+ "database_name": {
748
+ "type": "string",
749
+ "description": "Full database name as returned by the list databases endpoint."
750
+ },
751
+ "database_user_name": {
752
+ "type": "string",
753
+ "description": "Database username as returned by the list databases endpoint."
754
+ }
755
+ },
756
+ "required": [
757
+ "website_uid",
758
+ "database_name",
759
+ "database_user_name"
760
+ ]
761
+ },
762
+ "security": [
763
+ {
764
+ "apiToken": []
765
+ }
766
+ ],
767
+ "group": "agency-hosting"
768
+ },
592
769
  {
593
770
  "name": "agency-hosting_getAgencyPlanWebsiteDetailsV1",
594
771
  "description": "Retrieves detailed information about a specific Agency Plan website, including configuration,\nstatus, metadata, hosting plan details, and resource quotas.",