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.
@@ -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.11.1', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.12.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.11.1', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.12.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '1.11.1', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.12.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '1.11.1', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.12.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.11.1', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.12.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.11.1', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.12.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.11.1', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.12.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.11.1', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.12.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.11.1', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.12.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.11.1', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.12.0', tools });
package/types.d.ts CHANGED
@@ -509,6 +509,129 @@ The operation is idempotent: deleting a cron job that does not exist succeeds wi
509
509
  response: any; // Response structure will depend on the API
510
510
  };
511
511
 
512
+ /**
513
+ * Returns a paginated list of MySQL databases created for an Agency Plan website.
514
+
515
+ Each entry includes the database's non-system users.
516
+ */
517
+ "agency-hosting_listAgencyPlanWebsiteDatabasesV1": {
518
+ params: {
519
+ /**
520
+ * Agency Plan website UID
521
+ */
522
+ website_uid: string;
523
+ /**
524
+ * Page number
525
+ */
526
+ page?: number;
527
+ /**
528
+ * Number of items per page
529
+ */
530
+ per_page?: number;
531
+ };
532
+ response: any; // Response structure will depend on the API
533
+ };
534
+
535
+ /**
536
+ * Creates a MySQL database with a dedicated user for an Agency Plan website.
537
+
538
+ The database name, username, and password must all be provided by the caller.
539
+ */
540
+ "agency-hosting_createAgencyPlanWebsiteDatabaseV1": {
541
+ params: {
542
+ /**
543
+ * Agency Plan website UID
544
+ */
545
+ website_uid: string;
546
+ /**
547
+ * Database name to create (alphanumeric characters).
548
+ */
549
+ database_name: string;
550
+ /**
551
+ * Database username to create alongside the database (alphanumeric characters).
552
+ */
553
+ database_user: string;
554
+ /**
555
+ * Password for the database user (requires mixed case, letters, and numbers).
556
+ */
557
+ password: string;
558
+ };
559
+ response: any; // Response structure will depend on the API
560
+ };
561
+
562
+ /**
563
+ * Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users.
564
+
565
+ The operation is idempotent: deleting a database that does not exist succeeds without error.
566
+ */
567
+ "agency-hosting_deleteAgencyPlanWebsiteDatabaseV1": {
568
+ params: {
569
+ /**
570
+ * Agency Plan website UID
571
+ */
572
+ website_uid: string;
573
+ /**
574
+ * Full database name as returned by the list databases endpoint.
575
+ */
576
+ database_name: string;
577
+ };
578
+ response: any; // Response structure will depend on the API
579
+ };
580
+
581
+ /**
582
+ * Creates a user for an existing database on an Agency Plan website.
583
+
584
+ Each database supports a single non-system user; creating a user for a database that already has one fails.
585
+ */
586
+ "agency-hosting_createAgencyPlanWebsiteDatabaseUserV1": {
587
+ params: {
588
+ /**
589
+ * Agency Plan website UID
590
+ */
591
+ website_uid: string;
592
+ /**
593
+ * Full database name as returned by the list databases endpoint.
594
+ */
595
+ database_name: string;
596
+ /**
597
+ * Database username to create (alphanumeric and underscores).
598
+ */
599
+ database_user: string;
600
+ /**
601
+ * Password for the database user (requires mixed case, letters, and numbers).
602
+ */
603
+ password: string;
604
+ /**
605
+ * Host the user connects from (IPv4, IPv6, % wildcard, or localhost). Defaults to localhost.
606
+ */
607
+ host?: string;
608
+ };
609
+ response: any; // Response structure will depend on the API
610
+ };
611
+
612
+ /**
613
+ * Permanently deletes a database user from an Agency Plan website database, revoking all access it had.
614
+
615
+ The operation is idempotent: deleting a user that does not exist succeeds without error.
616
+ */
617
+ "agency-hosting_deleteAgencyPlanWebsiteDatabaseUserV1": {
618
+ params: {
619
+ /**
620
+ * Agency Plan website UID
621
+ */
622
+ website_uid: string;
623
+ /**
624
+ * Full database name as returned by the list databases endpoint.
625
+ */
626
+ database_name: string;
627
+ /**
628
+ * Database username as returned by the list databases endpoint.
629
+ */
630
+ database_user_name: string;
631
+ };
632
+ response: any; // Response structure will depend on the API
633
+ };
634
+
512
635
  /**
513
636
  * Retrieves detailed information about a specific Agency Plan website, including configuration,
514
637
  status, metadata, hosting plan details, and resource quotas.
@@ -2639,6 +2762,39 @@ complete. The response returns before the removal finishes.
2639
2762
  response: any; // Response structure will depend on the API
2640
2763
  };
2641
2764
 
2765
+ /**
2766
+ * Retrieve a paginated list of mailboxes belonging to a mail order.
2767
+
2768
+ Use this endpoint to monitor mailboxes of your mail service, including
2769
+ their status, enabled protocols, attached resource counts, and
2770
+ periodically synced usage numbers (usage may lag behind live values).
2771
+ */
2772
+ "mail_getMailboxListV1": {
2773
+ params: {
2774
+ /**
2775
+ * Order resource ID
2776
+ */
2777
+ orderId: string;
2778
+ /**
2779
+ * Filter mailboxes whose email address contains the given string
2780
+ */
2781
+ search?: string;
2782
+ /**
2783
+ * Sort mailboxes by field. Prefix with `-` for descending order.
2784
+ */
2785
+ sort?: string;
2786
+ /**
2787
+ * Page number
2788
+ */
2789
+ page?: number;
2790
+ /**
2791
+ * Number of items per page
2792
+ */
2793
+ per_page?: number;
2794
+ };
2795
+ response: any; // Response structure will depend on the API
2796
+ };
2797
+
2642
2798
  /**
2643
2799
  * Retrieve a paginated list of mail orders associated with your account.
2644
2800