hostinger-api-mcp 0.2.3 → 0.2.5

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.
@@ -1297,6 +1297,123 @@ const tools: OpenApiTool[] = [
1297
1297
  ],
1298
1298
  "group": "domains"
1299
1299
  },
1300
+ {
1301
+ "name": "hosting_listAccountDatabasesV1",
1302
+ "description": "Returns a paginated list of databases for the specified account.\n\nUse the domain and is_assigned filters to find databases assigned to a specific domain.",
1303
+ "method": "GET",
1304
+ "path": "/api/hosting/v1/accounts/{username}/databases",
1305
+ "inputSchema": {
1306
+ "type": "object",
1307
+ "properties": {
1308
+ "username": {
1309
+ "type": "string",
1310
+ "description": "username parameter"
1311
+ },
1312
+ "page": {
1313
+ "type": "integer",
1314
+ "description": "Page number"
1315
+ },
1316
+ "per_page": {
1317
+ "type": "integer",
1318
+ "description": "Number of items per page"
1319
+ },
1320
+ "domain": {
1321
+ "type": "string",
1322
+ "description": "Filter by domain name (exact match)"
1323
+ },
1324
+ "is_assigned": {
1325
+ "type": "boolean",
1326
+ "description": "When used with domain, return only databases assigned to that domain."
1327
+ },
1328
+ "search": {
1329
+ "type": "string",
1330
+ "description": "Search databases by name, user, or creation date."
1331
+ }
1332
+ },
1333
+ "required": [
1334
+ "username"
1335
+ ]
1336
+ },
1337
+ "security": [
1338
+ {
1339
+ "apiToken": []
1340
+ }
1341
+ ],
1342
+ "group": "hosting"
1343
+ },
1344
+ {
1345
+ "name": "hosting_createAccountDatabaseV1",
1346
+ "description": "Creates a database with a database user and password for the specified account.\n\nThe database name and user are automatically prefixed with the account username when needed.",
1347
+ "method": "POST",
1348
+ "path": "/api/hosting/v1/accounts/{username}/databases",
1349
+ "inputSchema": {
1350
+ "type": "object",
1351
+ "properties": {
1352
+ "username": {
1353
+ "type": "string",
1354
+ "description": "username parameter"
1355
+ },
1356
+ "name": {
1357
+ "type": "string",
1358
+ "description": "Database name. If the account username prefix is omitted, it is added automatically."
1359
+ },
1360
+ "user": {
1361
+ "type": "string",
1362
+ "description": "Database user. If the account username prefix is omitted, it is added automatically."
1363
+ },
1364
+ "password": {
1365
+ "type": "string",
1366
+ "description": "Database user password."
1367
+ },
1368
+ "website_domain": {
1369
+ "type": "string",
1370
+ "description": "Website domain assigned to the database."
1371
+ }
1372
+ },
1373
+ "required": [
1374
+ "username",
1375
+ "name",
1376
+ "user",
1377
+ "password",
1378
+ "website_domain"
1379
+ ]
1380
+ },
1381
+ "security": [
1382
+ {
1383
+ "apiToken": []
1384
+ }
1385
+ ],
1386
+ "group": "hosting"
1387
+ },
1388
+ {
1389
+ "name": "hosting_deleteAccountDatabaseV1",
1390
+ "description": "Permanently deletes a database and its remote connections.\n\nThe database name must be the full name returned by the list databases endpoint.",
1391
+ "method": "DELETE",
1392
+ "path": "/api/hosting/v1/accounts/{username}/databases/{name}",
1393
+ "inputSchema": {
1394
+ "type": "object",
1395
+ "properties": {
1396
+ "username": {
1397
+ "type": "string",
1398
+ "description": "username parameter"
1399
+ },
1400
+ "name": {
1401
+ "type": "string",
1402
+ "description": "Full database name as returned by the list databases endpoint."
1403
+ }
1404
+ },
1405
+ "required": [
1406
+ "username",
1407
+ "name"
1408
+ ]
1409
+ },
1410
+ "security": [
1411
+ {
1412
+ "apiToken": []
1413
+ }
1414
+ ],
1415
+ "group": "hosting"
1416
+ },
1300
1417
  {
1301
1418
  "name": "hosting_listAvailableDatacentersV1",
1302
1419
  "description": "Retrieve a list of datacenters available for setting up hosting plans\nbased on available datacenter capacity and hosting plan of your order.\nThe first item in the list is the best match for your specific order\nrequirements.",
@@ -1338,6 +1455,103 @@ const tools: OpenApiTool[] = [
1338
1455
  ],
1339
1456
  "group": "hosting"
1340
1457
  },
