hostinger-api-mcp 0.2.18 → 0.2.20

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.
@@ -257,6 +257,122 @@ export default [
257
257
  "handlerMethod": "handleShowJsDeploymentLogs",
258
258
  "group": "hosting"
259
259
  },
260
+ {
261
+ "name": "hosting_listAccountCronJobsV1",
262
+ "description": "Returns the list of cron jobs configured for the specified account, including their schedule and command.",
263
+ "method": "GET",
264
+ "path": "/api/hosting/v1/accounts/{username}/cron-jobs",
265
+ "inputSchema": {
266
+ "type": "object",
267
+ "properties": {
268
+ "username": {
269
+ "type": "string",
270
+ "description": "username parameter"
271
+ }
272
+ },
273
+ "required": [
274
+ "username"
275
+ ]
276
+ },
277
+ "security": [
278
+ {
279
+ "apiToken": []
280
+ }
281
+ ],
282
+ "group": "hosting"
283
+ },
284
+ {
285
+ "name": "hosting_createAccountCronJobV1",
286
+ "description": "Creates a cron job for the specified account from a schedule expression and a command.\n\nReturns the created cron job, including its uid, which is required to delete the cron job or fetch its output.",
287
+ "method": "POST",
288
+ "path": "/api/hosting/v1/accounts/{username}/cron-jobs",
289
+ "inputSchema": {
290
+ "type": "object",
291
+ "properties": {
292
+ "username": {
293
+ "type": "string",
294
+ "description": "username parameter"
295
+ },
296
+ "time": {
297
+ "type": "string",
298
+ "description": "Cron schedule expression (for example \"0 2 * * *\" runs daily at 02:00)."
299
+ },
300
+ "command": {
301
+ "type": "string",
302
+ "description": "Command to execute on the schedule."
303
+ }
304
+ },
305
+ "required": [
306
+ "username",
307
+ "time",
308
+ "command"
309
+ ]
310
+ },
311
+ "security": [
312
+ {
313
+ "apiToken": []
314
+ }
315
+ ],
316
+ "group": "hosting"
317
+ },
318
+ {
319
+ "name": "hosting_deleteAccountCronJobV1",
320
+ "description": "Permanently deletes the cron job identified by its uid.\n\nThe uid is returned by the list cron jobs endpoint.",
321
+ "method": "DELETE",
322
+ "path": "/api/hosting/v1/accounts/{username}/cron-jobs/{uid}",
323
+ "inputSchema": {
324
+ "type": "object",
325
+ "properties": {
326
+ "username": {
327
+ "type": "string",
328
+ "description": "username parameter"
329
+ },
330
+ "uid": {
331
+ "type": "string",
332
+ "description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
333
+ }
334
+ },
335
+ "required": [
336
+ "username",
337
+ "uid"
338
+ ]
339
+ },
340
+ "security": [
341
+ {
342
+ "apiToken": []
343
+ }
344
+ ],
345
+ "group": "hosting"
346
+ },
347
+ {
348
+ "name": "hosting_getCronJobOutputV1",
349
+ "description": "Returns the output captured from the last execution of the cron job identified by its uid.\n\nThe uid is returned by the list cron jobs endpoint.",
350
+ "method": "GET",
351
+ "path": "/api/hosting/v1/accounts/{username}/cron-jobs/{uid}/output",
352
+ "inputSchema": {
353
+ "type": "object",
354
+ "properties": {
355
+ "username": {
356
+ "type": "string",
357
+ "description": "username parameter"
358
+ },
359
+ "uid": {
360
+ "type": "string",
361
+ "description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
362
+ }
363
+ },
364
+ "required": [
365
+ "username",
366
+ "uid"
367
+ ]
368
+ },
369
+ "security": [
370
+ {
371
+ "apiToken": []
372
+ }
373
+ ],
374
+ "group": "hosting"
375
+ },
260
376
  {
261
377
  "name": "hosting_changeDatabasePasswordV1",
262
378
  "description": "Changes the password for the specified database user.\n\nThe database name must be the full name returned by the list databases endpoint.\nThe password must also be updated in any website configuration that uses this database.",
@@ -408,6 +524,102 @@ export default [
408
524
  ],
409
525
  "group": "hosting"
410
526
  },
