hostinger-api-mcp 0.2.18 → 0.2.19

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,13 +49,13 @@ 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 (146 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (149 total)
53
53
  - `hostinger-billing-mcp` — 7 tools for billing
54
54
  - `hostinger-dns-mcp` — 8 tools for dns
55
55
  - `hostinger-domains-mcp` — 18 tools for domains
56
56
  - `hostinger-ecommerce-mcp` — 7 tools for ecommerce
57
57
  - `hostinger-horizons-mcp` — 2 tools for horizons
58
- - `hostinger-hosting-mcp` — 30 tools for hosting
58
+ - `hostinger-hosting-mcp` — 33 tools for hosting
59
59
  - `hostinger-reach-mcp` — 12 tools for reach
60
60
  - `hostinger-vps-mcp` — 62 tools for vps
61
61
 
@@ -739,6 +739,37 @@ The database name must be the full name returned by the list databases endpoint.
739
739
  - **Method**: `DELETE`
740
740
  - **Path**: `/api/hosting/v1/accounts/{username}/databases/{name}`
741
741
 
742
+ #### hosting_createAccountDatabaseRemoteConnectionV1
743
+
744
+ Allows a remote host to connect to the specified database.
745
+
746
+ Provide an IPv4/IPv6 address, or "%" to allow any host. The database name must be
747
+ the full name returned by the list databases endpoint.
748
+
749
+ - **Method**: `POST`
750
+ - **Path**: `/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections`
751
+
752
+ #### hosting_deleteAccountDatabaseRemoteConnectionV1
753
+
754
+ Permanently removes a remote-access rule, revoking the given host's remote access to the database.
755
+
756
+ Identify the rule with the required ip query parameter (the IPv4/IPv6 address, or "%",
757
+ exactly as returned by the list remote connections endpoint). The database name must be
758
+ the full name returned by the list databases endpoint.
759
+
760
+ - **Method**: `DELETE`
761
+ - **Path**: `/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections`
762
+
763
+ #### hosting_listAccountDatabaseRemoteConnectionsV1
764
+
765
+ Returns the remote-access rules for the specified account: the remote hosts
766
+ (IPv4/IPv6 addresses, or "%" for any host) allowed to connect to the account databases.
767
+
768
+ Use the domain filter to only return rules for databases assigned to a specific domain.
769
+
770
+ - **Method**: `GET`
771
+ - **Path**: `/api/hosting/v1/accounts/{username}/databases/remote-connections`
772
+
742
773
  #### hosting_repairDatabaseV1
743
774
 
744
775
  Repairs corrupted database tables asynchronously.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
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": "0.2.18",
9
+ "version": "0.2.19",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "0.2.18",
14
+ "version": "0.2.19",
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 0.19.4
32
+ * Generated from OpenAPI spec version 0.20.0
33
33
  */
34
34
  class MCPServer {
35
35
  constructor({ name, version, tools }) {
@@ -47,7 +47,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
47
47
 
48
48
  /**
49
49
  * MCP Server for Hostinger API
50
- * Generated from OpenAPI spec version 0.19.4
50
+ * Generated from OpenAPI spec version 0.20.0
51
51
  */
52
52
  class MCPServer {
53
53
  private readonly name: string;
@@ -1753,6 +1753,102 @@ export default [
1753
1753
  ],
1754
1754
  "group": "hosting"
1755
1755
  },
1756
+ {
1757
+ "name": "hosting_createAccountDatabaseRemoteConnectionV1",
1758
+ "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.",
1759
+ "method": "POST",
1760
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
1761
+ "inputSchema": {
1762
+ "type": "object",
1763
+ "properties": {
1764
+ "username": {
1765
+ "type": "string",
1766
+ "description": "username parameter"
1767
+ },
1768
+ "name": {
1769
+ "type": "string",
1770
+ "description": "Full database name as returned by the list databases endpoint."
1771
+ },
1772
+ "ip": {
1773
+ "type": "string",
1774
+ "description": "Remote host to allow: an IPv4/IPv6 address, or \"%\" for any host."
1775
+ }
1776
+ },
1777
+ "required": [
1778
+ "username",
1779
+ "name",
1780
+ "ip"
1781
+ ]
1782
+ },
1783
+ "security": [
1784
+ {
1785
+ "apiToken": []
1786
+ }
1787
+ ],
1788
+ "group": "hosting"
1789
+ },
1790
+ {
1791
+ "name": "hosting_deleteAccountDatabaseRemoteConnectionV1",
1792
+ "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.",
1793
+ "method": "DELETE",
1794
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
1795
+ "inputSchema": {
1796
+ "type": "object",
1797
+ "properties": {
1798
+ "username": {
1799
+ "type": "string",
1800
+ "description": "username parameter"
1801
+ },
1802
+ "name": {
1803
+ "type": "string",
1804
+ "description": "Full database name as returned by the list databases endpoint."
1805
+ },
1806
+ "ip": {
1807
+ "type": "string",
1808
+ "description": "Remote host to revoke: the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint."
1809
+ }
1810
+ },
1811
+ "required": [
1812
+ "username",
1813
+ "name",
1814
+ "ip"
1815
+ ]
1816
+ },
1817
+ "security": [
1818
+ {
1819
+ "apiToken": []
1820
+ }
1821
+ ],
1822
+ "group": "hosting"
1823
+ },
1824
+ {
1825
+ "name": "hosting_listAccountDatabaseRemoteConnectionsV1",
1826
+ "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.",
1827
+ "method": "GET",
1828
+ "path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
1829
+ "inputSchema": {
1830
+ "type": "object",
1831
+ "properties": {
1832
+ "username": {
1833
+ "type": "string",
1834
+ "description": "username parameter"
1835
+ },
1836
+ "domain": {
1837
+ "type": "string",
1838
+ "description": "Filter remote connections by the domain the database is assigned to.\nRules for databases not assigned to any domain are always included."
1839
+ }
1840
+ },
1841
+ "required": [
1842
+ "username"
1843
+ ]
1844
+ },
1845
+ "security": [
1846
+ {
1847
+ "apiToken": []
1848
+ }
1849
+ ],
1850
+ "group": "hosting"
1851
+ },
1756
1852
  {
1757
1853
  "name": "hosting_repairDatabaseV1",
1758
1854
  "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.",
@@ -1763,6 +1763,102 @@ const tools: OpenApiTool[] = [
1763
1763
  ],
1764
1764
  "group": "hosting"
1765
1765
  },
1766
+ {
1767
+ "name": "hosting_createAccountDatabaseRemoteConnectionV1",
1768
+ "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.",
1769
+ "method": "POST",
1770
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
1771
+ "inputSchema": {
1772
+ "type": "object",
1773
+ "properties": {
1774
+ "username": {
1775
+ "type": "string",
1776
+ "description": "username parameter"
1777
+ },
1778
+ "name": {
1779
+ "type": "string",
1780
+ "description": "Full database name as returned by the list databases endpoint."
1781
+ },
1782
+ "ip": {
1783
+ "type": "string",
1784
+ "description": "Remote host to allow: an IPv4/IPv6 address, or \"%\" for any host."
1785
+ }
1786
+ },
1787
+ "required": [
1788
+ "username",
1789
+ "name",
1790
+ "ip"
1791
+ ]
1792
+ },
1793
+ "security": [
1794
+ {
1795
+ "apiToken": []
1796
+ }
1797
+ ],
1798
+ "group": "hosting"
1799
+ },
1800
+ {
1801
+ "name": "hosting_deleteAccountDatabaseRemoteConnectionV1",
1802
+ "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.",
1803
+ "method": "DELETE",
1804
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
1805
+ "inputSchema": {
1806
+ "type": "object",
1807
+ "properties": {
1808
+ "username": {
1809
+ "type": "string",
1810
+ "description": "username parameter"
1811
+ },
1812
+ "name": {
1813
+ "type": "string",
1814
+ "description": "Full database name as returned by the list databases endpoint."
1815
+ },
1816
+ "ip": {
1817
+ "type": "string",
1818
+ "description": "Remote host to revoke: the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint."
1819
+ }
1820
+ },
1821
+ "required": [
1822
+ "username",
1823
+ "name",
1824
+ "ip"
1825
+ ]
1826
+ },
1827
+ "security": [
1828
+ {
1829
+ "apiToken": []
1830
+ }
1831
+ ],
1832
+ "group": "hosting"
1833
+ },
1834
+ {
1835
+ "name": "hosting_listAccountDatabaseRemoteConnectionsV1",
1836
+ "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.",
1837
+ "method": "GET",
1838
+ "path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
1839
+ "inputSchema": {
1840
+ "type": "object",
1841
+ "properties": {
1842
+ "username": {
1843
+ "type": "string",
1844
+ "description": "username parameter"
1845
+ },
1846
+ "domain": {
1847
+ "type": "string",
1848
+ "description": "Filter remote connections by the domain the database is assigned to.\nRules for databases not assigned to any domain are always included."
1849
+ }
1850
+ },
1851
+ "required": [
1852
+ "username"
1853
+ ]
1854
+ },
1855
+ "security": [
1856
+ {
1857
+ "apiToken": []
1858
+ }
1859
+ ],
1860
+ "group": "hosting"
1861
+ },
1766
1862
  {
1767
1863
  "name": "hosting_repairDatabaseV1",
1768
1864
  "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.",
@@ -408,6 +408,102 @@ export default [
408
408
  ],
409
409
  "group": "hosting"
410
410
  },
411
+ {
412
+ "name": "hosting_createAccountDatabaseRemoteConnectionV1",
413
+ "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.",
414
+ "method": "POST",
415
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
416
+ "inputSchema": {
417
+ "type": "object",
418
+ "properties": {
419
+ "username": {
420
+ "type": "string",
421
+ "description": "username parameter"
422
+ },
423
+ "name": {
424
+ "type": "string",
425
+ "description": "Full database name as returned by the list databases endpoint."
426
+ },
427
+ "ip": {
428
+ "type": "string",
429
+ "description": "Remote host to allow: an IPv4/IPv6 address, or \"%\" for any host."
430
+ }
431
+ },
432
+ "required": [
433
+ "username",
434
+ "name",
435
+ "ip"
436
+ ]
437
+ },
438
+ "security": [
439
+ {
440
+ "apiToken": []
441
+ }
442
+ ],
443
+ "group": "hosting"
444
+ },
445
+ {
446
+ "name": "hosting_deleteAccountDatabaseRemoteConnectionV1",
447
+ "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.",
448
+ "method": "DELETE",
449
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
450
+ "inputSchema": {
451
+ "type": "object",
452
+ "properties": {
453
+ "username": {
454
+ "type": "string",
455
+ "description": "username parameter"
456
+ },
457
+ "name": {
458
+ "type": "string",
459
+ "description": "Full database name as returned by the list databases endpoint."
460
+ },
461
+ "ip": {
462
+ "type": "string",
463
+ "description": "Remote host to revoke: the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint."
464
+ }
465
+ },
466
+ "required": [
467
+ "username",
468
+ "name",
469
+ "ip"
470
+ ]
471
+ },
472
+ "security": [
473
+ {
474
+ "apiToken": []
475
+ }
476
+ ],
477
+ "group": "hosting"
478
+ },
479
+ {
480
+ "name": "hosting_listAccountDatabaseRemoteConnectionsV1",
481
+ "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.",
482
+ "method": "GET",
483
+ "path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
484
+ "inputSchema": {
485
+ "type": "object",
486
+ "properties": {
487
+ "username": {
488
+ "type": "string",
489
+ "description": "username parameter"
490
+ },
491
+ "domain": {
492
+ "type": "string",
493
+ "description": "Filter remote connections by the domain the database is assigned to.\nRules for databases not assigned to any domain are always included."
494
+ }
495
+ },
496
+ "required": [
497
+ "username"
498
+ ]
499
+ },
500
+ "security": [
501
+ {
502
+ "apiToken": []
503
+ }
504
+ ],
505
+ "group": "hosting"
506
+ },
411
507
  {
412
508
  "name": "hosting_repairDatabaseV1",
413
509
  "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.",
@@ -418,6 +418,102 @@ const tools: OpenApiTool[] = [
418
418
  ],
419
419
  "group": "hosting"
420
420
  },
421
+ {
422
+ "name": "hosting_createAccountDatabaseRemoteConnectionV1",
423
+ "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.",
424
+ "method": "POST",
425
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
426
+ "inputSchema": {
427
+ "type": "object",
428
+ "properties": {
429
+ "username": {
430
+ "type": "string",
431
+ "description": "username parameter"
432
+ },
433
+ "name": {
434
+ "type": "string",
435
+ "description": "Full database name as returned by the list databases endpoint."
436
+ },
437
+ "ip": {
438
+ "type": "string",
439
+ "description": "Remote host to allow: an IPv4/IPv6 address, or \"%\" for any host."
440
+ }
441
+ },
442
+ "required": [
443
+ "username",
444
+ "name",
445
+ "ip"
446
+ ]
447
+ },
448
+ "security": [
449
+ {
450
+ "apiToken": []
451
+ }
452
+ ],
453
+ "group": "hosting"
454
+ },
455
+ {
456
+ "name": "hosting_deleteAccountDatabaseRemoteConnectionV1",
457
+ "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.",
458
+ "method": "DELETE",
459
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections",
460
+ "inputSchema": {
461
+ "type": "object",
462
+ "properties": {
463
+ "username": {
464
+ "type": "string",
465
+ "description": "username parameter"
466
+ },
467
+ "name": {
468
+ "type": "string",
469
+ "description": "Full database name as returned by the list databases endpoint."
470
+ },
471
+ "ip": {
472
+ "type": "string",
473
+ "description": "Remote host to revoke: the IPv4/IPv6 address, or \"%\",\nexactly as returned by the list remote connections endpoint."
474
+ }
475
+ },
476
+ "required": [
477
+ "username",
478
+ "name",
479
+ "ip"
480
+ ]
481
+ },
482
+ "security": [
483
+ {
484
+ "apiToken": []
485
+ }
486
+ ],
487
+ "group": "hosting"
488
+ },
489
+ {
490
+ "name": "hosting_listAccountDatabaseRemoteConnectionsV1",
491
+ "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.",
492
+ "method": "GET",
493
+ "path": "/api/hosting/v1/accounts/{username}/databases/remote-connections",
494
+ "inputSchema": {
495
+ "type": "object",
496
+ "properties": {
497
+ "username": {
498
+ "type": "string",
499
+ "description": "username parameter"
500
+ },
501
+ "domain": {
502
+ "type": "string",
503
+ "description": "Filter remote connections by the domain the database is assigned to.\nRules for databases not assigned to any domain are always included."
504
+ }
505
+ },
506
+ "required": [
507
+ "username"
508
+ ]
509
+ },
510
+ "security": [
511
+ {
512
+ "apiToken": []
513
+ }
514
+ ],
515
+ "group": "hosting"
516
+ },
421
517
  {
422
518
  "name": "hosting_repairDatabaseV1",
423
519
  "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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', 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.19', tools });
package/types.d.ts CHANGED
@@ -1126,6 +1126,77 @@ The database name must be the full name returned by the list databases endpoint.
1126
1126
  response: any; // Response structure will depend on the API
1127
1127
  };
1128
1128
 
1129
+ /**
1130
+ * Allows a remote host to connect to the specified database.
1131
+
1132
+ Provide an IPv4/IPv6 address, or "%" to allow any host. The database name must be
1133
+ the full name returned by the list databases endpoint.
1134
+ */
1135
+ "hosting_createAccountDatabaseRemoteConnectionV1": {
1136
+ params: {
1137
+ /**
1138
+ * username parameter
1139
+ */
1140
+ username: string;
1141
+ /**
1142
+ * Full database name as returned by the list databases endpoint.
1143
+ */
1144
+ name: string;
1145
+ /**
1146
+ * Remote host to allow: an IPv4/IPv6 address, or "%" for any host.
1147
+ */
1148
+ ip: string;
1149
+ };
1150
+ response: any; // Response structure will depend on the API
1151
+ };
1152
+
1153
+ /**
1154
+ * Permanently removes a remote-access rule, revoking the given host's remote access to the database.
1155
+
1156
+ Identify the rule with the required ip query parameter (the IPv4/IPv6 address, or "%",
1157
+ exactly as returned by the list remote connections endpoint). The database name must be
1158
+ the full name returned by the list databases endpoint.
1159
+ */
1160
+ "hosting_deleteAccountDatabaseRemoteConnectionV1": {
1161
+ params: {
1162
+ /**
1163
+ * username parameter
1164
+ */
1165
+ username: string;
1166
+ /**
1167
+ * Full database name as returned by the list databases endpoint.
1168
+ */
1169
+ name: string;
1170
+ /**
1171
+ * Remote host to revoke: the IPv4/IPv6 address, or "%",
1172
+ exactly as returned by the list remote connections endpoint.
1173
+ */
1174
+ ip: string;
1175
+ };
1176
+ response: any; // Response structure will depend on the API
1177
+ };
1178
+
1179
+ /**
1180
+ * Returns the remote-access rules for the specified account: the remote hosts
1181
+ (IPv4/IPv6 addresses, or "%" for any host) allowed to connect to the account databases.
1182
+
1183
+ Use the domain filter to only return rules for databases assigned to a specific domain.
1184
+ */
1185
+ "hosting_listAccountDatabaseRemoteConnectionsV1": {
1186
+ params: {
1187
+ /**
1188
+ * username parameter
1189
+ */
1190
+ username: string;
1191
+ /**
1192
+ * Filter remote connections by the domain the database is assigned to.
1193
+ Rules for databases not assigned to any domain are always included.
1194
+ */
1195
+ domain?: string;
1196
+ };
1197
+ response: any; // Response structure will depend on the API
1198
+ };
1199
+
1129
1200
  /**
1130
1201
  * Repairs corrupted database tables asynchronously.
1131
1202