hostinger-api-mcp 1.44.0 → 1.45.1
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 +26 -33
- 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/agency-hosting.js +68 -0
- package/src/core/tools/agency-hosting.ts +68 -0
- package/src/core/tools/all.js +88 -99
- package/src/core/tools/all.ts +88 -99
- package/src/core/tools/hosting.js +18 -97
- package/src/core/tools/hosting.ts +18 -97
- package/src/core/tools/wordpress.js +2 -2
- package/src/core/tools/wordpress.ts +2 -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 +58 -77
package/src/core/tools/all.ts
CHANGED
|
@@ -1395,6 +1395,74 @@ const tools: OpenApiTool[] = [
|
|
|
1395
1395
|
],
|
|
1396
1396
|
"group": "agency-hosting"
|
|
1397
1397
|
},
|
|
1398
|
+
{
|
|
1399
|
+
"name": "agency-hosting_listAgencyPlanWebsitesV1",
|
|
1400
|
+
"description": "Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to\nthe authenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nThe response shape differs per platform — see the `platform` field on each item.\n\nUse `website_types` to list only websites of a given detected type, e.g. only\nWordPress websites (`website_types=wordpress`) or only Node.js websites\n(`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more\ntargeted results.",
|
|
1401
|
+
"method": "GET",
|
|
1402
|
+
"path": "/api/agency-hosting/v1/websites",
|
|
1403
|
+
"inputSchema": {
|
|
1404
|
+
"type": "object",
|
|
1405
|
+
"properties": {
|
|
1406
|
+
"page": {
|
|
1407
|
+
"type": "integer",
|
|
1408
|
+
"description": "Page number"
|
|
1409
|
+
},
|
|
1410
|
+
"per_page": {
|
|
1411
|
+
"type": "integer",
|
|
1412
|
+
"description": "Number of items per page"
|
|
1413
|
+
},
|
|
1414
|
+
"order_ids": {
|
|
1415
|
+
"type": "array",
|
|
1416
|
+
"description": "Filter by order IDs. Accepts a comma-separated list.",
|
|
1417
|
+
"items": {
|
|
1418
|
+
"type": "integer",
|
|
1419
|
+
"description": "order_ids parameter"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
"states": {
|
|
1423
|
+
"type": "array",
|
|
1424
|
+
"description": "Filter by website state. Accepts a comma-separated list.",
|
|
1425
|
+
"items": {
|
|
1426
|
+
"type": "string",
|
|
1427
|
+
"description": "states parameter",
|
|
1428
|
+
"enum": [
|
|
1429
|
+
"active",
|
|
1430
|
+
"locked",
|
|
1431
|
+
"suspended",
|
|
1432
|
+
"deleting",
|
|
1433
|
+
"deleted"
|
|
1434
|
+
]
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
"website_types": {
|
|
1438
|
+
"type": "array",
|
|
1439
|
+
"description": "Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.",
|
|
1440
|
+
"items": {
|
|
1441
|
+
"type": "string",
|
|
1442
|
+
"description": "website_types parameter",
|
|
1443
|
+
"enum": [
|
|
1444
|
+
"wordpress",
|
|
1445
|
+
"builder",
|
|
1446
|
+
"horizons",
|
|
1447
|
+
"nodejs",
|
|
1448
|
+
"other"
|
|
1449
|
+
]
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
"domain": {
|
|
1453
|
+
"type": "string",
|
|
1454
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
1455
|
+
}
|
|
1456
|
+
},
|
|
1457
|
+
"required": []
|
|
1458
|
+
},
|
|
1459
|
+
"security": [
|
|
1460
|
+
{
|
|
1461
|
+
"apiToken": []
|
|
1462
|
+
}
|
|
1463
|
+
],
|
|
1464
|
+
"group": "agency-hosting"
|
|
1465
|
+
},
|
|
1398
1466
|
{
|
|
1399
1467
|
"name": "agency-hosting_listWebsiteProcessesV1",
|
|
1400
1468
|
"description": "Lists active and recently completed asynchronous processes for an Agency Plan website.\n\nEach process has a unique ID (for tracking), a type, and a status (running, completed, failed).\nPoll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.",
|
|
@@ -4064,7 +4132,7 @@ const tools: OpenApiTool[] = [
|
|
|
4064
4132
|
},
|
|
4065
4133
|
"domain": {
|
|
4066
4134
|
"type": "string",
|
|
4067
|
-
"description": "Filter by domain name (
|
|
4135
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
4068
4136
|
},
|
|
4069
4137
|
"is_assigned": {
|
|
4070
4138
|
"type": "boolean",
|
|
@@ -4874,100 +4942,6 @@ const tools: OpenApiTool[] = [
|
|
|
4874
4942
|
],
|
|
4875
4943
|
"group": "hosting"
|
|
4876
4944
|
},
|
|
4877
|
-
{
|
|
4878
|
-
"name": "hosting_createNodeJSBuildFromArchiveV1",
|
|
4879
|
-
"description": "Upload a project archive, auto-detect build settings, and immediately start a Node.js build.\n\nWARNING: on success this overwrites the website's existing contents and cannot be\nundone — verify this is intended before calling this endpoint.\n\nThis is the recommended single-step approach for deploying a Node.js application.\nThe archive is uploaded to the website's file storage, build settings are auto-detected\nfrom the package.json inside the archive, and the build process starts automatically.\nOptional override fields take precedence over auto-detected values.\nMaximum archive size is 50MB.\n\nBefore archiving, exclude `node_modules/` and any build output directories\n(e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build\nprocess runs the install step automatically, and including them unnecessarily\nincreases the archive size. This also helps keep the archive well under the 50MB limit.\n\nExample (zip):\n```\nzip -r archive.zip . --exclude \"node_modules/*\" --exclude \"dist/*\"\n```\n\nThe returned build `uuid` can be used to poll progress and retrieve logs via\nthe `Get Node.js Build Logs` endpoint.",
|
|
4880
|
-
"method": "POST",
|
|
4881
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive",
|
|
4882
|
-
"inputSchema": {
|
|
4883
|
-
"type": "object",
|
|
4884
|
-
"properties": {
|
|
4885
|
-
"username": {
|
|
4886
|
-
"type": "string",
|
|
4887
|
-
"description": "username parameter"
|
|
4888
|
-
},
|
|
4889
|
-
"domain": {
|
|
4890
|
-
"type": "string",
|
|
4891
|
-
"description": "Domain name"
|
|
4892
|
-
},
|
|
4893
|
-
"archive": {
|
|
4894
|
-
"type": "string",
|
|
4895
|
-
"description": "Project archive file (.zip, .tar.gz, or .tgz), maximum 50MB"
|
|
4896
|
-
},
|
|
4897
|
-
"node_version": {
|
|
4898
|
-
"type": "integer",
|
|
4899
|
-
"description": "Node.js version override (auto-detected from package.json if omitted)",
|
|
4900
|
-
"enum": [
|
|
4901
|
-
18,
|
|
4902
|
-
20,
|
|
4903
|
-
22,
|
|
4904
|
-
24
|
|
4905
|
-
]
|
|
4906
|
-
},
|
|
4907
|
-
"app_type": {
|
|
4908
|
-
"type": "string",
|
|
4909
|
-
"description": "Node.js application type override",
|
|
4910
|
-
"enum": [
|
|
4911
|
-
"create-react-app",
|
|
4912
|
-
"gatsby",
|
|
4913
|
-
"vite",
|
|
4914
|
-
"angular",
|
|
4915
|
-
"react",
|
|
4916
|
-
"vue",
|
|
4917
|
-
"parcel",
|
|
4918
|
-
"next",
|
|
4919
|
-
"nuxt",
|
|
4920
|
-
"nest",
|
|
4921
|
-
"express",
|
|
4922
|
-
"fastify",
|
|
4923
|
-
"astro",
|
|
4924
|
-
"svelte",
|
|
4925
|
-
"svelte-kit",
|
|
4926
|
-
"hono",
|
|
4927
|
-
"react-router",
|
|
4928
|
-
"nitro",
|
|
4929
|
-
"other"
|
|
4930
|
-
]
|
|
4931
|
-
},
|
|
4932
|
-
"root_directory": {
|
|
4933
|
-
"type": "string",
|
|
4934
|
-
"description": "Application root directory override (where package.json is located) relative to public_html"
|
|
4935
|
-
},
|
|
4936
|
-
"output_directory": {
|
|
4937
|
-
"type": "string",
|
|
4938
|
-
"description": "Build output directory override relative to the root directory"
|
|
4939
|
-
},
|
|
4940
|
-
"build_script": {
|
|
4941
|
-
"type": "string",
|
|
4942
|
-
"description": "Build script override"
|
|
4943
|
-
},
|
|
4944
|
-
"entry_file": {
|
|
4945
|
-
"type": "string",
|
|
4946
|
-
"description": "Main entry point file override"
|
|
4947
|
-
},
|
|
4948
|
-
"package_manager": {
|
|
4949
|
-
"type": "string",
|
|
4950
|
-
"description": "Package manager override",
|
|
4951
|
-
"enum": [
|
|
4952
|
-
"npm",
|
|
4953
|
-
"yarn",
|
|
4954
|
-
"pnpm"
|
|
4955
|
-
]
|
|
4956
|
-
}
|
|
4957
|
-
},
|
|
4958
|
-
"required": [
|
|
4959
|
-
"username",
|
|
4960
|
-
"domain",
|
|
4961
|
-
"archive"
|
|
4962
|
-
]
|
|
4963
|
-
},
|
|
4964
|
-
"security": [
|
|
4965
|
-
{
|
|
4966
|
-
"apiToken": []
|
|
4967
|
-
}
|
|
4968
|
-
],
|
|
4969
|
-
"group": "hosting"
|
|
4970
|
-
},
|
|
4971
4945
|
{
|
|
4972
4946
|
"name": "hosting_getNode_jsBuildSettingsFromArchiveV1",
|
|
4973
4947
|
"description": "Auto-detect Node.js build settings from a package.json inside an archive already on the server.\n\nUse this before calling `Start Node.js Build` to preview what settings will be used,\nor to let the user review and override values (framework, node version, root directory,\noutput directory, build script) before committing to a build.\n\nThe archive must already be present on the website's file storage. Use the\n`Generate Upload URL` endpoint to obtain credentials and upload the archive first.\nTo upload an archive and start a build in one step without inspecting settings first,\nuse the `Create Node.js Build from Archive` endpoint instead.",
|
|
@@ -5512,7 +5486,7 @@ const tools: OpenApiTool[] = [
|
|
|
5512
5486
|
},
|
|
5513
5487
|
{
|
|
5514
5488
|
"name": "hosting_listWebsitesV1",
|
|
5515
|
-
"description": "Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the\nauthenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nEach website includes a `website_type` field describing the type of\nwebsite detected on the underlying platform (`wordpress`, `builder`,\n`horizons`, `nodejs`, or `other`). Some fields, such as\n`vhost_type`, `username`, and `root_directory`, only apply to\nCloudLinux websites and are null for other platforms.\n\nUse the available query parameters to
|
|
5489
|
+
"description": "Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the\nauthenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nEach website includes a `website_type` field describing the type of\nwebsite detected on the underlying platform (`wordpress`, `builder`,\n`horizons`, `nodejs`, or `other`). Some fields, such as\n`vhost_type`, `username`, and `root_directory`, only apply to\nCloudLinux websites and are null for other platforms.\n\nUse `website_types` to list only websites of a given detected type, e.g. only\nWordPress websites (`website_types=wordpress`) or only Node.js websites\n(`website_types=nodejs`). Combine with the other available query parameters to\nfilter by username, order ID, enabled status, or domain name for more targeted\nresults.",
|
|
5516
5490
|
"method": "GET",
|
|
5517
5491
|
"path": "/api/hosting/v1/websites",
|
|
5518
5492
|
"inputSchema": {
|
|
@@ -5540,7 +5514,22 @@ const tools: OpenApiTool[] = [
|
|
|
5540
5514
|
},
|
|
5541
5515
|
"domain": {
|
|
5542
5516
|
"type": "string",
|
|
5543
|
-
"description": "Filter by domain name (
|
|
5517
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
5518
|
+
},
|
|
5519
|
+
"website_types": {
|
|
5520
|
+
"type": "array",
|
|
5521
|
+
"description": "Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.",
|
|
5522
|
+
"items": {
|
|
5523
|
+
"type": "string",
|
|
5524
|
+
"description": "website_types parameter",
|
|
5525
|
+
"enum": [
|
|
5526
|
+
"wordpress",
|
|
5527
|
+
"builder",
|
|
5528
|
+
"horizons",
|
|
5529
|
+
"nodejs",
|
|
5530
|
+
"other"
|
|
5531
|
+
]
|
|
5532
|
+
}
|
|
5544
5533
|
}
|
|
5545
5534
|
},
|
|
5546
5535
|
"required": []
|
|
@@ -10928,7 +10917,7 @@ const tools: OpenApiTool[] = [
|
|
|
10928
10917
|
},
|
|
10929
10918
|
"domain": {
|
|
10930
10919
|
"type": "string",
|
|
10931
|
-
"description": "Filter by domain name (
|
|
10920
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
10932
10921
|
},
|
|
10933
10922
|
"ownership": {
|
|
10934
10923
|
"type": "string",
|
|
@@ -11552,7 +11541,7 @@ const tools: OpenApiTool[] = [
|
|
|
11552
11541
|
"properties": {
|
|
11553
11542
|
"domain": {
|
|
11554
11543
|
"type": "string",
|
|
11555
|
-
"description": "Filter by domain name (
|
|
11544
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
11556
11545
|
}
|
|
11557
11546
|
},
|
|
11558
11547
|
"required": []
|
|
@@ -530,7 +530,7 @@ export default [
|
|
|
530
530
|
},
|
|
531
531
|
"domain": {
|
|
532
532
|
"type": "string",
|
|
533
|
-
"description": "Filter by domain name (
|
|
533
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
534
534
|
},
|
|
535
535
|
"is_assigned": {
|
|
536
536
|
"type": "boolean",
|
|
@@ -1340,100 +1340,6 @@ export default [
|
|
|
1340
1340
|
],
|
|
1341
1341
|
"group": "hosting"
|
|
1342
1342
|
},
|
|
1343
|
-
{
|
|
1344
|
-
"name": "hosting_createNodeJSBuildFromArchiveV1",
|
|
1345
|
-
"description": "Upload a project archive, auto-detect build settings, and immediately start a Node.js build.\n\nWARNING: on success this overwrites the website's existing contents and cannot be\nundone — verify this is intended before calling this endpoint.\n\nThis is the recommended single-step approach for deploying a Node.js application.\nThe archive is uploaded to the website's file storage, build settings are auto-detected\nfrom the package.json inside the archive, and the build process starts automatically.\nOptional override fields take precedence over auto-detected values.\nMaximum archive size is 50MB.\n\nBefore archiving, exclude `node_modules/` and any build output directories\n(e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build\nprocess runs the install step automatically, and including them unnecessarily\nincreases the archive size. This also helps keep the archive well under the 50MB limit.\n\nExample (zip):\n```\nzip -r archive.zip . --exclude \"node_modules/*\" --exclude \"dist/*\"\n```\n\nThe returned build `uuid` can be used to poll progress and retrieve logs via\nthe `Get Node.js Build Logs` endpoint.",
|
|
1346
|
-
"method": "POST",
|
|
1347
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive",
|
|
1348
|
-
"inputSchema": {
|
|
1349
|
-
"type": "object",
|
|
1350
|
-
"properties": {
|
|
1351
|
-
"username": {
|
|
1352
|
-
"type": "string",
|
|
1353
|
-
"description": "username parameter"
|
|
1354
|
-
},
|
|
1355
|
-
"domain": {
|
|
1356
|
-
"type": "string",
|
|
1357
|
-
"description": "Domain name"
|
|
1358
|
-
},
|
|
1359
|
-
"archive": {
|
|
1360
|
-
"type": "string",
|
|
1361
|
-
"description": "Project archive file (.zip, .tar.gz, or .tgz), maximum 50MB"
|
|
1362
|
-
},
|
|
1363
|
-
"node_version": {
|
|
1364
|
-
"type": "integer",
|
|
1365
|
-
"description": "Node.js version override (auto-detected from package.json if omitted)",
|
|
1366
|
-
"enum": [
|
|
1367
|
-
18,
|
|
1368
|
-
20,
|
|
1369
|
-
22,
|
|
1370
|
-
24
|
|
1371
|
-
]
|
|
1372
|
-
},
|
|
1373
|
-
"app_type": {
|
|
1374
|
-
"type": "string",
|
|
1375
|
-
"description": "Node.js application type override",
|
|
1376
|
-
"enum": [
|
|
1377
|
-
"create-react-app",
|
|
1378
|
-
"gatsby",
|
|
1379
|
-
"vite",
|
|
1380
|
-
"angular",
|
|
1381
|
-
"react",
|
|
1382
|
-
"vue",
|
|
1383
|
-
"parcel",
|
|
1384
|
-
"next",
|
|
1385
|
-
"nuxt",
|
|
1386
|
-
"nest",
|
|
1387
|
-
"express",
|
|
1388
|
-
"fastify",
|
|
1389
|
-
"astro",
|
|
1390
|
-
"svelte",
|
|
1391
|
-
"svelte-kit",
|
|
1392
|
-
"hono",
|
|
1393
|
-
"react-router",
|
|
1394
|
-
"nitro",
|
|
1395
|
-
"other"
|
|
1396
|
-
]
|
|
1397
|
-
},
|
|
1398
|
-
"root_directory": {
|
|
1399
|
-
"type": "string",
|
|
1400
|
-
"description": "Application root directory override (where package.json is located) relative to public_html"
|
|
1401
|
-
},
|
|
1402
|
-
"output_directory": {
|
|
1403
|
-
"type": "string",
|
|
1404
|
-
"description": "Build output directory override relative to the root directory"
|
|
1405
|
-
},
|
|
1406
|
-
"build_script": {
|
|
1407
|
-
"type": "string",
|
|
1408
|
-
"description": "Build script override"
|
|
1409
|
-
},
|
|
1410
|
-
"entry_file": {
|
|
1411
|
-
"type": "string",
|
|
1412
|
-
"description": "Main entry point file override"
|
|
1413
|
-
},
|
|
1414
|
-
"package_manager": {
|
|
1415
|
-
"type": "string",
|
|
1416
|
-
"description": "Package manager override",
|
|
1417
|
-
"enum": [
|
|
1418
|
-
"npm",
|
|
1419
|
-
"yarn",
|
|
1420
|
-
"pnpm"
|
|
1421
|
-
]
|
|
1422
|
-
}
|
|
1423
|
-
},
|
|
1424
|
-
"required": [
|
|
1425
|
-
"username",
|
|
1426
|
-
"domain",
|
|
1427
|
-
"archive"
|
|
1428
|
-
]
|
|
1429
|
-
},
|
|
1430
|
-
"security": [
|
|
1431
|
-
{
|
|
1432
|
-
"apiToken": []
|
|
1433
|
-
}
|
|
1434
|
-
],
|
|
1435
|
-
"group": "hosting"
|
|
1436
|
-
},
|
|
1437
1343
|
{
|
|
1438
1344
|
"name": "hosting_getNode_jsBuildSettingsFromArchiveV1",
|
|
1439
1345
|
"description": "Auto-detect Node.js build settings from a package.json inside an archive already on the server.\n\nUse this before calling `Start Node.js Build` to preview what settings will be used,\nor to let the user review and override values (framework, node version, root directory,\noutput directory, build script) before committing to a build.\n\nThe archive must already be present on the website's file storage. Use the\n`Generate Upload URL` endpoint to obtain credentials and upload the archive first.\nTo upload an archive and start a build in one step without inspecting settings first,\nuse the `Create Node.js Build from Archive` endpoint instead.",
|
|
@@ -1978,7 +1884,7 @@ export default [
|
|
|
1978
1884
|
},
|
|
1979
1885
|
{
|
|
1980
1886
|
"name": "hosting_listWebsitesV1",
|
|
1981
|
-
"description": "Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the\nauthenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nEach website includes a `website_type` field describing the type of\nwebsite detected on the underlying platform (`wordpress`, `builder`,\n`horizons`, `nodejs`, or `other`). Some fields, such as\n`vhost_type`, `username`, and `root_directory`, only apply to\nCloudLinux websites and are null for other platforms.\n\nUse the available query parameters to
|
|
1887
|
+
"description": "Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the\nauthenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nEach website includes a `website_type` field describing the type of\nwebsite detected on the underlying platform (`wordpress`, `builder`,\n`horizons`, `nodejs`, or `other`). Some fields, such as\n`vhost_type`, `username`, and `root_directory`, only apply to\nCloudLinux websites and are null for other platforms.\n\nUse `website_types` to list only websites of a given detected type, e.g. only\nWordPress websites (`website_types=wordpress`) or only Node.js websites\n(`website_types=nodejs`). Combine with the other available query parameters to\nfilter by username, order ID, enabled status, or domain name for more targeted\nresults.",
|
|
1982
1888
|
"method": "GET",
|
|
1983
1889
|
"path": "/api/hosting/v1/websites",
|
|
1984
1890
|
"inputSchema": {
|
|
@@ -2006,7 +1912,22 @@ export default [
|
|
|
2006
1912
|
},
|
|
2007
1913
|
"domain": {
|
|
2008
1914
|
"type": "string",
|
|
2009
|
-
"description": "Filter by domain name (
|
|
1915
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
1916
|
+
},
|
|
1917
|
+
"website_types": {
|
|
1918
|
+
"type": "array",
|
|
1919
|
+
"description": "Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.",
|
|
1920
|
+
"items": {
|
|
1921
|
+
"type": "string",
|
|
1922
|
+
"description": "website_types parameter",
|
|
1923
|
+
"enum": [
|
|
1924
|
+
"wordpress",
|
|
1925
|
+
"builder",
|
|
1926
|
+
"horizons",
|
|
1927
|
+
"nodejs",
|
|
1928
|
+
"other"
|
|
1929
|
+
]
|
|
1930
|
+
}
|
|
2010
1931
|
}
|
|
2011
1932
|
},
|
|
2012
1933
|
"required": []
|
|
@@ -544,7 +544,7 @@ const tools: OpenApiTool[] = [
|
|
|
544
544
|
},
|
|
545
545
|
"domain": {
|
|
546
546
|
"type": "string",
|
|
547
|
-
"description": "Filter by domain name (
|
|
547
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
548
548
|
},
|
|
549
549
|
"is_assigned": {
|
|
550
550
|
"type": "boolean",
|
|
@@ -1354,100 +1354,6 @@ const tools: OpenApiTool[] = [
|
|
|
1354
1354
|
],
|
|
1355
1355
|
"group": "hosting"
|
|
1356
1356
|
},
|
|
1357
|
-
{
|
|
1358
|
-
"name": "hosting_createNodeJSBuildFromArchiveV1",
|
|
1359
|
-
"description": "Upload a project archive, auto-detect build settings, and immediately start a Node.js build.\n\nWARNING: on success this overwrites the website's existing contents and cannot be\nundone — verify this is intended before calling this endpoint.\n\nThis is the recommended single-step approach for deploying a Node.js application.\nThe archive is uploaded to the website's file storage, build settings are auto-detected\nfrom the package.json inside the archive, and the build process starts automatically.\nOptional override fields take precedence over auto-detected values.\nMaximum archive size is 50MB.\n\nBefore archiving, exclude `node_modules/` and any build output directories\n(e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build\nprocess runs the install step automatically, and including them unnecessarily\nincreases the archive size. This also helps keep the archive well under the 50MB limit.\n\nExample (zip):\n```\nzip -r archive.zip . --exclude \"node_modules/*\" --exclude \"dist/*\"\n```\n\nThe returned build `uuid` can be used to poll progress and retrieve logs via\nthe `Get Node.js Build Logs` endpoint.",
|
|
1360
|
-
"method": "POST",
|
|
1361
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive",
|
|
1362
|
-
"inputSchema": {
|
|
1363
|
-
"type": "object",
|
|
1364
|
-
"properties": {
|
|
1365
|
-
"username": {
|
|
1366
|
-
"type": "string",
|
|
1367
|
-
"description": "username parameter"
|
|
1368
|
-
},
|
|
1369
|
-
"domain": {
|
|
1370
|
-
"type": "string",
|
|
1371
|
-
"description": "Domain name"
|
|
1372
|
-
},
|
|
1373
|
-
"archive": {
|
|
1374
|
-
"type": "string",
|
|
1375
|
-
"description": "Project archive file (.zip, .tar.gz, or .tgz), maximum 50MB"
|
|
1376
|
-
},
|
|
1377
|
-
"node_version": {
|
|
1378
|
-
"type": "integer",
|
|
1379
|
-
"description": "Node.js version override (auto-detected from package.json if omitted)",
|
|
1380
|
-
"enum": [
|
|
1381
|
-
18,
|
|
1382
|
-
20,
|
|
1383
|
-
22,
|
|
1384
|
-
24
|
|
1385
|
-
]
|
|
1386
|
-
},
|
|
1387
|
-
"app_type": {
|
|
1388
|
-
"type": "string",
|
|
1389
|
-
"description": "Node.js application type override",
|
|
1390
|
-
"enum": [
|
|
1391
|
-
"create-react-app",
|
|
1392
|
-
"gatsby",
|
|
1393
|
-
"vite",
|
|
1394
|
-
"angular",
|
|
1395
|
-
"react",
|
|
1396
|
-
"vue",
|
|
1397
|
-
"parcel",
|
|
1398
|
-
"next",
|
|
1399
|
-
"nuxt",
|
|
1400
|
-
"nest",
|
|
1401
|
-
"express",
|
|
1402
|
-
"fastify",
|
|
1403
|
-
"astro",
|
|
1404
|
-
"svelte",
|
|
1405
|
-
"svelte-kit",
|
|
1406
|
-
"hono",
|
|
1407
|
-
"react-router",
|
|
1408
|
-
"nitro",
|
|
1409
|
-
"other"
|
|
1410
|
-
]
|
|
1411
|
-
},
|
|
1412
|
-
"root_directory": {
|
|
1413
|
-
"type": "string",
|
|
1414
|
-
"description": "Application root directory override (where package.json is located) relative to public_html"
|
|
1415
|
-
},
|
|
1416
|
-
"output_directory": {
|
|
1417
|
-
"type": "string",
|
|
1418
|
-
"description": "Build output directory override relative to the root directory"
|
|
1419
|
-
},
|
|
1420
|
-
"build_script": {
|
|
1421
|
-
"type": "string",
|
|
1422
|
-
"description": "Build script override"
|
|
1423
|
-
},
|
|
1424
|
-
"entry_file": {
|
|
1425
|
-
"type": "string",
|
|
1426
|
-
"description": "Main entry point file override"
|
|
1427
|
-
},
|
|
1428
|
-
"package_manager": {
|
|
1429
|
-
"type": "string",
|
|
1430
|
-
"description": "Package manager override",
|
|
1431
|
-
"enum": [
|
|
1432
|
-
"npm",
|
|
1433
|
-
"yarn",
|
|
1434
|
-
"pnpm"
|
|
1435
|
-
]
|
|
1436
|
-
}
|
|
1437
|
-
},
|
|
1438
|
-
"required": [
|
|
1439
|
-
"username",
|
|
1440
|
-
"domain",
|
|
1441
|
-
"archive"
|
|
1442
|
-
]
|
|
1443
|
-
},
|
|
1444
|
-
"security": [
|
|
1445
|
-
{
|
|
1446
|
-
"apiToken": []
|
|
1447
|
-
}
|
|
1448
|
-
],
|
|
1449
|
-
"group": "hosting"
|
|
1450
|
-
},
|
|
1451
1357
|
{
|
|
1452
1358
|
"name": "hosting_getNode_jsBuildSettingsFromArchiveV1",
|
|
1453
1359
|
"description": "Auto-detect Node.js build settings from a package.json inside an archive already on the server.\n\nUse this before calling `Start Node.js Build` to preview what settings will be used,\nor to let the user review and override values (framework, node version, root directory,\noutput directory, build script) before committing to a build.\n\nThe archive must already be present on the website's file storage. Use the\n`Generate Upload URL` endpoint to obtain credentials and upload the archive first.\nTo upload an archive and start a build in one step without inspecting settings first,\nuse the `Create Node.js Build from Archive` endpoint instead.",
|
|
@@ -1992,7 +1898,7 @@ const tools: OpenApiTool[] = [
|
|
|
1992
1898
|
},
|
|
1993
1899
|
{
|
|
1994
1900
|
"name": "hosting_listWebsitesV1",
|
|
1995
|
-
"description": "Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the\nauthenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nEach website includes a `website_type` field describing the type of\nwebsite detected on the underlying platform (`wordpress`, `builder`,\n`horizons`, `nodejs`, or `other`). Some fields, such as\n`vhost_type`, `username`, and `root_directory`, only apply to\nCloudLinux websites and are null for other platforms.\n\nUse the available query parameters to
|
|
1901
|
+
"description": "Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the\nauthenticated client.\n\nThis endpoint returns websites from your hosting accounts as well as\nwebsites from other client hosting accounts that have shared access\nwith you.\n\nEach website includes a `website_type` field describing the type of\nwebsite detected on the underlying platform (`wordpress`, `builder`,\n`horizons`, `nodejs`, or `other`). Some fields, such as\n`vhost_type`, `username`, and `root_directory`, only apply to\nCloudLinux websites and are null for other platforms.\n\nUse `website_types` to list only websites of a given detected type, e.g. only\nWordPress websites (`website_types=wordpress`) or only Node.js websites\n(`website_types=nodejs`). Combine with the other available query parameters to\nfilter by username, order ID, enabled status, or domain name for more targeted\nresults.",
|
|
1996
1902
|
"method": "GET",
|
|
1997
1903
|
"path": "/api/hosting/v1/websites",
|
|
1998
1904
|
"inputSchema": {
|
|
@@ -2020,7 +1926,22 @@ const tools: OpenApiTool[] = [
|
|
|
2020
1926
|
},
|
|
2021
1927
|
"domain": {
|
|
2022
1928
|
"type": "string",
|
|
2023
|
-
"description": "Filter by domain name (
|
|
1929
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
1930
|
+
},
|
|
1931
|
+
"website_types": {
|
|
1932
|
+
"type": "array",
|
|
1933
|
+
"description": "Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.",
|
|
1934
|
+
"items": {
|
|
1935
|
+
"type": "string",
|
|
1936
|
+
"description": "website_types parameter",
|
|
1937
|
+
"enum": [
|
|
1938
|
+
"wordpress",
|
|
1939
|
+
"builder",
|
|
1940
|
+
"horizons",
|
|
1941
|
+
"nodejs",
|
|
1942
|
+
"other"
|
|
1943
|
+
]
|
|
1944
|
+
}
|
|
2024
1945
|
}
|
|
2025
1946
|
},
|
|
2026
1947
|
"required": []
|
|
@@ -320,7 +320,7 @@ export default [
|
|
|
320
320
|
},
|
|
321
321
|
"domain": {
|
|
322
322
|
"type": "string",
|
|
323
|
-
"description": "Filter by domain name (
|
|
323
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
324
324
|
},
|
|
325
325
|
"ownership": {
|
|
326
326
|
"type": "string",
|
|
@@ -944,7 +944,7 @@ export default [
|
|
|
944
944
|
"properties": {
|
|
945
945
|
"domain": {
|
|
946
946
|
"type": "string",
|
|
947
|
-
"description": "Filter by domain name (
|
|
947
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
948
948
|
}
|
|
949
949
|
},
|
|
950
950
|
"required": []
|
|
@@ -334,7 +334,7 @@ const tools: OpenApiTool[] = [
|
|
|
334
334
|
},
|
|
335
335
|
"domain": {
|
|
336
336
|
"type": "string",
|
|
337
|
-
"description": "Filter by domain name (
|
|
337
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
338
338
|
},
|
|
339
339
|
"ownership": {
|
|
340
340
|
"type": "string",
|
|
@@ -958,7 +958,7 @@ const tools: OpenApiTool[] = [
|
|
|
958
958
|
"properties": {
|
|
959
959
|
"domain": {
|
|
960
960
|
"type": "string",
|
|
961
|
-
"description": "Filter by domain name (
|
|
961
|
+
"description": "Filter by domain name (case-insensitive substring match)"
|
|
962
962
|
}
|
|
963
963
|
},
|
|
964
964
|
"required": []
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.45.1', tools });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.45.1', tools });
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED