hostinger-api-mcp 1.45.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 +2 -31
- 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 +0 -94
- package/src/core/tools/all.ts +0 -94
- package/src/core/tools/hosting.js +0 -94
- package/src/core/tools/hosting.ts +0 -94
- 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 +0 -71
package/README.md
CHANGED
|
@@ -69,14 +69,14 @@ pnpm update -g hostinger-api-mcp
|
|
|
69
69
|
|
|
70
70
|
This package installs the following MCP server commands:
|
|
71
71
|
|
|
72
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
72
|
+
- `hostinger-api-mcp` — unified server with every tool (350 total)
|
|
73
73
|
- `hostinger-agency-hosting-mcp` — 38 tools for agency-hosting
|
|
74
74
|
- `hostinger-billing-mcp` — 9 tools for billing
|
|
75
75
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
76
76
|
- `hostinger-domains-mcp` — 40 tools for domains
|
|
77
77
|
- `hostinger-ecommerce-mcp` — 14 tools for ecommerce
|
|
78
78
|
- `hostinger-horizons-mcp` — 2 tools for horizons
|
|
79
|
-
- `hostinger-hosting-mcp` —
|
|
79
|
+
- `hostinger-hosting-mcp` — 56 tools for hosting
|
|
80
80
|
- `hostinger-mail-mcp` — 38 tools for mail
|
|
81
81
|
- `hostinger-reach-mcp` — 45 tools for reach
|
|
82
82
|
- `hostinger-vps-mcp` — 62 tools for vps
|
|
@@ -1841,35 +1841,6 @@ the `Get Node.js Build Logs` endpoint.
|
|
|
1841
1841
|
- **Method**: `POST`
|
|
1842
1842
|
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds`
|
|
1843
1843
|
|
|
1844
|
-
#### hosting_createNodeJSBuildFromArchiveV1
|
|
1845
|
-
|
|
1846
|
-
Upload a project archive, auto-detect build settings, and immediately start a Node.js build.
|
|
1847
|
-
|
|
1848
|
-
WARNING: on success this overwrites the website's existing contents and cannot be
|
|
1849
|
-
undone — verify this is intended before calling this endpoint.
|
|
1850
|
-
|
|
1851
|
-
This is the recommended single-step approach for deploying a Node.js application.
|
|
1852
|
-
The archive is uploaded to the website's file storage, build settings are auto-detected
|
|
1853
|
-
from the package.json inside the archive, and the build process starts automatically.
|
|
1854
|
-
Optional override fields take precedence over auto-detected values.
|
|
1855
|
-
Maximum archive size is 50MB.
|
|
1856
|
-
|
|
1857
|
-
Before archiving, exclude `node_modules/` and any build output directories
|
|
1858
|
-
(e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build
|
|
1859
|
-
process runs the install step automatically, and including them unnecessarily
|
|
1860
|
-
increases the archive size. This also helps keep the archive well under the 50MB limit.
|
|
1861
|
-
|
|
1862
|
-
Example (zip):
|
|
1863
|
-
```
|
|
1864
|
-
zip -r archive.zip . --exclude "node_modules/*" --exclude "dist/*"
|
|
1865
|
-
```
|
|
1866
|
-
|
|
1867
|
-
The returned build `uuid` can be used to poll progress and retrieve logs via
|
|
1868
|
-
the `Get Node.js Build Logs` endpoint.
|
|
1869
|
-
|
|
1870
|
-
- **Method**: `POST`
|
|
1871
|
-
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive`
|
|
1872
|
-
|
|
1873
1844
|
#### hosting_getNode_jsBuildSettingsFromArchiveV1
|
|
1874
1845
|
|
|
1875
1846
|
Auto-detect Node.js build settings from a package.json inside an archive already on the server.
|
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.45.
|
|
9
|
+
"version": "1.45.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.45.
|
|
14
|
+
"version": "1.45.1",
|
|
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
|
@@ -4928,100 +4928,6 @@ export default [
|
|
|
4928
4928
|
],
|
|
4929
4929
|
"group": "hosting"
|
|
4930
4930
|
},
|
|
4931
|
-
{
|
|
4932
|
-
"name": "hosting_createNodeJSBuildFromArchiveV1",
|
|
4933
|
-
"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.",
|
|
4934
|
-
"method": "POST",
|
|
4935
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive",
|
|
4936
|
-
"inputSchema": {
|
|
4937
|
-
"type": "object",
|
|
4938
|
-
"properties": {
|
|
4939
|
-
"username": {
|
|
4940
|
-
"type": "string",
|
|
4941
|
-
"description": "username parameter"
|
|
4942
|
-
},
|
|
4943
|
-
"domain": {
|
|
4944
|
-
"type": "string",
|
|
4945
|
-
"description": "Domain name"
|
|
4946
|
-
},
|
|
4947
|
-
"archive": {
|
|
4948
|
-
"type": "string",
|
|
4949
|
-
"description": "Project archive file (.zip, .tar.gz, or .tgz), maximum 50MB"
|
|
4950
|
-
},
|
|
4951
|
-
"node_version": {
|
|
4952
|
-
"type": "integer",
|
|
4953
|
-
"description": "Node.js version override (auto-detected from package.json if omitted)",
|
|
4954
|
-
"enum": [
|
|
4955
|
-
18,
|
|
4956
|
-
20,
|
|
4957
|
-
22,
|
|
4958
|
-
24
|
|
4959
|
-
]
|
|
4960
|
-
},
|
|
4961
|
-
"app_type": {
|
|
4962
|
-
"type": "string",
|
|
4963
|
-
"description": "Node.js application type override",
|
|
4964
|
-
"enum": [
|
|
4965
|
-
"create-react-app",
|
|
4966
|
-
"gatsby",
|
|
4967
|
-
"vite",
|
|
4968
|
-
"angular",
|
|
4969
|
-
"react",
|
|
4970
|
-
"vue",
|
|
4971
|
-
"parcel",
|
|
4972
|
-
"next",
|
|
4973
|
-
"nuxt",
|
|
4974
|
-
"nest",
|
|
4975
|
-
"express",
|
|
4976
|
-
"fastify",
|
|
4977
|
-
"astro",
|
|
4978
|
-
"svelte",
|
|
4979
|
-
"svelte-kit",
|
|
4980
|
-
"hono",
|
|
4981
|
-
"react-router",
|
|
4982
|
-
"nitro",
|
|
4983
|
-
"other"
|
|
4984
|
-
]
|
|
4985
|
-
},
|
|
4986
|
-
"root_directory": {
|
|
4987
|
-
"type": "string",
|
|
4988
|
-
"description": "Application root directory override (where package.json is located) relative to public_html"
|
|
4989
|
-
},
|
|
4990
|
-
"output_directory": {
|
|
4991
|
-
"type": "string",
|
|
4992
|
-
"description": "Build output directory override relative to the root directory"
|
|
4993
|
-
},
|
|
4994
|
-
"build_script": {
|
|
4995
|
-
"type": "string",
|
|
4996
|
-
"description": "Build script override"
|
|
4997
|
-
},
|
|
4998
|
-
"entry_file": {
|
|
4999
|
-
"type": "string",
|
|
5000
|
-
"description": "Main entry point file override"
|
|
5001
|
-
},
|
|
5002
|
-
"package_manager": {
|
|
5003
|
-
"type": "string",
|
|
5004
|
-
"description": "Package manager override",
|
|
5005
|
-
"enum": [
|
|
5006
|
-
"npm",
|
|
5007
|
-
"yarn",
|
|
5008
|
-
"pnpm"
|
|
5009
|
-
]
|
|
5010
|
-
}
|
|
5011
|
-
},
|
|
5012
|
-
"required": [
|
|
5013
|
-
"username",
|
|
5014
|
-
"domain",
|
|
5015
|
-
"archive"
|
|
5016
|
-
]
|
|
5017
|
-
},
|
|
5018
|
-
"security": [
|
|
5019
|
-
{
|
|
5020
|
-
"apiToken": []
|
|
5021
|
-
}
|
|
5022
|
-
],
|
|
5023
|
-
"group": "hosting"
|
|
5024
|
-
},
|
|
5025
4931
|
{
|
|
5026
4932
|
"name": "hosting_getNode_jsBuildSettingsFromArchiveV1",
|
|
5027
4933
|
"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.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -4942,100 +4942,6 @@ const tools: OpenApiTool[] = [
|
|
|
4942
4942
|
],
|
|
4943
4943
|
"group": "hosting"
|
|
4944
4944
|
},
|
|
4945
|
-
{
|
|
4946
|
-
"name": "hosting_createNodeJSBuildFromArchiveV1",
|
|
4947
|
-
"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.",
|
|
4948
|
-
"method": "POST",
|
|
4949
|
-
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive",
|
|
4950
|
-
"inputSchema": {
|
|
4951
|
-
"type": "object",
|
|
4952
|
-
"properties": {
|
|
4953
|
-
"username": {
|
|
4954
|
-
"type": "string",
|
|
4955
|
-
"description": "username parameter"
|
|
4956
|
-
},
|
|
4957
|
-
"domain": {
|
|
4958
|
-
"type": "string",
|
|
4959
|
-
"description": "Domain name"
|
|
4960
|
-
},
|
|
4961
|
-
"archive": {
|
|
4962
|
-
"type": "string",
|
|
4963
|
-
"description": "Project archive file (.zip, .tar.gz, or .tgz), maximum 50MB"
|
|
4964
|
-
},
|
|
4965
|
-
"node_version": {
|
|
4966
|
-
"type": "integer",
|
|
4967
|
-
"description": "Node.js version override (auto-detected from package.json if omitted)",
|
|
4968
|
-
"enum": [
|
|
4969
|
-
18,
|
|
4970
|
-
20,
|
|
4971
|
-
22,
|
|
4972
|
-
24
|
|
4973
|
-
]
|
|
4974
|
-
},
|
|
4975
|
-
"app_type": {
|
|
4976
|
-
"type": "string",
|
|
4977
|
-
"description": "Node.js application type override",
|
|
4978
|
-
"enum": [
|
|
4979
|
-
"create-react-app",
|
|
4980
|
-
"gatsby",
|
|
4981
|
-
"vite",
|
|
4982
|
-
"angular",
|
|
4983
|
-
"react",
|
|
4984
|
-
"vue",
|
|
4985
|
-
"parcel",
|
|
4986
|
-
"next",
|
|
4987
|
-
"nuxt",
|
|
4988
|
-
"nest",
|
|
4989
|
-
"express",
|
|
4990
|
-
"fastify",
|
|
4991
|
-
"astro",
|
|
4992
|
-
"svelte",
|
|
4993
|
-
"svelte-kit",
|
|
4994
|
-
"hono",
|
|
4995
|
-
"react-router",
|
|
4996
|
-
"nitro",
|
|
4997
|
-
"other"
|
|
4998
|
-
]
|
|
4999
|
-
},
|
|
5000
|
-
"root_directory": {
|
|
5001
|
-
"type": "string",
|
|
5002
|
-
"description": "Application root directory override (where package.json is located) relative to public_html"
|
|
5003
|
-
},
|
|
5004
|
-
"output_directory": {
|
|
5005
|
-
"type": "string",
|
|
5006
|
-
"description": "Build output directory override relative to the root directory"
|
|
5007
|
-
},
|
|
5008
|
-
"build_script": {
|
|
5009
|
-
"type": "string",
|
|
5010
|
-
"description": "Build script override"
|
|
5011
|
-
},
|
|
5012
|
-
"entry_file": {
|
|
5013
|
-
"type": "string",
|
|
5014
|
-
"description": "Main entry point file override"
|
|
5015
|
-
},
|
|
5016
|
-
"package_manager": {
|
|
5017
|
-
"type": "string",
|
|
5018
|
-
"description": "Package manager override",
|
|
5019
|
-
"enum": [
|
|
5020
|
-
"npm",
|
|
5021
|
-
"yarn",
|
|
5022
|
-
"pnpm"
|
|
5023
|
-
]
|
|
5024
|
-
}
|
|
5025
|
-
},
|
|
5026
|
-
"required": [
|
|
5027
|
-
"username",
|
|
5028
|
-
"domain",
|
|
5029
|
-
"archive"
|
|
5030
|
-
]
|
|
5031
|
-
},
|
|
5032
|
-
"security": [
|
|
5033
|
-
{
|
|
5034
|
-
"apiToken": []
|
|
5035
|
-
}
|
|
5036
|
-
],
|
|
5037
|
-
"group": "hosting"
|
|
5038
|
-
},
|
|
5039
4945
|
{
|
|
5040
4946
|
"name": "hosting_getNode_jsBuildSettingsFromArchiveV1",
|
|
5041
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.",
|
|
@@ -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.",
|
|
@@ -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.",
|
|
@@ -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.45.
|
|
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.45.
|
|
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
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
package/src/servers/mail.js
CHANGED
package/src/servers/mail.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
package/types.d.ts
CHANGED
|
@@ -3296,77 +3296,6 @@ the `Get Node.js Build Logs` endpoint.
|
|
|
3296
3296
|
response: any; // Response structure will depend on the API
|
|
3297
3297
|
};
|
|
3298
3298
|
|
|
3299
|
-
/**
|
|
3300
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build.
|
|
3301
|
-
|
|
3302
|
-
WARNING: on success this overwrites the website's existing contents and cannot be
|
|
3303
|
-
undone — verify this is intended before calling this endpoint.
|
|
3304
|
-
|
|
3305
|
-
This is the recommended single-step approach for deploying a Node.js application.
|
|
3306
|
-
The archive is uploaded to the website's file storage, build settings are auto-detected
|
|
3307
|
-
from the package.json inside the archive, and the build process starts automatically.
|
|
3308
|
-
Optional override fields take precedence over auto-detected values.
|
|
3309
|
-
Maximum archive size is 50MB.
|
|
3310
|
-
|
|
3311
|
-
Before archiving, exclude `node_modules/` and any build output directories
|
|
3312
|
-
(e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build
|
|
3313
|
-
process runs the install step automatically, and including them unnecessarily
|
|
3314
|
-
increases the archive size. This also helps keep the archive well under the 50MB limit.
|
|
3315
|
-
|
|
3316
|
-
Example (zip):
|
|
3317
|
-
```
|
|
3318
|
-
zip -r archive.zip . --exclude "node_modules/*" --exclude "dist/*"
|
|
3319
|
-
```
|
|
3320
|
-
|
|
3321
|
-
The returned build `uuid` can be used to poll progress and retrieve logs via
|
|
3322
|
-
the `Get Node.js Build Logs` endpoint.
|
|
3323
|
-
*/
|
|
3324
|
-
"hosting_createNodeJSBuildFromArchiveV1": {
|
|
3325
|
-
params: {
|
|
3326
|
-
/**
|
|
3327
|
-
* username parameter
|
|
3328
|
-
*/
|
|
3329
|
-
username: string;
|
|
3330
|
-
/**
|
|
3331
|
-
* Domain name
|
|
3332
|
-
*/
|
|
3333
|
-
domain: string;
|
|
3334
|
-
/**
|
|
3335
|
-
* Project archive file (.zip, .tar.gz, or .tgz), maximum 50MB
|
|
3336
|
-
*/
|
|
3337
|
-
archive: string;
|
|
3338
|
-
/**
|
|
3339
|
-
* Node.js version override (auto-detected from package.json if omitted)
|
|
3340
|
-
*/
|
|
3341
|
-
node_version?: number;
|
|
3342
|
-
/**
|
|
3343
|
-
* Node.js application type override
|
|
3344
|
-
*/
|
|
3345
|
-
app_type?: string;
|
|
3346
|
-
/**
|
|
3347
|
-
* Application root directory override (where package.json is located) relative to public_html
|
|
3348
|
-
*/
|
|
3349
|
-
root_directory?: string;
|
|
3350
|
-
/**
|
|
3351
|
-
* Build output directory override relative to the root directory
|
|
3352
|
-
*/
|
|
3353
|
-
output_directory?: string;
|
|
3354
|
-
/**
|
|
3355
|
-
* Build script override
|
|
3356
|
-
*/
|
|
3357
|
-
build_script?: string;
|
|
3358
|
-
/**
|
|
3359
|
-
* Main entry point file override
|
|
3360
|
-
*/
|
|
3361
|
-
entry_file?: string;
|
|
3362
|
-
/**
|
|
3363
|
-
* Package manager override
|
|
3364
|
-
*/
|
|
3365
|
-
package_manager?: string;
|
|
3366
|
-
};
|
|
3367
|
-
response: any; // Response structure will depend on the API
|
|
3368
|
-
};
|
|
3369
|
-
|
|
3370
3299
|
/**
|
|
3371
3300
|
* Auto-detect Node.js build settings from a package.json inside an archive already on the server.
|
|
3372
3301
|
|