hostinger-api-mcp 1.14.1 → 1.16.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 +52 -4
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +317 -2
- package/src/core/tools/all.ts +317 -2
- package/src/core/tools/mail.js +317 -2
- package/src/core/tools/mail.ts +317 -2
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +244 -2
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 (
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (246 total)
|
|
53
53
|
- `hostinger-agency-hosting-mcp` — 26 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` —
|
|
60
|
+
- `hostinger-mail-mcp` — 10 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
|
|
@@ -1547,7 +1547,55 @@ complete. The response returns before the removal finishes.
|
|
|
1547
1547
|
|
|
1548
1548
|
### `hostinger-mail-mcp`
|
|
1549
1549
|
|
|
1550
|
-
####
|
|
1550
|
+
#### mail_listAccessLogsV1
|
|
1551
|
+
|
|
1552
|
+
Retrieve paginated access logs for the domain attached to the given
|
|
1553
|
+
mail order. Supports filtering by account, date range, protocol,
|
|
1554
|
+
status, and deletion flag. Results are sorted by timestamp descending.
|
|
1555
|
+
|
|
1556
|
+
- **Method**: `GET`
|
|
1557
|
+
- **Path**: `/api/mail/v1/orders/{orderId}/logs/access`
|
|
1558
|
+
|
|
1559
|
+
#### mail_listActionLogsV1
|
|
1560
|
+
|
|
1561
|
+
Retrieve paginated account action logs (administrative and user
|
|
1562
|
+
actions) for the given mail order. Supports filtering by account,
|
|
1563
|
+
date range, and status. Results are sorted by timestamp descending.
|
|
1564
|
+
|
|
1565
|
+
- **Method**: `GET`
|
|
1566
|
+
- **Path**: `/api/mail/v1/orders/{orderId}/logs/action`
|
|
1567
|
+
|
|
1568
|
+
#### mail_listInboundLogsV1
|
|
1569
|
+
|
|
1570
|
+
Retrieve paginated inbound (received mail) delivery logs for the
|
|
1571
|
+
domain attached to the given mail order. Supports filtering by
|
|
1572
|
+
account, date range, status, sender, and recipient. Results are
|
|
1573
|
+
sorted by timestamp descending.
|
|
1574
|
+
|
|
1575
|
+
- **Method**: `GET`
|
|
1576
|
+
- **Path**: `/api/mail/v1/orders/{orderId}/logs/inbound`
|
|
1577
|
+
|
|
1578
|
+
#### mail_listMailboxActionLogsV1
|
|
1579
|
+
|
|
1580
|
+
Retrieve paginated mailbox action logs (message and mailbox events)
|
|
1581
|
+
for a mailbox in the given mail order. The mailbox email must belong
|
|
1582
|
+
to the order's domain. Supports date range and event type filters.
|
|
1583
|
+
Results are sorted by timestamp descending.
|
|
1584
|
+
|
|
1585
|
+
- **Method**: `GET`
|
|
1586
|
+
- **Path**: `/api/mail/v1/orders/{orderId}/logs/mailbox-actions`
|
|
1587
|
+
|
|
1588
|
+
#### mail_listOutboundLogsV1
|
|
1589
|
+
|
|
1590
|
+
Retrieve paginated outbound (sent mail) delivery logs for the domain
|
|
1591
|
+
attached to the given mail order. Supports filtering by account, date
|
|
1592
|
+
range, status, sender, and recipient. Results are sorted by timestamp
|
|
1593
|
+
descending.
|
|
1594
|
+
|
|
1595
|
+
- **Method**: `GET`
|
|
1596
|
+
- **Path**: `/api/mail/v1/orders/{orderId}/logs/outbound`
|
|
1597
|
+
|
|
1598
|
+
#### mail_listMailboxesV1
|
|
1551
1599
|
|
|
1552
1600
|
Retrieve a paginated list of mailboxes belonging to a mail order.
|
|
1553
1601
|
|
|
@@ -1581,7 +1629,7 @@ Change the password of a mailbox.
|
|
|
1581
1629
|
- **Method**: `PATCH`
|
|
1582
1630
|
- **Path**: `/api/mail/v1/mailboxes/{mailboxId}/password`
|
|
1583
1631
|
|
|
1584
|
-
####
|
|
1632
|
+
#### mail_listOrdersV1
|
|
1585
1633
|
|
|
1586
1634
|
Retrieve a paginated list of mail orders associated with your account.
|
|
1587
1635
|
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
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.
|
|
9
|
+
"version": "1.16.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.16.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
package/src/core/tools/all.js
CHANGED
|
@@ -4248,7 +4248,322 @@ export default [
|
|
|
4248
4248
|
"group": "hosting"
|
|
4249
4249
|
},
|
|
4250
4250
|
{
|
|
4251
|
-
"name": "
|
|
4251
|
+
"name": "mail_listAccessLogsV1",
|
|
4252
|
+
"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.",
|
|
4253
|
+
"method": "GET",
|
|
4254
|
+
"path": "/api/mail/v1/orders/{orderId}/logs/access",
|
|
4255
|
+
"inputSchema": {
|
|
4256
|
+
"type": "object",
|
|
4257
|
+
"properties": {
|
|
4258
|
+
"orderId": {
|
|
4259
|
+
"type": "string",
|
|
4260
|
+
"description": "Order resource ID"
|
|
4261
|
+
},
|
|
4262
|
+
"account": {
|
|
4263
|
+
"type": "string",
|
|
4264
|
+
"description": "Filter log entries by a specific email account"
|
|
4265
|
+
},
|
|
4266
|
+
"date": {
|
|
4267
|
+
"type": "string",
|
|
4268
|
+
"description": "Exact date filter (YYYY-MM-DD). Takes precedence over `from_date`/`to_date` when both are given."
|
|
4269
|
+
},
|
|
4270
|
+
"from_date": {
|
|
4271
|
+
"type": "string",
|
|
4272
|
+
"description": "Date range start (RFC 3339)"
|
|
4273
|
+
},
|
|
4274
|
+
"to_date": {
|
|
4275
|
+
"type": "string",
|
|
4276
|
+
"description": "Date range end (RFC 3339)"
|
|
4277
|
+
},
|
|
4278
|
+
"status": {
|
|
4279
|
+
"type": "string",
|
|
4280
|
+
"description": "Filter log entries by status",
|
|
4281
|
+
"enum": [
|
|
4282
|
+
"Successful",
|
|
4283
|
+
"Failed"
|
|
4284
|
+
]
|
|
4285
|
+
},
|
|
4286
|
+
"protocol": {
|
|
4287
|
+
"type": "string",
|
|
4288
|
+
"description": "Filter access log entries by protocol",
|
|
4289
|
+
"enum": [
|
|
4290
|
+
"imap",
|
|
4291
|
+
"pop3",
|
|
4292
|
+
"smtp"
|
|
4293
|
+
]
|
|
4294
|
+
},
|
|
4295
|
+
"has_deletions": {
|
|
4296
|
+
"type": "boolean",
|
|
4297
|
+
"description": "Filter access log entries by whether the session had deletions"
|
|
4298
|
+
},
|
|
4299
|
+
"page": {
|
|
4300
|
+
"type": "integer",
|
|
4301
|
+
"description": "Page number"
|
|
4302
|
+
},
|
|
4303
|
+
"per_page": {
|
|
4304
|
+
"type": "integer",
|
|
4305
|
+
"description": "Number of items per page"
|
|
4306
|
+
}
|
|
4307
|
+
},
|
|
4308
|
+
"required": [
|
|
4309
|
+
"orderId"
|
|
4310
|
+
]
|
|
4311
|
+
},
|
|
4312
|
+
"security": [
|
|
4313
|
+
{
|
|
4314
|
+
"apiToken": []
|
|
4315
|
+
}
|
|
4316
|
+
],
|
|
4317
|
+
"group": "mail"
|
|
4318
|
+
},
|
|
4319
|
+
{
|
|
4320
|
+
"name": "mail_listActionLogsV1",
|
|
4321
|
+
"description": "Retrieve paginated account action logs (administrative and user\nactions) for the given mail order. Supports filtering by account,\ndate range, and status. Results are sorted by timestamp descending.",
|
|
4322
|
+
"method": "GET",
|
|
4323
|
+
"path": "/api/mail/v1/orders/{orderId}/logs/action",
|
|
4324
|
+
"inputSchema": {
|
|
4325
|
+
"type": "object",
|
|
4326
|
+
"properties": {
|
|
4327
|
+
"orderId": {
|
|
4328
|
+
"type": "string",
|
|
4329
|
+
"description": "Order resource ID"
|
|
4330
|
+
},
|
|
4331
|
+
"account": {
|
|
4332
|
+
"type": "string",
|
|
4333
|
+
"description": "Filter log entries by a specific email account"
|
|
4334
|
+
},
|
|
4335
|
+
"date": {
|
|
4336
|
+
"type": "string",
|
|
4337
|
+
"description": "Exact date filter (YYYY-MM-DD). Takes precedence over `from_date`/`to_date` when both are given."
|
|
4338
|
+
},
|
|
4339
|
+
"from_date": {
|
|
4340
|
+
"type": "string",
|
|
4341
|
+
"description": "Date range start (RFC 3339)"
|
|
4342
|
+
},
|
|
4343
|
+
"to_date": {
|
|
4344
|
+
"type": "string",
|
|
4345
|
+
"description": "Date range end (RFC 3339)"
|
|
4346
|
+
},
|
|
4347
|
+
"status": {
|
|
4348
|
+
"type": "string",
|
|
4349
|
+
"description": "Filter log entries by status",
|
|
4350
|
+
"enum": [
|
|
4351
|
+
"Successful",
|
|
4352
|
+
"Failed"
|
|
4353
|
+
]
|
|
4354
|
+
},
|
|
4355
|
+
"page": {
|
|
4356
|
+
"type": "integer",
|
|
4357
|
+
"description": "Page number"
|
|
4358
|
+
},
|
|
4359
|
+
"per_page": {
|
|
4360
|
+
"type": "integer",
|
|
4361
|
+
"description": "Number of items per page"
|
|
4362
|
+
}
|
|
4363
|
+
},
|
|
4364
|
+
"required": [
|
|
4365
|
+
"orderId"
|
|
4366
|
+
]
|
|
4367
|
+
},
|
|
4368
|
+
"security": [
|
|
4369
|
+
{
|
|
4370
|
+
"apiToken": []
|
|
4371
|
+
}
|
|
4372
|
+
],
|
|
4373
|
+
"group": "mail"
|
|
4374
|
+
},
|
|
4375
|
+
{
|
|
4376
|
+
"name": "mail_listInboundLogsV1",
|
|
4377
|
+
"description": "Retrieve paginated inbound (received mail) delivery logs for the\ndomain attached to the given mail order. Supports filtering by\naccount, date range, status, sender, and recipient. Results are\nsorted by timestamp descending.",
|
|
4378
|
+
"method": "GET",
|
|
4379
|
+
"path": "/api/mail/v1/orders/{orderId}/logs/inbound",
|
|
4380
|
+
"inputSchema": {
|
|
4381
|
+
"type": "object",
|
|
4382
|
+
"properties": {
|
|
4383
|
+
"orderId": {
|
|
4384
|
+
"type": "string",
|
|
4385
|
+
"description": "Order resource ID"
|
|
4386
|
+
},
|
|
4387
|
+
"account": {
|
|
4388
|
+
"type": "string",
|
|
4389
|
+
"description": "Filter log entries by a specific email account"
|
|
4390
|
+
},
|
|
4391
|
+
"date": {
|
|
4392
|
+
"type": "string",
|
|
4393
|
+
"description": "Exact date filter (YYYY-MM-DD). Takes precedence over `from_date`/`to_date` when both are given."
|
|
4394
|
+
},
|
|
4395
|
+
"from_date": {
|
|
4396
|
+
"type": "string",
|
|
4397
|
+
"description": "Date range start (RFC 3339)"
|
|
4398
|
+
},
|
|
4399
|
+
"to_date": {
|
|
4400
|
+
"type": "string",
|
|
4401
|
+
"description": "Date range end (RFC 3339)"
|
|
4402
|
+
},
|
|
4403
|
+
"status": {
|
|
4404
|
+
"type": "string",
|
|
4405
|
+
"description": "Filter log entries by status",
|
|
4406
|
+
"enum": [
|
|
4407
|
+
"Successful",
|
|
4408
|
+
"Failed"
|
|
4409
|
+
]
|
|
4410
|
+
},
|
|
4411
|
+
"sender": {
|
|
4412
|
+
"type": "string",
|
|
4413
|
+
"description": "Filter log entries by sender. Accepts a full email address or a domain."
|
|
4414
|
+
},
|
|
4415
|
+
"recipient": {
|
|
4416
|
+
"type": "string",
|
|
4417
|
+
"description": "Filter log entries by recipient. Accepts a full email address or a domain."
|
|
4418
|
+
},
|
|
4419
|
+
"page": {
|
|
4420
|
+
"type": "integer",
|
|
4421
|
+
"description": "Page number"
|
|
4422
|
+
},
|
|
4423
|
+
"per_page": {
|
|
4424
|
+
"type": "integer",
|
|
4425
|
+
"description": "Number of items per page"
|
|
4426
|
+
}
|
|
4427
|
+
},
|
|
4428
|
+
"required": [
|
|
4429
|
+
"orderId"
|
|
4430
|
+
]
|
|
4431
|
+
},
|
|
4432
|
+
"security": [
|
|
4433
|
+
{
|
|
4434
|
+
"apiToken": []
|
|
4435
|
+
}
|
|
4436
|
+
],
|
|
4437
|
+
"group": "mail"
|
|
4438
|
+
},
|
|
4439
|
+
{
|
|
4440
|
+
"name": "mail_listMailboxActionLogsV1",
|
|
4441
|
+
"description": "Retrieve paginated mailbox action logs (message and mailbox events)\nfor a mailbox in the given mail order. The mailbox email must belong\nto the order's domain. Supports date range and event type filters.\nResults are sorted by timestamp descending.",
|
|
4442
|
+
"method": "GET",
|
|
4443
|
+
"path": "/api/mail/v1/orders/{orderId}/logs/mailbox-actions",
|
|
4444
|
+
"inputSchema": {
|
|
4445
|
+
"type": "object",
|
|
4446
|
+
"properties": {
|
|
4447
|
+
"orderId": {
|
|
4448
|
+
"type": "string",
|
|
4449
|
+
"description": "Order resource ID"
|
|
4450
|
+
},
|
|
4451
|
+
"email": {
|
|
4452
|
+
"type": "string",
|
|
4453
|
+
"description": "Mailbox email address. Must belong to the order's domain."
|
|
4454
|
+
},
|
|
4455
|
+
"date": {
|
|
4456
|
+
"type": "string",
|
|
4457
|
+
"description": "Exact date filter (YYYY-MM-DD). Takes precedence over `from_date`/`to_date` when both are given."
|
|
4458
|
+
},
|
|
4459
|
+
"from_date": {
|
|
4460
|
+
"type": "string",
|
|
4461
|
+
"description": "Date range start (RFC 3339)"
|
|
4462
|
+
},
|
|
4463
|
+
"to_date": {
|
|
4464
|
+
"type": "string",
|
|
4465
|
+
"description": "Date range end (RFC 3339)"
|
|
4466
|
+
},
|
|
4467
|
+
"event": {
|
|
4468
|
+
"type": "string",
|
|
4469
|
+
"description": "Filter mailbox action log entries by event type",
|
|
4470
|
+
"enum": [
|
|
4471
|
+
"MessageNew",
|
|
4472
|
+
"MessageRead",
|
|
4473
|
+
"MessageAppend",
|
|
4474
|
+
"MessageExpunge",
|
|
4475
|
+
"MailboxCreate",
|
|
4476
|
+
"MailboxDelete",
|
|
4477
|
+
"MailboxRename"
|
|
4478
|
+
]
|
|
4479
|
+
},
|
|
4480
|
+
"page": {
|
|
4481
|
+
"type": "integer",
|
|
4482
|
+
"description": "Page number"
|
|
4483
|
+
},
|
|
4484
|
+
"per_page": {
|
|
4485
|
+
"type": "integer",
|
|
4486
|
+
"description": "Number of items per page"
|
|
4487
|
+
}
|
|
4488
|
+
},
|
|
4489
|
+
"required": [
|
|
4490
|
+
"orderId",
|
|
4491
|
+
"email"
|
|
4492
|
+
]
|
|
4493
|
+
},
|
|
4494
|
+
"security": [
|
|
4495
|
+
{
|
|
4496
|
+
"apiToken": []
|
|
4497
|
+
}
|
|
4498
|
+
],
|
|
4499
|
+
"group": "mail"
|
|
4500
|
+
},
|
|
4501
|
+
{
|
|
4502
|
+
"name": "mail_listOutboundLogsV1",
|
|
4503
|
+
"description": "Retrieve paginated outbound (sent mail) delivery logs for the domain\nattached to the given mail order. Supports filtering by account, date\nrange, status, sender, and recipient. Results are sorted by timestamp\ndescending.",
|
|
4504
|
+
"method": "GET",
|
|
4505
|
+
"path": "/api/mail/v1/orders/{orderId}/logs/outbound",
|
|
4506
|
+
"inputSchema": {
|
|
4507
|
+
"type": "object",
|
|
4508
|
+
"properties": {
|
|
4509
|
+
"orderId": {
|
|
4510
|
+
"type": "string",
|
|
4511
|
+
"description": "Order resource ID"
|
|
4512
|
+
},
|
|
4513
|
+
"account": {
|
|
4514
|
+
"type": "string",
|
|
4515
|
+
"description": "Filter log entries by a specific email account"
|
|
4516
|
+
},
|
|
4517
|
+
"date": {
|
|
4518
|
+
"type": "string",
|
|
4519
|
+
"description": "Exact date filter (YYYY-MM-DD). Takes precedence over `from_date`/`to_date` when both are given."
|
|
4520
|
+
},
|
|
4521
|
+
"from_date": {
|
|
4522
|
+
"type": "string",
|
|
4523
|
+
"description": "Date range start (RFC 3339)"
|
|
4524
|
+
},
|
|
4525
|
+
"to_date": {
|
|
4526
|
+
"type": "string",
|
|
4527
|
+
"description": "Date range end (RFC 3339)"
|
|
4528
|
+
},
|
|
4529
|
+
"status": {
|
|
4530
|
+
"type": "string",
|
|
4531
|
+
"description": "Filter log entries by status",
|
|
4532
|
+
"enum": [
|
|
4533
|
+
"Successful",
|
|
4534
|
+
"Failed"
|
|
4535
|
+
]
|
|
4536
|
+
},
|
|
4537
|
+
"sender": {
|
|
4538
|
+
"type": "string",
|
|
4539
|
+
"description": "Filter log entries by sender. Accepts a full email address or a domain."
|
|
4540
|
+
},
|
|
4541
|
+
"recipient": {
|
|
4542
|
+
"type": "string",
|
|
4543
|
+
"description": "Filter log entries by recipient. Accepts a full email address or a domain."
|
|
4544
|
+
},
|
|
4545
|
+
"page": {
|
|
4546
|
+
"type": "integer",
|
|
4547
|
+
"description": "Page number"
|
|
4548
|
+
},
|
|
4549
|
+
"per_page": {
|
|
4550
|
+
"type": "integer",
|
|
4551
|
+
"description": "Number of items per page"
|
|
4552
|
+
}
|
|
4553
|
+
},
|
|
4554
|
+
"required": [
|
|
4555
|
+
"orderId"
|
|
4556
|
+
]
|
|
4557
|
+
},
|
|
4558
|
+
"security": [
|
|
4559
|
+
{
|
|
4560
|
+
"apiToken": []
|
|
4561
|
+
}
|
|
4562
|
+
],
|
|
4563
|
+
"group": "mail"
|
|
4564
|
+
},
|
|
4565
|
+
{
|
|
4566
|
+
"name": "mail_listMailboxesV1",
|
|
4252
4567
|
"description": "Retrieve a paginated list of mailboxes belonging to a mail order.\n\nUse this endpoint to monitor mailboxes of your mail service, including\ntheir status, enabled protocols, attached resource counts, and\nperiodically synced usage numbers (usage may lag behind live values).",
|
|
4253
4568
|
"method": "GET",
|
|
4254
4569
|
"path": "/api/mail/v1/orders/{orderId}/mailboxes",
|
|
@@ -4379,7 +4694,7 @@ export default [
|
|
|
4379
4694
|
"group": "mail"
|
|
4380
4695
|
},
|
|
4381
4696
|
{
|
|
4382
|
-
"name": "
|
|
4697
|
+
"name": "mail_listOrdersV1",
|
|
4383
4698
|
"description": "Retrieve a paginated list of mail orders associated with your account.\n\nUse this endpoint to monitor your mail services, including their status,\nplan, attached domain, and expiration details.",
|
|
4384
4699
|
"method": "GET",
|
|
4385
4700
|
"path": "/api/mail/v1/orders",
|