hostinger-api-mcp 1.20.2 → 1.22.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,7 +49,7 @@ 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 (259 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (268 total)
53
53
  - `hostinger-agency-hosting-mcp` — 27 tools for agency-hosting
54
54
  - `hostinger-billing-mcp` — 8 tools for billing
55
55
  - `hostinger-dns-mcp` — 8 tools for dns
@@ -57,7 +57,7 @@ This package installs the following MCP server commands:
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` — 22 tools for mail
60
+ - `hostinger-mail-mcp` — 31 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
@@ -1587,6 +1587,82 @@ are never included; they are returned only when a token is created.
1587
1587
  - **Method**: `GET`
1588
1588
  - **Path**: `/api/mail/v1/api-tokens`
1589
1589
 
1590
+ #### mail_createAutoreplyV1
1591
+
1592
+ Create an automatic reply for the given mailbox. A mailbox can have
1593
+ only one autoreply. Omit `starts_at` to activate the autoreply
1594
+ immediately and omit `ends_at` to keep it active indefinitely.
1595
+
1596
+ - **Method**: `POST`
1597
+ - **Path**: `/api/mail/v1/mailboxes/{mailboxId}/autoreplies`
1598
+
1599
+ #### mail_updateAutoreplyV1
1600
+
1601
+ Replace the autoreply with the given content and schedule. Omitted
1602
+ optional fields are cleared: omit `starts_at` to activate the
1603
+ autoreply immediately and omit `ends_at` to keep it active
1604
+ indefinitely.
1605
+
1606
+ - **Method**: `PUT`
1607
+ - **Path**: `/api/mail/v1/autoreplies/{autoreplyId}`
1608
+
1609
+ #### mail_deleteAutoreplyV1
1610
+
1611
+ Delete the autoreply of a mailbox. The mailbox stops sending
1612
+ automatic replies immediately.
1613
+
1614
+ - **Method**: `DELETE`
1615
+ - **Path**: `/api/mail/v1/autoreplies/{autoreplyId}`
1616
+
1617
+ #### mail_listAutorepliesV1
1618
+
1619
+ Retrieve a paginated list of autoreplies across all mailboxes of a
1620
+ mail order.
1621
+
1622
+ - **Method**: `GET`
1623
+ - **Path**: `/api/mail/v1/orders/{orderId}/autoreplies`
1624
+
1625
+ #### mail_createForwarderV1
1626
+
1627
+ Create a forwarder from the given mailbox to the destination address.
1628
+ The destination receives a confirmation email and forwarding becomes
1629
+ active only after it is confirmed.
1630
+
1631
+ - **Method**: `POST`
1632
+ - **Path**: `/api/mail/v1/mailboxes/{mailboxId}/forwarders`
1633
+
1634
+ #### mail_deleteForwarderV1
1635
+
1636
+ Delete a forwarder. The mailbox stops forwarding messages to the
1637
+ destination address immediately.
1638
+
1639
+ - **Method**: `DELETE`
1640
+ - **Path**: `/api/mail/v1/forwarders/{forwarderId}`
1641
+
1642
+ #### mail_listForwardersV1
1643
+
1644
+ Retrieve a paginated list of forwarders across all mailboxes of a
1645
+ mail order.
1646
+
1647
+ - **Method**: `GET`
1648
+ - **Path**: `/api/mail/v1/orders/{orderId}/forwarders`
1649
+
1650
+ #### mail_resendForwarderConfirmationV1
1651
+
1652
+ Resend the confirmation email to the destination address of an
1653
+ unconfirmed forwarder.
1654
+
1655
+ - **Method**: `POST`
1656
+ - **Path**: `/api/mail/v1/forwarders/{forwarderId}/confirmation/resend`
1657
+
1658
+ #### mail_updateForwarderKeepCopySettingV1
1659
+
1660
+ Enable or disable keeping a copy of forwarded messages in the
1661
+ mailbox.
1662
+
1663
+ - **Method**: `PATCH`
1664
+ - **Path**: `/api/mail/v1/forwarders/{forwarderId}/keep-copy`
1665
+
1590
1666
  #### mail_listAccessLogsV1
1591
1667
 
1592
1668
  Retrieve paginated access logs for the domain attached to the given
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.20.2",
3
+ "version": "1.22.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.20.2",
3
+ "version": "1.22.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.20.2",
9
+ "version": "1.22.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.20.2",
14
+ "version": "1.22.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.18.2
32
+ * Generated from OpenAPI spec version 1.20.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.18.2
55
+ * Generated from OpenAPI spec version 1.20.0
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -4378,6 +4378,296 @@ export default [
4378
4378
  ],
4379
4379
  "group": "mail"
4380
4380
  },
4381
+ {
4382
+ "name": "mail_createAutoreplyV1",
4383
+ "description": "Create an automatic reply for the given mailbox. A mailbox can have\nonly one autoreply. Omit `starts_at` to activate the autoreply\nimmediately and omit `ends_at` to keep it active indefinitely.",
4384
+ "method": "POST",
4385
+ "path": "/api/mail/v1/mailboxes/{mailboxId}/autoreplies",
4386
+ "inputSchema": {
4387
+ "type": "object",
4388
+ "properties": {
4389
+ "mailboxId": {
4390
+ "type": "string",
4391
+ "description": "Mailbox resource ID"
4392
+ },
4393
+ "subject": {
4394
+ "type": "string",
4395
+ "description": "Subject of the automatic reply"
4396
+ },
4397
+ "body": {
4398
+ "type": "string",
4399
+ "description": "Body of the automatic reply"
4400
+ },
4401
+ "display_name": {
4402
+ "type": "string",
4403
+ "description": "Sender display name used for the reply"
4404
+ },
4405
+ "starts_at": {
4406
+ "type": "string",
4407
+ "description": "When the autoreply becomes active. Defaults to now."
4408
+ },
4409
+ "ends_at": {
4410
+ "type": "string",
4411
+ "description": "When the autoreply stops. Omit for an indefinite autoreply."
4412
+ }
4413
+ },
4414
+ "required": [
4415
+ "mailboxId",
4416
+ "subject",
4417
+ "body"
4418
+ ]
4419
+ },
4420
+ "security": [
4421
+ {
4422
+ "apiToken": []
4423
+ }
4424
+ ],
4425
+ "group": "mail"
4426
+ },
4427
+ {
4428
+ "name": "mail_updateAutoreplyV1",
4429
+ "description": "Replace the autoreply with the given content and schedule. Omitted\noptional fields are cleared: omit `starts_at` to activate the\nautoreply immediately and omit `ends_at` to keep it active\nindefinitely.",
4430
+ "method": "PUT",
4431
+ "path": "/api/mail/v1/autoreplies/{autoreplyId}",
4432
+ "inputSchema": {
4433
+ "type": "object",
4434
+ "properties": {
4435
+ "autoreplyId": {
4436
+ "type": "string",
4437
+ "description": "Autoreply resource ID"
4438
+ },
4439
+ "subject": {
4440
+ "type": "string",
4441
+ "description": "Subject of the automatic reply"
4442
+ },
4443
+ "body": {
4444
+ "type": "string",
4445
+ "description": "Body of the automatic reply"
4446
+ },
4447
+ "display_name": {
4448
+ "type": "string",
4449
+ "description": "Sender display name used for the reply"
4450
+ },
4451
+ "starts_at": {
4452
+ "type": "string",
4453
+ "description": "When the autoreply becomes active. Defaults to now."
4454
+ },
4455
+ "ends_at": {
4456
+ "type": "string",
4457
+ "description": "When the autoreply stops. Omit for an indefinite autoreply."
4458
+ }
4459
+ },
4460
+ "required": [
4461
+ "autoreplyId",
4462
+ "subject",
4463
+ "body"
4464
+ ]
4465
+ },
4466
+ "security": [
4467
+ {
4468
+ "apiToken": []
4469
+ }
4470
+ ],
4471
+ "group": "mail"
4472
+ },
4473
+ {
4474
+ "name": "mail_deleteAutoreplyV1",
4475
+ "description": "Delete the autoreply of a mailbox. The mailbox stops sending\nautomatic replies immediately.",
4476
+ "method": "DELETE",
4477
+ "path": "/api/mail/v1/autoreplies/{autoreplyId}",
4478
+ "inputSchema": {
4479
+ "type": "object",
4480
+ "properties": {
4481
+ "autoreplyId": {
4482
+ "type": "string",
4483
+ "description": "Autoreply resource ID"
4484
+ }
4485
+ },
4486
+ "required": [
4487
+ "autoreplyId"
4488
+ ]
4489
+ },
4490
+ "security": [
4491
+ {
4492
+ "apiToken": []
4493
+ }
4494
+ ],
4495
+ "group": "mail"
4496
+ },
4497
+ {
4498
+ "name": "mail_listAutorepliesV1",
4499
+ "description": "Retrieve a paginated list of autoreplies across all mailboxes of a\nmail order.",
4500
+ "method": "GET",
4501
+ "path": "/api/mail/v1/orders/{orderId}/autoreplies",
4502
+ "inputSchema": {
4503
+ "type": "object",
4504
+ "properties": {
4505
+ "orderId": {
4506
+ "type": "string",
4507
+ "description": "Order resource ID"
4508
+ },
4509
+ "page": {
4510
+ "type": "integer",
4511
+ "description": "Page number"
4512
+ },
4513
+ "per_page": {
4514
+ "type": "integer",
4515
+ "description": "Number of items per page"
4516
+ }
4517
+ },
4518
+ "required": [
4519
+ "orderId"
4520
+ ]
4521
+ },
4522
+ "security": [
4523
+ {
4524
+ "apiToken": []
4525
+ }
4526
+ ],
4527
+ "group": "mail"
4528
+ },
4529
+ {
4530
+ "name": "mail_createForwarderV1",
4531
+ "description": "Create a forwarder from the given mailbox to the destination address.\nThe destination receives a confirmation email and forwarding becomes\nactive only after it is confirmed.",
4532
+ "method": "POST",
4533
+ "path": "/api/mail/v1/mailboxes/{mailboxId}/forwarders",
4534
+ "inputSchema": {
4535
+ "type": "object",
4536
+ "properties": {
4537
+ "mailboxId": {
4538
+ "type": "string",
4539
+ "description": "Mailbox resource ID"
4540
+ },
4541
+ "destination": {
4542
+ "type": "string",
4543
+ "description": "Email address the messages will be forwarded to"
4544
+ },
4545
+ "is_keep_copy_enabled": {
4546
+ "type": "boolean",
4547
+ "description": "Whether to keep a copy of forwarded messages in the mailbox. Defaults to false."
4548
+ }
4549
+ },
4550
+ "required": [
4551
+ "mailboxId",
4552
+ "destination"
4553
+ ]
4554
+ },
4555
+ "security": [
4556
+ {
4557
+ "apiToken": []
4558
+ }
4559
+ ],
4560
+ "group": "mail"
4561
+ },
4562
+ {
4563
+ "name": "mail_deleteForwarderV1",
4564
+ "description": "Delete a forwarder. The mailbox stops forwarding messages to the\ndestination address immediately.",
4565
+ "method": "DELETE",
4566
+ "path": "/api/mail/v1/forwarders/{forwarderId}",
4567
+ "inputSchema": {
4568
+ "type": "object",
4569
+ "properties": {
4570
+ "forwarderId": {
4571
+ "type": "string",
4572
+ "description": "Forwarder resource ID"
4573
+ }
4574
+ },
4575
+ "required": [
4576
+ "forwarderId"
4577
+ ]
4578
+ },
4579
+ "security": [
4580
+ {
4581
+ "apiToken": []
4582
+ }
4583
+ ],
4584
+ "group": "mail"
4585
+ },
4586
+ {
4587
+ "name": "mail_listForwardersV1",
4588
+ "description": "Retrieve a paginated list of forwarders across all mailboxes of a\nmail order.",
4589
+ "method": "GET",
4590
+ "path": "/api/mail/v1/orders/{orderId}/forwarders",
4591
+ "inputSchema": {
4592
+ "type": "object",
4593
+ "properties": {
4594
+ "orderId": {
4595
+ "type": "string",
4596
+ "description": "Order resource ID"
4597
+ },
4598
+ "page": {
4599
+ "type": "integer",
4600
+ "description": "Page number"
4601
+ },
4602
+ "per_page": {
4603
+ "type": "integer",
4604
+ "description": "Number of items per page"
4605
+ }
4606
+ },
4607
+ "required": [
4608
+ "orderId"
4609
+ ]
4610
+ },
4611
+ "security": [
4612
+ {
4613
+ "apiToken": []
4614
+ }
4615
+ ],
4616
+ "group": "mail"
4617
+ },
4618
+ {
4619
+ "name": "mail_resendForwarderConfirmationV1",
4620
+ "description": "Resend the confirmation email to the destination address of an\nunconfirmed forwarder.",
4621
+ "method": "POST",
4622
+ "path": "/api/mail/v1/forwarders/{forwarderId}/confirmation/resend",
4623
+ "inputSchema": {
4624
+ "type": "object",
4625
+ "properties": {
4626
+ "forwarderId": {
4627
+ "type": "string",
4628
+ "description": "Forwarder resource ID"
4629
+ }
4630
+ },
4631
+ "required": [
4632
+ "forwarderId"
4633
+ ]
4634
+ },
4635
+ "security": [
4636
+ {
4637
+ "apiToken": []
4638
+ }
4639
+ ],
4640
+ "group": "mail"
4641
+ },
4642
+ {
4643
+ "name": "mail_updateForwarderKeepCopySettingV1",
4644
+ "description": "Enable or disable keeping a copy of forwarded messages in the\nmailbox.",
4645
+ "method": "PATCH",
4646
+ "path": "/api/mail/v1/forwarders/{forwarderId}/keep-copy",
4647
+ "inputSchema": {
4648
+ "type": "object",
4649
+ "properties": {
4650
+ "forwarderId": {
4651
+ "type": "string",
4652
+ "description": "Forwarder resource ID"
4653
+ },
4654
+ "is_keep_copy_enabled": {
4655
+ "type": "boolean",
4656
+ "description": "Whether to keep a copy of forwarded messages in the mailbox"
4657
+ }
4658
+ },
4659
+ "required": [
4660
+ "forwarderId",
4661
+ "is_keep_copy_enabled"
4662
+ ]
4663
+ },
4664
+ "security": [
4665
+ {
4666
+ "apiToken": []
4667
+ }
4668
+ ],
4669
+ "group": "mail"
4670
+ },
4381
4671
  {
4382
4672
  "name": "mail_listAccessLogsV1",
4383
4673
  "description": "Retrieve paginated access logs for the domain attached to the given\nmail order. Supports filtering by account, date range, protocol,\nstatus, and deletion flag. Results are sorted by timestamp descending.",