527
+ {
528
+ "name": "hosting_createAccountDatabaseRemoteConnectionV1",
529
+ "description": "Allows a remote host to connect to the specified database.\n\nProvide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be\nthe full name returned by the list databases endpoint.",
530
+ "method": "POST",
531
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
532
+ "inputSchema": {
533
+ "type": "object",
534
+ "properties": {
535
+ "username": {
536
+ "type": "string",
537
+ "description": "username parameter"
538
+ },
539
+ "name": {
540
+ "type": "string",
541
+ "description": "Full database name as returned by the list databases endpoint."
542
+ },
543
+ "ip": {
544
+ "type": "string",
545
+ "description": "Remote host to allow: an IPv4/IPv6 address, or \"%\" for any host."
546
+ }
547
+ },
548
+ "required": [
549
+ "username",
550
+ "name",
551
+ "ip"
552
+ ]
553
+ },
554
+ "security": [
555
+ {
556
+ "apiToken": []
557
+ }
558
+ ],
559
+ "group": "hosting"
560
+ },
561
+ {
562
+ "name": "hosting_deleteAccountDatabaseRemoteConnectionV1",
563
+ "description": "Permanently removes a remote-access rule, revoking the given host's remote access to the database.\n\nIdentify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint). The database name must be\nthe full name returned by the list databases endpoint.",
564
+ "method": "DELETE",
565
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
566
+ "inputSchema": {
567
+ "type": "object",
568
+ "properties": {
569
+ "username": {
570
+ "type": "string",
571
+ "description": "username parameter"
572
+ },
573
+ "name": {
574
+ "type": "string",
575
+ "description": "Full database name as returned by the list databases endpoint."
576
+ },
577
+ "ip": {
578
+ "type": "string",
579
+ "description": "Remote host to revoke: the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint."
580
+ }
581
+ },
582
+ "required": [
583
+ "username",
584
+ "name",
585
+ "ip"
586
+ ]
587
+ },
588
+ "security": [
589
+ {
590
+ "apiToken": []
591
+ }
592
+ ],
593
+ "group": "hosting"
594
+ },
595
+ {
596
+ "name": "hosting_listAccountDatabaseRemoteConnectionsV1",
597
+ "description": "Returns the remote-access rules for the specified account: the remote hosts\n(IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases.\n\nUse the domain filter to only return rules for databases assigned to a specific domain.",
598
+ "method": "GET",
599
+ "path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
600
+ "inputSchema": {
601
+ "type": "object",
602
+ "properties": {
603
+ "username": {
604
+ "type": "string",
605
+ "description": "username parameter"
606
+ },
607
+ "domain": {
608
+ "type": "string",
609
+ "description": "Filter remote connections by the domain the database is assigned to.\nRules for databases not assigned to any domain are always included."
610
+ }
611
+ },
612
+ "required": [
613
+ "username"
614
+ ]
615
+ },
616
+ "security": [
617
+ {
618
+ "apiToken": []
619
+ }
620
+ ],
621
+ "group": "hosting"
622
+ },
411
623
  {
412
624
  "name": "hosting_repairDatabaseV1",
413
625
  "description": "Repairs corrupted database tables asynchronously.\n\nUse when database errors, crashes, or corruption are reported.\nThe database name must be the full name returned by the list databases endpoint.",
@@ -267,6 +267,122 @@ const tools: OpenApiTool[] = [
267
267
  "handlerMethod": "handleShowJsDeploymentLogs",
268
268
  "group": "hosting"
269
269
  },
270
+ {
271
+ "name": "hosting_listAccountCronJobsV1",
272
+ "description": "Returns the list of cron jobs configured for the specified account, including their schedule and command.",
273
+ "method": "GET",
274
+ "path": "/api/hosting/v1/accounts/{username}/cron-jobs",
275
+ "inputSchema": {
276
+ "type": "object",
277
+ "properties": {
278
+ "username": {
279
+ "type": "string",
280
+ "description": "username parameter"
281
+ }
282
+ },
283
+ "required": [
284
+ "username"
285
+ ]
286
+ },
287
+ "security": [
288
+ {
289
+ "apiToken": []
290
+ }
291
+ ],
292
+ "group": "hosting"
293
+ },
294
+ {
295
+ "name": "hosting_createAccountCronJobV1",
296
+ "description": "Creates a cron job for the specified account from a schedule expression and a command.\n\nReturns the created cron job, including its uid, which is required to delete the cron job or fetch its output.",
297
+ "method": "POST",
298
+ "path": "/api/hosting/v1/accounts/{username}/cron-jobs",
299
+ "inputSchema": {
300
+ "type": "object",
301
+ "properties": {
302
+ "username": {
303
+ "type": "string",
304
+ "description": "username parameter"
305
+ },
306
+ "time": {
307
+ "type": "string",
308
+ "description": "Cron schedule expression (for example \"0 2 * * *\" runs daily at 02:00)."
309
+ },
310
+ "command": {
311
+ "type": "string",
312
+ "description": "Command to execute on the schedule."
313
+ }
314
+ },
315
+ "required": [
316
+ "username",
317
+ "time",
318
+ "command"
319
+ ]
320
+ },
321
+ "security": [
322
+ {
323
+ "apiToken": []
324
+ }
325
+ ],
326
+ "group": "hosting"
327
+ },
328
+ {
329
+ "name": "hosting_deleteAccountCronJobV1",
330
+ "description": "Permanently deletes the cron job identified by its uid.\n\nThe uid is returned by the list cron jobs endpoint.",
331
+ "method": "DELETE",
332
+ "path": "/api/hosting/v1/accounts/{username}/cron-jobs/{uid}",
333
+ "inputSchema": {
334
+ "type": "object",
335
+ "properties": {
336
+ "username": {
337
+ "type": "string",
338
+ "description": "username parameter"
339
+ },
340
+ "uid": {
341
+ "type": "string",
342
+ "description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
343
+ }
344
+ },
345
+ "required": [
346
+ "username",
347
+ "uid"
348
+ ]
349
+ },
350
+ "security": [
351
+ {
352
+ "apiToken": []
353
+ }
354
+ ],
355
+ "group": "hosting"
356
+ },
357
+ {
358
+ "name": "hosting_getCronJobOutputV1",
359
+ "description": "Returns the output captured from the last execution of the cron job identified by its uid.\n\nThe uid is returned by the list cron jobs endpoint.",
360
+ "method": "GET",
361
+ "path": "/api/hosting/v1/accounts/{username}/cron-jobs/{uid}/output",
362
+ "inputSchema": {
363
+ "type": "object",
364
+ "properties": {
365
+ "username": {
366
+ "type": "string",
367
+ "description": "username parameter"
368
+ },
369
+ "uid": {
370
+ "type": "string",
371
+ "description": "Unique identifier of the cron job as returned by the list cron jobs endpoint."
372
+ }
373
+ },
374
+ "required": [
375
+ "username",
376
+ "uid"
377
+ ]
378
+ },
379
+ "security": [
380
+ {
381
+ "apiToken": []
382
+ }
383
+ ],
384
+ "group": "hosting"
385
+ },
270
386
  {
271
387
  "name": "hosting_changeDatabasePasswordV1",
272
388
  "description": "Changes the password for the specified database user.\n\nThe database name must be the full name returned by the list databases endpoint.\nThe password must also be updated in any website configuration that uses this database.",
@@ -418,6 +534,102 @@ const tools: OpenApiTool[] = [
418
534
  ],
419
535
  "group": "hosting"
420
536
  },
537
+ {
538
+ "name": "hosting_createAccountDatabaseRemoteConnectionV1",
539
+ "description": "Allows a remote host to connect to the specified database.\n\nProvide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be\nthe full name returned by the list databases endpoint.",
540
+ "method": "POST",
541
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
542
+ "inputSchema": {
543
+ "type": "object",
544
+ "properties": {
545
+ "username": {
546
+ "type": "string",
547
+ "description": "username parameter"
548
+ },
549
+ "name": {
550
+ "type": "string",
551
+ "description": "Full database name as returned by the list databases endpoint."
552
+ },
553
+ "ip": {
554
+ "type": "string",
555
+ "description": "Remote host to allow: an IPv4/IPv6 address, or \"%\" for any host."
556
+ }
557
+ },
558
+ "required": [
559
+ "username",
560
+ "name",
561
+ "ip"
562
+ ]
563
+ },
564
+ "security": [
565
+ {
566
+ "apiToken": []
567
+ }
568
+ ],
569
+ "group": "hosting"
570
+ },
571
+ {
572
+ "name": "hosting_deleteAccountDatabaseRemoteConnectionV1",
573
+ "description": "Permanently removes a remote-access rule, revoking the given host's remote access to the database.\n\nIdentify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint). The database name must be\nthe full name returned by the list databases endpoint.",
574
+ "method": "DELETE",
575
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
576
+ "inputSchema": {
577
+ "type": "object",
578
+ "properties": {
579
+ "username": {
580
+ "type": "string",
581
+ "description": "username parameter"
582
+ },
583
+ "name": {
584
+ "type": "string",
585
+ "description": "Full database name as returned by the list databases endpoint."
586
+ },
587
+ "ip": {
588
+ "type": "string",
589
+ "description": "Remote host to revoke: the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint."
590
+ }
591
+ },
592
+ "required": [
593
+ "username",
594
+ "name",
595
+ "ip"
596
+ ]
597
+ },
598
+ "security": [
599
+ {
600
+ "apiToken": []
601
+ }
602
+ ],
603
+ "group": "hosting"
604
+ },
605
+ {
606
+ "name": "hosting_listAccountDatabaseRemoteConnectionsV1",
607
+ "description": "Returns the remote-access rules for the specified account: the remote hosts\n(IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases.\n\nUse the domain filter to only return rules for databases assigned to a specific domain.",
608
+ "method": "GET",
609
+ "path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
610
+ "inputSchema": {
611
+ "type": "object",
612
+ "properties": {
613
+ "username": {
614
+ "type": "string",
615
+ "description": "username parameter"
616
+ },
617
+ "domain": {
618
+ "type": "string",
619
+ "description": "Filter remote connections by the domain the database is assigned to.\nRules for databases not assigned to any domain are always included."
620
+ }
621
+ },
622
+ "required": [
623
+ "username"
624
+ ]
625
+ },
626
+ "security": [
627
+ {
628
+ "apiToken": []
629
+ }
630
+ ],
631
+ "group": "hosting"
632
+ },
421
633
  {
422
634
  "name": "hosting_repairDatabaseV1",
423
635
  "description": "Repairs corrupted database tables asynchronously.\n\nUse when database errors, crashes, or corruption are reported.\nThe database name must be the full name returned by the list databases endpoint.",
@@ -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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '0.2.20', 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: '0.2.18', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '0.2.20', tools });