hostinger-api-mcp 0.2.6 → 0.2.7
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 +3 -3
- package/package.json +1 -1
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +3 -3
- package/src/core/tools/all.ts +3 -3
- package/src/core/tools/hosting.js +3 -3
- package/src/core/tools/hosting.ts +3 -3
- 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/hosting.js +1 -1
- package/src/servers/hosting.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/types.d.ts +3 -3
package/README.md
CHANGED
|
@@ -741,7 +741,7 @@ Skip this verification when using Hostinger's free subdomains (*.hostingersite.c
|
|
|
741
741
|
- **Method**: `POST`
|
|
742
742
|
- **Path**: `/api/hosting/v1/domains/verify-ownership`
|
|
743
743
|
|
|
744
|
-
####
|
|
744
|
+
#### hosting_listNodeJSBuildsV1
|
|
745
745
|
|
|
746
746
|
Retrieve a paginated list of Node.js build processes for a specific website.
|
|
747
747
|
|
|
@@ -752,7 +752,7 @@ Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs`
|
|
|
752
752
|
- **Method**: `GET`
|
|
753
753
|
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds`
|
|
754
754
|
|
|
755
|
-
####
|
|
755
|
+
#### hosting_createNodeJSBuildFromArchiveV1
|
|
756
756
|
|
|
757
757
|
Upload a project archive, auto-detect build settings, and immediately start a Node.js build.
|
|
758
758
|
|
|
@@ -778,7 +778,7 @@ the `Get Node.js Build Logs` endpoint.
|
|
|
778
778
|
- **Method**: `POST`
|
|
779
779
|
- **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive`
|
|
780
780
|
|
|
781
|
-
####
|
|
781
|
+
#### hosting_getNodeJSBuildLogsV1
|
|
782
782
|
|
|
783
783
|
Retrieve logs from a specific Node.js build process.
|
|
784
784
|
|
package/package.json
CHANGED
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
package/src/core/tools/all.js
CHANGED
|
@@ -1764,7 +1764,7 @@ export default [
|
|
|
1764
1764
|
"group": "hosting"
|
|
1765
1765
|
},
|
|
1766
1766
|
{
|
|
1767
|
-
"name": "
|
|
1767
|
+
"name": "hosting_listNodeJSBuildsV1",
|
|
1768
1768
|
"description": "Retrieve a paginated list of Node.js build processes for a specific website.\n\nEach build represents a single run of the Node.js build pipeline. Use the `states`\nquery parameter to filter results by build state (pending, running, completed, failed).\nUse the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.",
|
|
1769
1769
|
"method": "GET",
|
|
1770
1770
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds",
|
|
@@ -1815,7 +1815,7 @@ export default [
|
|
|
1815
1815
|
"group": "hosting"
|
|
1816
1816
|
},
|
|
1817
1817
|
{
|
|
1818
|
-
"name": "
|
|
1818
|
+
"name": "hosting_createNodeJSBuildFromArchiveV1",
|
|
1819
1819
|
"description": "Upload a project archive, auto-detect build settings, and immediately start a Node.js build.\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.",
|
|
1820
1820
|
"method": "POST",
|
|
1821
1821
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive",
|
|
@@ -1899,7 +1899,7 @@ export default [
|
|
|
1899
1899
|
"group": "hosting"
|
|
1900
1900
|
},
|
|
1901
1901
|
{
|
|
1902
|
-
"name": "
|
|
1902
|
+
"name": "hosting_getNodeJSBuildLogsV1",
|
|
1903
1903
|
"description": "Retrieve logs from a specific Node.js build process.\n\nTo stream live output while a build is running, poll this endpoint repeatedly\nwhile the build state is `running`, passing the previously returned `lines` count\nas `from_line` to fetch only new output since the last call.\nLog content may contain ANSI escape sequences (color codes).",
|
|
1904
1904
|
"method": "GET",
|
|
1905
1905
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -1774,7 +1774,7 @@ const tools: OpenApiTool[] = [
|
|
|
1774
1774
|
"group": "hosting"
|
|
1775
1775
|
},
|
|
1776
1776
|
{
|
|
1777
|
-
"name": "
|
|
1777
|
+
"name": "hosting_listNodeJSBuildsV1",
|
|
1778
1778
|
"description": "Retrieve a paginated list of Node.js build processes for a specific website.\n\nEach build represents a single run of the Node.js build pipeline. Use the `states`\nquery parameter to filter results by build state (pending, running, completed, failed).\nUse the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.",
|
|
1779
1779
|
"method": "GET",
|
|
1780
1780
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds",
|
|
@@ -1825,7 +1825,7 @@ const tools: OpenApiTool[] = [
|
|
|
1825
1825
|
"group": "hosting"
|
|
1826
1826
|
},
|
|
1827
1827
|
{
|
|
1828
|
-
"name": "
|
|
1828
|
+
"name": "hosting_createNodeJSBuildFromArchiveV1",
|
|
1829
1829
|
"description": "Upload a project archive, auto-detect build settings, and immediately start a Node.js build.\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.",
|
|
1830
1830
|
"method": "POST",
|
|
1831
1831
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive",
|
|
@@ -1909,7 +1909,7 @@ const tools: OpenApiTool[] = [
|
|
|
1909
1909
|
"group": "hosting"
|
|
1910
1910
|
},
|
|
1911
1911
|
{
|
|
1912
|
-
"name": "
|
|
1912
|
+
"name": "hosting_getNodeJSBuildLogsV1",
|
|
1913
1913
|
"description": "Retrieve logs from a specific Node.js build process.\n\nTo stream live output while a build is running, poll this endpoint repeatedly\nwhile the build state is `running`, passing the previously returned `lines` count\nas `from_line` to fetch only new output since the last call.\nLog content may contain ANSI escape sequences (color codes).",
|
|
1914
1914
|
"method": "GET",
|
|
1915
1915
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs",
|
|
@@ -734,7 +734,7 @@ export default [
|
|
|
734
734
|
"group": "hosting"
|
|
735
735
|
},
|
|
736
736
|
{
|
|
737
|
-
"name": "
|
|
737
|
+
"name": "hosting_listNodeJSBuildsV1",
|
|
738
738
|
"description": "Retrieve a paginated list of Node.js build processes for a specific website.\n\nEach build represents a single run of the Node.js build pipeline. Use the `states`\nquery parameter to filter results by build state (pending, running, completed, failed).\nUse the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.",
|
|
739
739
|
"method": "GET",
|
|
740
740
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds",
|
|
@@ -785,7 +785,7 @@ export default [
|
|
|
785
785
|
"group": "hosting"
|
|
786
786
|
},
|
|
787
787
|
{
|
|
788
|
-
"name": "
|
|
788
|
+
"name": "hosting_createNodeJSBuildFromArchiveV1",
|
|
789
789
|
"description": "Upload a project archive, auto-detect build settings, and immediately start a Node.js build.\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.",
|
|
790
790
|
"method": "POST",
|
|
791
791
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive",
|
|
@@ -869,7 +869,7 @@ export default [
|
|
|
869
869
|
"group": "hosting"
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
|
-
"name": "
|
|
872
|
+
"name": "hosting_getNodeJSBuildLogsV1",
|
|
873
873
|
"description": "Retrieve logs from a specific Node.js build process.\n\nTo stream live output while a build is running, poll this endpoint repeatedly\nwhile the build state is `running`, passing the previously returned `lines` count\nas `from_line` to fetch only new output since the last call.\nLog content may contain ANSI escape sequences (color codes).",
|
|
874
874
|
"method": "GET",
|
|
875
875
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs",
|
|
@@ -744,7 +744,7 @@ const tools: OpenApiTool[] = [
|
|
|
744
744
|
"group": "hosting"
|
|
745
745
|
},
|
|
746
746
|
{
|
|
747
|
-
"name": "
|
|
747
|
+
"name": "hosting_listNodeJSBuildsV1",
|
|
748
748
|
"description": "Retrieve a paginated list of Node.js build processes for a specific website.\n\nEach build represents a single run of the Node.js build pipeline. Use the `states`\nquery parameter to filter results by build state (pending, running, completed, failed).\nUse the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.",
|
|
749
749
|
"method": "GET",
|
|
750
750
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds",
|
|
@@ -795,7 +795,7 @@ const tools: OpenApiTool[] = [
|
|
|
795
795
|
"group": "hosting"
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
|
-
"name": "
|
|
798
|
+
"name": "hosting_createNodeJSBuildFromArchiveV1",
|
|
799
799
|
"description": "Upload a project archive, auto-detect build settings, and immediately start a Node.js build.\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.",
|
|
800
800
|
"method": "POST",
|
|
801
801
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive",
|
|
@@ -879,7 +879,7 @@ const tools: OpenApiTool[] = [
|
|
|
879
879
|
"group": "hosting"
|
|
880
880
|
},
|
|
881
881
|
{
|
|
882
|
-
"name": "
|
|
882
|
+
"name": "hosting_getNodeJSBuildLogsV1",
|
|
883
883
|
"description": "Retrieve logs from a specific Node.js build process.\n\nTo stream live output while a build is running, poll this endpoint repeatedly\nwhile the build state is `running`, passing the previously returned `lines` count\nas `from_line` to fetch only new output since the last call.\nLog content may contain ANSI escape sequences (color codes).",
|
|
884
884
|
"method": "GET",
|
|
885
885
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs",
|
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/hosting.js
CHANGED
package/src/servers/hosting.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/types.d.ts
CHANGED
|
@@ -1142,7 +1142,7 @@ Each build represents a single run of the Node.js build pipeline. Use the `state
|
|
|
1142
1142
|
query parameter to filter results by build state (pending, running, completed, failed).
|
|
1143
1143
|
Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.
|
|
1144
1144
|
*/
|
|
1145
|
-
"
|
|
1145
|
+
"hosting_listNodeJSBuildsV1": {
|
|
1146
1146
|
params: {
|
|
1147
1147
|
/**
|
|
1148
1148
|
* username parameter
|
|
@@ -1190,7 +1190,7 @@ zip -r archive.zip . --exclude "node_modules/*" --exclude "dist/*"
|
|
|
1190
1190
|
The returned build `uuid` can be used to poll progress and retrieve logs via
|
|
1191
1191
|
the `Get Node.js Build Logs` endpoint.
|
|
1192
1192
|
*/
|
|
1193
|
-
"
|
|
1193
|
+
"hosting_createNodeJSBuildFromArchiveV1": {
|
|
1194
1194
|
params: {
|
|
1195
1195
|
/**
|
|
1196
1196
|
* username parameter
|
|
@@ -1244,7 +1244,7 @@ while the build state is `running`, passing the previously returned `lines` coun
|
|
|
1244
1244
|
as `from_line` to fetch only new output since the last call.
|
|
1245
1245
|
Log content may contain ANSI escape sequences (color codes).
|
|
1246
1246
|
*/
|
|
1247
|
-
"
|
|
1247
|
+
"hosting_getNodeJSBuildLogsV1": {
|
|
1248
1248
|
params: {
|
|
1249
1249
|
/**
|
|
1250
1250
|
* username parameter
|