1458
+ {
1459
+ "name": "hosting_listWebsiteParkedDomainsV1",
1460
+ "description": "Retrieve all parked or alias domains created under the selected website.\n\nUse this endpoint to inspect parked domain configuration for a specific website,\nincluding the parent domain and root directory assigned to each parked domain.",
1461
+ "method": "GET",
1462
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains",
1463
+ "inputSchema": {
1464
+ "type": "object",
1465
+ "properties": {
1466
+ "username": {
1467
+ "type": "string",
1468
+ "description": "username parameter"
1469
+ },
1470
+ "domain": {
1471
+ "type": "string",
1472
+ "description": "Domain name"
1473
+ }
1474
+ },
1475
+ "required": [
1476
+ "username",
1477
+ "domain"
1478
+ ]
1479
+ },
1480
+ "security": [
1481
+ {
1482
+ "apiToken": []
1483
+ }
1484
+ ],
1485
+ "group": "hosting"
1486
+ },
1487
+ {
1488
+ "name": "hosting_createWebsiteParkedDomainV1",
1489
+ "description": "Create a parked or alias domain for the selected website.\n\nProvide a domain name or IP address to park on the website so it serves the same content\nas the parent domain.",
1490
+ "method": "POST",
1491
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains",
1492
+ "inputSchema": {
1493
+ "type": "object",
1494
+ "properties": {
1495
+ "username": {
1496
+ "type": "string",
1497
+ "description": "username parameter"
1498
+ },
1499
+ "domain": {
1500
+ "type": "string",
1501
+ "description": "Domain name"
1502
+ },
1503
+ "parked_domain": {
1504
+ "type": "string",
1505
+ "description": "Domain name or IP address to park on the selected website"
1506
+ }
1507
+ },
1508
+ "required": [
1509
+ "username",
1510
+ "domain",
1511
+ "parked_domain"
1512
+ ]
1513
+ },
1514
+ "security": [
1515
+ {
1516
+ "apiToken": []
1517
+ }
1518
+ ],
1519
+ "group": "hosting"
1520
+ },
1521
+ {
1522
+ "name": "hosting_deleteWebsiteParkedDomainV1",
1523
+ "description": "Delete an existing parked or alias domain from the selected website.\n\nUse this endpoint to remove parked domains that are no longer needed.",
1524
+ "method": "DELETE",
1525
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains/{parkedDomain}",
1526
+ "inputSchema": {
1527
+ "type": "object",
1528
+ "properties": {
1529
+ "username": {
1530
+ "type": "string",
1531
+ "description": "username parameter"
1532
+ },
1533
+ "domain": {
1534
+ "type": "string",
1535
+ "description": "Domain name"
1536
+ },
1537
+ "parkedDomain": {
1538
+ "type": "string",
1539
+ "description": "parkedDomain parameter"
1540
+ }
1541
+ },
1542
+ "required": [
1543
+ "username",
1544
+ "domain",
1545
+ "parkedDomain"
1546
+ ]
1547
+ },
1548
+ "security": [
1549
+ {
1550
+ "apiToken": []
1551
+ }
1552
+ ],
1553
+ "group": "hosting"
1554
+ },
1341
1555
  {
1342
1556
  "name": "hosting_listWebsiteSubdomainsV1",
1343
1557
  "description": "Retrieve all subdomains created under the selected website.\n\nUse this endpoint to inspect subdomain configuration for a specific website,\nincluding the parent domain and root directory assigned to each subdomain.",
@@ -1590,6 +1804,138 @@ const tools: OpenApiTool[] = [
1590
1804
  ],
1591
1805
  "group": "hosting"
1592
1806
  },
1807
+ {
1808
+ "name": "hosting_installWordPressV1",
1809
+ "description": "Install WordPress on an existing website.\n\nThe website must already exist before calling this endpoint. To create a new\nwebsite first, use POST /api/hosting/v1/websites and poll\nGET /api/hosting/v1/websites until it appears.\n\nCall GET /api/hosting/v1/wordpress/installations filtered by username and\ndomain before proceeding to check whether WordPress is already installed on\nthe target domain/path. If WordPress already exists and `overwrite` is false\n(the default), the async job will fail.\n\nThis operation is asynchronous: a successful response only means the install\njob has been queued, not that WordPress is ready. Installation typically\ntakes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered\nby username and domain to track progress. When the installation appears in\nthat list, WordPress is ready.",
1810
+ "method": "POST",
1811
+ "path": "/api/hosting/v1/accounts/{username}/wordpress/installations",
1812
+ "inputSchema": {
1813
+ "type": "object",
1814
+ "properties": {
1815
+ "username": {
1816
+ "type": "string",
1817
+ "description": "username parameter"
1818
+ },
1819
+ "domain": {
1820
+ "type": "string",
1821
+ "description": "Domain of the existing website where WordPress will be installed"
1822
+ },
1823
+ "site_title": {
1824
+ "type": "string",
1825
+ "description": "Title of the WordPress site"
1826
+ },
1827
+ "language": {
1828
+ "type": "string",
1829
+ "description": "WordPress locale. Defaults to en_US when omitted."
1830
+ },
1831
+ "directory": {
1832
+ "type": "string",
1833
+ "description": "Relative directory to install WordPress into. Defaults to the website root when omitted."
1834
+ },
1835
+ "overwrite": {
1836
+ "type": "boolean",
1837
+ "description": "When false (default), does not replace an existing installation. If WordPress is already installed on the domain/path, the async install job fails unless true."
1838
+ },
1839
+ "auto_updates": {
1840
+ "type": "string",
1841
+ "description": "WordPress core auto-update policy",
1842
+ "enum": [
1843
+ "all",
1844
+ "none",
1845
+ "minor"
1846
+ ]
1847
+ },
1848
+ "version": {
1849
+ "type": "string",
1850
+ "description": "WordPress core version to install. If omitted, the latest core version compatible with the account vhost PHP version is selected."
1851
+ },
1852
+ "credentials": {
1853
+ "type": "object",
1854
+ "description": "WordPress admin credentials",
1855
+ "properties": {
1856
+ "email": {
1857
+ "type": "string",
1858
+ "description": "email parameter"
1859
+ },
1860
+ "login": {
1861
+ "type": "string",
1862
+ "description": "WordPress admin username"
1863
+ },
1864
+ "password": {
1865
+ "type": "string",
1866
+ "description": "password parameter"
1867
+ }
1868
+ },
1869
+ "required": [
1870
+ "email",
1871
+ "login",
1872
+ "password"
1873
+ ]
1874
+ },
1875
+ "database": {
1876
+ "type": "object",
1877
+ "description": "Optional. If the named database already exists, it will be used for this WordPress install. Otherwise a new database is created with a generated name and random credentials.",
1878
+ "properties": {
1879
+ "name": {
1880
+ "type": "string",
1881
+ "description": "Database name (username prefix added if missing)"
1882
+ },
1883
+ "password": {
1884
+ "type": "string",
1885
+ "description": "password parameter"
1886
+ }
1887
+ }
1888
+ }
1889
+ },
1890
+ "required": [
1891
+ "username",
1892
+ "domain",
1893
+ "site_title",
1894
+ "credentials"
1895
+ ]
1896
+ },
1897
+ "security": [
1898
+ {
1899
+ "apiToken": []
1900
+ }
1901
+ ],
1902
+ "group": "hosting"
1903
+ },
1904
+ {
1905
+ "name": "hosting_listWordPressInstallationsV1",
1906
+ "description": "List WordPress installations accessible to the authenticated client.\n\nUse this endpoint to discover existing WordPress installations and to poll\nfor installation status after calling the install endpoint. When a newly\nrequested installation appears in this list, WordPress is ready. Filter by\nusername and domain to narrow results to a specific website.\n\nEach installation includes a `valid` flag and, when invalid, a\n`validationError` describing why.",
1907
+ "method": "GET",
1908
+ "path": "/api/hosting/v1/wordpress/installations",
1909
+ "inputSchema": {
1910
+ "type": "object",
1911
+ "properties": {
1912
+ "username": {
1913
+ "type": "string",
1914
+ "description": "Filter by specific username"
1915
+ },
1916
+ "domain": {
1917
+ "type": "string",
1918
+ "description": "Filter by domain name (exact match)"
1919
+ },
1920
+ "ownership": {
1921
+ "type": "string",
1922
+ "description": "Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.",
1923
+ "enum": [
1924
+ "owned",
1925
+ "managed",
1926
+ "all"
1927
+ ]
1928
+ }
1929
+ },
1930
+ "required": []
1931
+ },
1932
+ "security": [
1933
+ {
1934
+ "apiToken": []
1935
+ }
1936
+ ],
1937
+ "group": "hosting"
1938
+ },
1593
1939
  {
1594
1940
  "name": "reach_deleteAContactV1",
1595
1941
  "description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",