hostinger-api-mcp 3.10.4 → 3.11.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/CHANGELOG.md +24 -0
- package/README.md +3 -18
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/audit-hosting/SKILL.md +1 -1
- package/skills/deploy-to-hosting/SKILL.md +7 -18
- package/skills/headless/steps/05-design/SKILL.md +43 -19
- package/skills/headless/steps/05-design/logo-kit.mjs +231 -6
- package/skills/headless/steps/08-deploy/SKILL.md +6 -1
- package/skills/migrate-to-hosting/SKILL.md +1 -1
- package/skills/troubleshoot-website/SKILL.md +2 -2
- package/src/core/catalog.js +2 -1
- package/src/core/catalog.ts +3 -2
- package/src/core/instructions.agency-hosting.js +1 -1
- package/src/core/instructions.agency-hosting.ts +1 -1
- package/src/core/instructions.js +1 -1
- package/src/core/instructions.ts +1 -1
- package/src/core/runtime.js +116 -27
- package/src/core/runtime.ts +116 -27
- package/src/core/skills.js +21 -21
- package/src/core/skills.ts +21 -21
- package/src/core/tools/all.js +23 -9
- package/src/core/tools/all.ts +23 -9
- package/src/core/tools/hosting.js +23 -9
- package/src/core/tools/hosting.ts +23 -9
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/agent-readiness.js +1 -1
- package/src/servers/agent-readiness.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 +8 -8
package/src/core/tools/all.js
CHANGED
|
@@ -9,7 +9,7 @@ export default [
|
|
|
9
9
|
"destructiveHint": true
|
|
10
10
|
},
|
|
11
11
|
"topic": "hosting",
|
|
12
|
-
"description": "Deploy, publish or upload a website to Hostinger web hosting (Shared, Cloud): static HTML, PHP, a nodejs (Node.js) app, a whole WordPress site, or a WordPress plugin or theme, from a local directory, an archive or a GitHub or GitLab repository. It detects what the project is and does the upload, build and Git setup itself: do not call upload or build operations, and do not archive the directory yourself. WARNING: it overwrites the website's contents and cannot be undone; confirm the domain with the user before deploying to a site that already has content. A Node.js build runs on the server: this returns a buildUuid at once, then call hosting_get-deployment until the build state is completed or failed. A plugin or theme goes into the site's WordPress installation, also when WordPress is in a folder of the document root (headless). Static, PHP, plugin and theme deploys are done when this returns; a WordPress site import only starts, and its files are extracted a few minutes later. From Git, pass type (static or nodejs) unless the site already runs a Node.js app or you pass Node.js settings; a static or PHP site deploys the branch now and again on every push; a Node.js site builds the branch now and on every later push, with the settings stored for the site (when none are stored,
|
|
12
|
+
"description": "Deploy, publish or upload a website to Hostinger web hosting (Shared, Cloud): static HTML, PHP, a nodejs (Node.js) app, a whole WordPress site, or a WordPress plugin or theme, from a local directory, an archive or a GitHub or GitLab repository. It detects what the project is and does the upload, build and Git setup itself: do not call upload or build operations, and do not archive the directory yourself. WARNING: it overwrites the website's contents and cannot be undone; confirm the domain with the user before deploying to a site that already has content. A Node.js build runs on the server: this returns a buildUuid at once, then call hosting_get-deployment until the build state is completed or failed. A plugin or theme goes into the site's WordPress installation, also when WordPress is in a folder of the document root (headless). Static, PHP, plugin and theme deploys are done when this returns; a WordPress site import only starts, and its files are extracted a few minutes later. From Git, pass type (static or nodejs) unless the site already runs a Node.js app or you pass Node.js settings; a static or PHP site deploys the branch now and again on every push; a Node.js site builds the branch now and on every later push, with the settings stored for the site (when none are stored, they are detected from the branch's package.json; pass appType, nodeVersion, outputDirectory, buildScript or entryFile to override them). Git needs GitHub or GitLab connected once in hPanel.",
|
|
13
13
|
"method": "",
|
|
14
14
|
"path": "",
|
|
15
15
|
"inputSchema": {
|
|
@@ -38,6 +38,10 @@ export default [
|
|
|
38
38
|
"directory": {
|
|
39
39
|
"type": "string",
|
|
40
40
|
"description": "Folder under the website's document root to deploy into (static deploys only; default the document root), e.g. my-api"
|
|
41
|
+
},
|
|
42
|
+
"installationUuid": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "Git installation that can reach the repository, from hosting_git_list-installations. Only needed when the installation has more than 500 repositories, so the repository cannot be found by listing them."
|
|
41
45
|
}
|
|
42
46
|
},
|
|
43
47
|
"required": [
|
|
@@ -76,7 +80,7 @@ export default [
|
|
|
76
80
|
22,
|
|
77
81
|
24
|
|
78
82
|
],
|
|
79
|
-
"description": "Node.js major version (default: detected from an archive, or stored for the site, else
|
|
83
|
+
"description": "Node.js major version (default: detected from an archive, or stored for the site, else detected from the branch's package.json, else 22)"
|
|
80
84
|
},
|
|
81
85
|
"appType": {
|
|
82
86
|
"type": "string",
|
|
@@ -87,16 +91,25 @@ export default [
|
|
|
87
91
|
"description": "Directory with the package.json, relative to the site root (default .)"
|
|
88
92
|
},
|
|
89
93
|
"outputDirectory": {
|
|
90
|
-
"type":
|
|
91
|
-
|
|
94
|
+
"type": [
|
|
95
|
+
"string",
|
|
96
|
+
"null"
|
|
97
|
+
],
|
|
98
|
+
"description": "Build output directory relative to the root directory, e.g. dist. Pass null to clear a stored value."
|
|
92
99
|
},
|
|
93
100
|
"buildScript": {
|
|
94
|
-
"type":
|
|
95
|
-
|
|
101
|
+
"type": [
|
|
102
|
+
"string",
|
|
103
|
+
"null"
|
|
104
|
+
],
|
|
105
|
+
"description": "The package.json script that builds the app, e.g. build. Pass null to clear a stored value."
|
|
96
106
|
},
|
|
97
107
|
"entryFile": {
|
|
98
|
-
"type":
|
|
99
|
-
|
|
108
|
+
"type": [
|
|
109
|
+
"string",
|
|
110
|
+
"null"
|
|
111
|
+
],
|
|
112
|
+
"description": "Entry file of a server app. Relative to the root directory for express, fastify, hono, react-router and other; for a compiled (TypeScript) app give the built file, e.g. dist/server.js, because detection guesses a root-level file. Relative to the output directory for nest, nuxt, nitro, astro and svelte-kit (main.js, not dist/main.js). Ignored for next. Pass null to clear a stored value."
|
|
100
113
|
},
|
|
101
114
|
"packageManager": {
|
|
102
115
|
"type": "string",
|
|
@@ -8439,7 +8452,8 @@ export default [
|
|
|
8439
8452
|
"apiToken": []
|
|
8440
8453
|
}
|
|
8441
8454
|
],
|
|
8442
|
-
"group": "hosting"
|
|
8455
|
+
"group": "hosting",
|
|
8456
|
+
"hidden": true
|
|
8443
8457
|
},
|
|
8444
8458
|
{
|
|
8445
8459
|
"name": "hosting_nodejs_list-environment-variables",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -25,7 +25,7 @@ const tools: OpenApiTool[] = [
|
|
|
25
25
|
"destructiveHint": true
|
|
26
26
|
},
|
|
27
27
|
"topic": "hosting",
|
|
28
|
-
"description": "Deploy, publish or upload a website to Hostinger web hosting (Shared, Cloud): static HTML, PHP, a nodejs (Node.js) app, a whole WordPress site, or a WordPress plugin or theme, from a local directory, an archive or a GitHub or GitLab repository. It detects what the project is and does the upload, build and Git setup itself: do not call upload or build operations, and do not archive the directory yourself. WARNING: it overwrites the website's contents and cannot be undone; confirm the domain with the user before deploying to a site that already has content. A Node.js build runs on the server: this returns a buildUuid at once, then call hosting_get-deployment until the build state is completed or failed. A plugin or theme goes into the site's WordPress installation, also when WordPress is in a folder of the document root (headless). Static, PHP, plugin and theme deploys are done when this returns; a WordPress site import only starts, and its files are extracted a few minutes later. From Git, pass type (static or nodejs) unless the site already runs a Node.js app or you pass Node.js settings; a static or PHP site deploys the branch now and again on every push; a Node.js site builds the branch now and on every later push, with the settings stored for the site (when none are stored,
|
|
28
|
+
"description": "Deploy, publish or upload a website to Hostinger web hosting (Shared, Cloud): static HTML, PHP, a nodejs (Node.js) app, a whole WordPress site, or a WordPress plugin or theme, from a local directory, an archive or a GitHub or GitLab repository. It detects what the project is and does the upload, build and Git setup itself: do not call upload or build operations, and do not archive the directory yourself. WARNING: it overwrites the website's contents and cannot be undone; confirm the domain with the user before deploying to a site that already has content. A Node.js build runs on the server: this returns a buildUuid at once, then call hosting_get-deployment until the build state is completed or failed. A plugin or theme goes into the site's WordPress installation, also when WordPress is in a folder of the document root (headless). Static, PHP, plugin and theme deploys are done when this returns; a WordPress site import only starts, and its files are extracted a few minutes later. From Git, pass type (static or nodejs) unless the site already runs a Node.js app or you pass Node.js settings; a static or PHP site deploys the branch now and again on every push; a Node.js site builds the branch now and on every later push, with the settings stored for the site (when none are stored, they are detected from the branch's package.json; pass appType, nodeVersion, outputDirectory, buildScript or entryFile to override them). Git needs GitHub or GitLab connected once in hPanel.",
|
|
29
29
|
"method": "",
|
|
30
30
|
"path": "",
|
|
31
31
|
"inputSchema": {
|
|
@@ -54,6 +54,10 @@ const tools: OpenApiTool[] = [
|
|
|
54
54
|
"directory": {
|
|
55
55
|
"type": "string",
|
|
56
56
|
"description": "Folder under the website's document root to deploy into (static deploys only; default the document root), e.g. my-api"
|
|
57
|
+
},
|
|
58
|
+
"installationUuid": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "Git installation that can reach the repository, from hosting_git_list-installations. Only needed when the installation has more than 500 repositories, so the repository cannot be found by listing them."
|
|
57
61
|
}
|
|
58
62
|
},
|
|
59
63
|
"required": [
|
|
@@ -92,7 +96,7 @@ const tools: OpenApiTool[] = [
|
|
|
92
96
|
22,
|
|
93
97
|
24
|
|
94
98
|
],
|
|
95
|
-
"description": "Node.js major version (default: detected from an archive, or stored for the site, else
|
|
99
|
+
"description": "Node.js major version (default: detected from an archive, or stored for the site, else detected from the branch's package.json, else 22)"
|
|
96
100
|
},
|
|
97
101
|
"appType": {
|
|
98
102
|
"type": "string",
|
|
@@ -103,16 +107,25 @@ const tools: OpenApiTool[] = [
|
|
|
103
107
|
"description": "Directory with the package.json, relative to the site root (default .)"
|
|
104
108
|
},
|
|
105
109
|
"outputDirectory": {
|
|
106
|
-
"type":
|
|
107
|
-
|
|
110
|
+
"type": [
|
|
111
|
+
"string",
|
|
112
|
+
"null"
|
|
113
|
+
],
|
|
114
|
+
"description": "Build output directory relative to the root directory, e.g. dist. Pass null to clear a stored value."
|
|
108
115
|
},
|
|
109
116
|
"buildScript": {
|
|
110
|
-
"type":
|
|
111
|
-
|
|
117
|
+
"type": [
|
|
118
|
+
"string",
|
|
119
|
+
"null"
|
|
120
|
+
],
|
|
121
|
+
"description": "The package.json script that builds the app, e.g. build. Pass null to clear a stored value."
|
|
112
122
|
},
|
|
113
123
|
"entryFile": {
|
|
114
|
-
"type":
|
|
115
|
-
|
|
124
|
+
"type": [
|
|
125
|
+
"string",
|
|
126
|
+
"null"
|
|
127
|
+
],
|
|
128
|
+
"description": "Entry file of a server app. Relative to the root directory for express, fastify, hono, react-router and other; for a compiled (TypeScript) app give the built file, e.g. dist/server.js, because detection guesses a root-level file. Relative to the output directory for nest, nuxt, nitro, astro and svelte-kit (main.js, not dist/main.js). Ignored for next. Pass null to clear a stored value."
|
|
116
129
|
},
|
|
117
130
|
"packageManager": {
|
|
118
131
|
"type": "string",
|
|
@@ -8455,7 +8468,8 @@ const tools: OpenApiTool[] = [
|
|
|
8455
8468
|
"apiToken": []
|
|
8456
8469
|
}
|
|
8457
8470
|
],
|
|
8458
|
-
"group": "hosting"
|
|
8471
|
+
"group": "hosting",
|
|
8472
|
+
"hidden": true
|
|
8459
8473
|
},
|
|
8460
8474
|
{
|
|
8461
8475
|
"name": "hosting_nodejs_list-environment-variables",
|
|
@@ -9,7 +9,7 @@ export default [
|
|
|
9
9
|
"destructiveHint": true
|
|
10
10
|
},
|
|
11
11
|
"topic": "hosting",
|
|
12
|
-
"description": "Deploy, publish or upload a website to Hostinger web hosting (Shared, Cloud): static HTML, PHP, a nodejs (Node.js) app, a whole WordPress site, or a WordPress plugin or theme, from a local directory, an archive or a GitHub or GitLab repository. It detects what the project is and does the upload, build and Git setup itself: do not call upload or build operations, and do not archive the directory yourself. WARNING: it overwrites the website's contents and cannot be undone; confirm the domain with the user before deploying to a site that already has content. A Node.js build runs on the server: this returns a buildUuid at once, then call hosting_get-deployment until the build state is completed or failed. A plugin or theme goes into the site's WordPress installation, also when WordPress is in a folder of the document root (headless). Static, PHP, plugin and theme deploys are done when this returns; a WordPress site import only starts, and its files are extracted a few minutes later. From Git, pass type (static or nodejs) unless the site already runs a Node.js app or you pass Node.js settings; a static or PHP site deploys the branch now and again on every push; a Node.js site builds the branch now and on every later push, with the settings stored for the site (when none are stored,
|
|
12
|
+
"description": "Deploy, publish or upload a website to Hostinger web hosting (Shared, Cloud): static HTML, PHP, a nodejs (Node.js) app, a whole WordPress site, or a WordPress plugin or theme, from a local directory, an archive or a GitHub or GitLab repository. It detects what the project is and does the upload, build and Git setup itself: do not call upload or build operations, and do not archive the directory yourself. WARNING: it overwrites the website's contents and cannot be undone; confirm the domain with the user before deploying to a site that already has content. A Node.js build runs on the server: this returns a buildUuid at once, then call hosting_get-deployment until the build state is completed or failed. A plugin or theme goes into the site's WordPress installation, also when WordPress is in a folder of the document root (headless). Static, PHP, plugin and theme deploys are done when this returns; a WordPress site import only starts, and its files are extracted a few minutes later. From Git, pass type (static or nodejs) unless the site already runs a Node.js app or you pass Node.js settings; a static or PHP site deploys the branch now and again on every push; a Node.js site builds the branch now and on every later push, with the settings stored for the site (when none are stored, they are detected from the branch's package.json; pass appType, nodeVersion, outputDirectory, buildScript or entryFile to override them). Git needs GitHub or GitLab connected once in hPanel.",
|
|
13
13
|
"method": "",
|
|
14
14
|
"path": "",
|
|
15
15
|
"inputSchema": {
|
|
@@ -38,6 +38,10 @@ export default [
|
|
|
38
38
|
"directory": {
|
|
39
39
|
"type": "string",
|
|
40
40
|
"description": "Folder under the website's document root to deploy into (static deploys only; default the document root), e.g. my-api"
|
|
41
|
+
},
|
|
42
|
+
"installationUuid": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "Git installation that can reach the repository, from hosting_git_list-installations. Only needed when the installation has more than 500 repositories, so the repository cannot be found by listing them."
|
|
41
45
|
}
|
|
42
46
|
},
|
|
43
47
|
"required": [
|
|
@@ -76,7 +80,7 @@ export default [
|
|
|
76
80
|
22,
|
|
77
81
|
24
|
|
78
82
|
],
|
|
79
|
-
"description": "Node.js major version (default: detected from an archive, or stored for the site, else
|
|
83
|
+
"description": "Node.js major version (default: detected from an archive, or stored for the site, else detected from the branch's package.json, else 22)"
|
|
80
84
|
},
|
|
81
85
|
"appType": {
|
|
82
86
|
"type": "string",
|
|
@@ -87,16 +91,25 @@ export default [
|
|
|
87
91
|
"description": "Directory with the package.json, relative to the site root (default .)"
|
|
88
92
|
},
|
|
89
93
|
"outputDirectory": {
|
|
90
|
-
"type":
|
|
91
|
-
|
|
94
|
+
"type": [
|
|
95
|
+
"string",
|
|
96
|
+
"null"
|
|
97
|
+
],
|
|
98
|
+
"description": "Build output directory relative to the root directory, e.g. dist. Pass null to clear a stored value."
|
|
92
99
|
},
|
|
93
100
|
"buildScript": {
|
|
94
|
-
"type":
|
|
95
|
-
|
|
101
|
+
"type": [
|
|
102
|
+
"string",
|
|
103
|
+
"null"
|
|
104
|
+
],
|
|
105
|
+
"description": "The package.json script that builds the app, e.g. build. Pass null to clear a stored value."
|
|
96
106
|
},
|
|
97
107
|
"entryFile": {
|
|
98
|
-
"type":
|
|
99
|
-
|
|
108
|
+
"type": [
|
|
109
|
+
"string",
|
|
110
|
+
"null"
|
|
111
|
+
],
|
|
112
|
+
"description": "Entry file of a server app. Relative to the root directory for express, fastify, hono, react-router and other; for a compiled (TypeScript) app give the built file, e.g. dist/server.js, because detection guesses a root-level file. Relative to the output directory for nest, nuxt, nitro, astro and svelte-kit (main.js, not dist/main.js). Ignored for next. Pass null to clear a stored value."
|
|
100
113
|
},
|
|
101
114
|
"packageManager": {
|
|
102
115
|
"type": "string",
|
|
@@ -2749,7 +2762,8 @@ export default [
|
|
|
2749
2762
|
"apiToken": []
|
|
2750
2763
|
}
|
|
2751
2764
|
],
|
|
2752
|
-
"group": "hosting"
|
|
2765
|
+
"group": "hosting",
|
|
2766
|
+
"hidden": true
|
|
2753
2767
|
},
|
|
2754
2768
|
{
|
|
2755
2769
|
"name": "hosting_nodejs_list-environment-variables",
|
|
@@ -25,7 +25,7 @@ const tools: OpenApiTool[] = [
|
|
|
25
25
|
"destructiveHint": true
|
|
26
26
|
},
|
|
27
27
|
"topic": "hosting",
|
|
28
|
-
"description": "Deploy, publish or upload a website to Hostinger web hosting (Shared, Cloud): static HTML, PHP, a nodejs (Node.js) app, a whole WordPress site, or a WordPress plugin or theme, from a local directory, an archive or a GitHub or GitLab repository. It detects what the project is and does the upload, build and Git setup itself: do not call upload or build operations, and do not archive the directory yourself. WARNING: it overwrites the website's contents and cannot be undone; confirm the domain with the user before deploying to a site that already has content. A Node.js build runs on the server: this returns a buildUuid at once, then call hosting_get-deployment until the build state is completed or failed. A plugin or theme goes into the site's WordPress installation, also when WordPress is in a folder of the document root (headless). Static, PHP, plugin and theme deploys are done when this returns; a WordPress site import only starts, and its files are extracted a few minutes later. From Git, pass type (static or nodejs) unless the site already runs a Node.js app or you pass Node.js settings; a static or PHP site deploys the branch now and again on every push; a Node.js site builds the branch now and on every later push, with the settings stored for the site (when none are stored,
|
|
28
|
+
"description": "Deploy, publish or upload a website to Hostinger web hosting (Shared, Cloud): static HTML, PHP, a nodejs (Node.js) app, a whole WordPress site, or a WordPress plugin or theme, from a local directory, an archive or a GitHub or GitLab repository. It detects what the project is and does the upload, build and Git setup itself: do not call upload or build operations, and do not archive the directory yourself. WARNING: it overwrites the website's contents and cannot be undone; confirm the domain with the user before deploying to a site that already has content. A Node.js build runs on the server: this returns a buildUuid at once, then call hosting_get-deployment until the build state is completed or failed. A plugin or theme goes into the site's WordPress installation, also when WordPress is in a folder of the document root (headless). Static, PHP, plugin and theme deploys are done when this returns; a WordPress site import only starts, and its files are extracted a few minutes later. From Git, pass type (static or nodejs) unless the site already runs a Node.js app or you pass Node.js settings; a static or PHP site deploys the branch now and again on every push; a Node.js site builds the branch now and on every later push, with the settings stored for the site (when none are stored, they are detected from the branch's package.json; pass appType, nodeVersion, outputDirectory, buildScript or entryFile to override them). Git needs GitHub or GitLab connected once in hPanel.",
|
|
29
29
|
"method": "",
|
|
30
30
|
"path": "",
|
|
31
31
|
"inputSchema": {
|
|
@@ -54,6 +54,10 @@ const tools: OpenApiTool[] = [
|
|
|
54
54
|
"directory": {
|
|
55
55
|
"type": "string",
|
|
56
56
|
"description": "Folder under the website's document root to deploy into (static deploys only; default the document root), e.g. my-api"
|
|
57
|
+
},
|
|
58
|
+
"installationUuid": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "Git installation that can reach the repository, from hosting_git_list-installations. Only needed when the installation has more than 500 repositories, so the repository cannot be found by listing them."
|
|
57
61
|
}
|
|
58
62
|
},
|
|
59
63
|
"required": [
|
|
@@ -92,7 +96,7 @@ const tools: OpenApiTool[] = [
|
|
|
92
96
|
22,
|
|
93
97
|
24
|
|
94
98
|
],
|
|
95
|
-
"description": "Node.js major version (default: detected from an archive, or stored for the site, else
|
|
99
|
+
"description": "Node.js major version (default: detected from an archive, or stored for the site, else detected from the branch's package.json, else 22)"
|
|
96
100
|
},
|
|
97
101
|
"appType": {
|
|
98
102
|
"type": "string",
|
|
@@ -103,16 +107,25 @@ const tools: OpenApiTool[] = [
|
|
|
103
107
|
"description": "Directory with the package.json, relative to the site root (default .)"
|
|
104
108
|
},
|
|
105
109
|
"outputDirectory": {
|
|
106
|
-
"type":
|
|
107
|
-
|
|
110
|
+
"type": [
|
|
111
|
+
"string",
|
|
112
|
+
"null"
|
|
113
|
+
],
|
|
114
|
+
"description": "Build output directory relative to the root directory, e.g. dist. Pass null to clear a stored value."
|
|
108
115
|
},
|
|
109
116
|
"buildScript": {
|
|
110
|
-
"type":
|
|
111
|
-
|
|
117
|
+
"type": [
|
|
118
|
+
"string",
|
|
119
|
+
"null"
|
|
120
|
+
],
|
|
121
|
+
"description": "The package.json script that builds the app, e.g. build. Pass null to clear a stored value."
|
|
112
122
|
},
|
|
113
123
|
"entryFile": {
|
|
114
|
-
"type":
|
|
115
|
-
|
|
124
|
+
"type": [
|
|
125
|
+
"string",
|
|
126
|
+
"null"
|
|
127
|
+
],
|
|
128
|
+
"description": "Entry file of a server app. Relative to the root directory for express, fastify, hono, react-router and other; for a compiled (TypeScript) app give the built file, e.g. dist/server.js, because detection guesses a root-level file. Relative to the output directory for nest, nuxt, nitro, astro and svelte-kit (main.js, not dist/main.js). Ignored for next. Pass null to clear a stored value."
|
|
116
129
|
},
|
|
117
130
|
"packageManager": {
|
|
118
131
|
"type": "string",
|
|
@@ -2765,7 +2778,8 @@ const tools: OpenApiTool[] = [
|
|
|
2765
2778
|
"apiToken": []
|
|
2766
2779
|
}
|
|
2767
2780
|
],
|
|
2768
|
-
"group": "hosting"
|
|
2781
|
+
"group": "hosting",
|
|
2782
|
+
"hidden": true
|
|
2769
2783
|
},
|
|
2770
2784
|
{
|
|
2771
2785
|
"name": "hosting_nodejs_list-environment-variables",
|
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.agency-hosting.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.11.1', tools, instructions });
|
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/agency-hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.agency-hosting.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.11.1', tools, instructions });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agent-readiness.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.11.1', tools });
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
import { startServer } from '../core/runtime.js';
|
|
4
4
|
import tools from '../core/tools/agent-readiness.js';
|
|
5
5
|
|
|
6
|
-
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.11.1', tools });
|
package/src/servers/all.js
CHANGED
|
@@ -5,4 +5,4 @@ import tools from '../core/tools/all.js';
|
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
import skills from '../core/skills.js';
|
|
7
7
|
|
|
8
|
-
startServer({ name: 'hostinger-api-mcp', version: '3.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.11.1', tools, instructions, skills });
|
package/src/servers/all.ts
CHANGED
|
@@ -5,4 +5,4 @@ import tools from '../core/tools/all.js';
|
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
import skills from '../core/skills.js';
|
|
7
7
|
|
|
8
|
-
startServer({ name: 'hostinger-api-mcp', version: '3.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.11.1', tools, instructions, skills });
|
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
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-hosting-mcp', version: '3.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.11.1', tools, instructions });
|
package/src/servers/hosting.ts
CHANGED
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-hosting-mcp', version: '3.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.11.1', tools, instructions });
|
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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
export interface APITools {
|
|
7
7
|
/**
|
|
8
|
-
* Deploy, publish or upload a website to Hostinger web hosting (Shared, Cloud): static HTML, PHP, a nodejs (Node.js) app, a whole WordPress site, or a WordPress plugin or theme, from a local directory, an archive or a GitHub or GitLab repository. It detects what the project is and does the upload, build and Git setup itself: do not call upload or build operations, and do not archive the directory yourself. WARNING: it overwrites the website's contents and cannot be undone; confirm the domain with the user before deploying to a site that already has content. A Node.js build runs on the server: this returns a buildUuid at once, then call hosting_get-deployment until the build state is completed or failed. A plugin or theme goes into the site's WordPress installation, also when WordPress is in a folder of the document root (headless). Static, PHP, plugin and theme deploys are done when this returns; a WordPress site import only starts, and its files are extracted a few minutes later. From Git, pass type (static or nodejs) unless the site already runs a Node.js app or you pass Node.js settings; a static or PHP site deploys the branch now and again on every push; a Node.js site builds the branch now and on every later push, with the settings stored for the site (when none are stored,
|
|
8
|
+
* Deploy, publish or upload a website to Hostinger web hosting (Shared, Cloud): static HTML, PHP, a nodejs (Node.js) app, a whole WordPress site, or a WordPress plugin or theme, from a local directory, an archive or a GitHub or GitLab repository. It detects what the project is and does the upload, build and Git setup itself: do not call upload or build operations, and do not archive the directory yourself. WARNING: it overwrites the website's contents and cannot be undone; confirm the domain with the user before deploying to a site that already has content. A Node.js build runs on the server: this returns a buildUuid at once, then call hosting_get-deployment until the build state is completed or failed. A plugin or theme goes into the site's WordPress installation, also when WordPress is in a folder of the document root (headless). Static, PHP, plugin and theme deploys are done when this returns; a WordPress site import only starts, and its files are extracted a few minutes later. From Git, pass type (static or nodejs) unless the site already runs a Node.js app or you pass Node.js settings; a static or PHP site deploys the branch now and again on every push; a Node.js site builds the branch now and on every later push, with the settings stored for the site (when none are stored, they are detected from the branch's package.json; pass appType, nodeVersion, outputDirectory, buildScript or entryFile to override them). Git needs GitHub or GitLab connected once in hPanel.
|
|
9
9
|
*/
|
|
10
10
|
"hosting_deploy": {
|
|
11
11
|
params: {
|
|
@@ -38,7 +38,7 @@ export interface APITools {
|
|
|
38
38
|
*/
|
|
39
39
|
databaseDump?: string;
|
|
40
40
|
/**
|
|
41
|
-
* Node.js major version (default: detected from an archive, or stored for the site, else
|
|
41
|
+
* Node.js major version (default: detected from an archive, or stored for the site, else detected from the branch's package.json, else 22)
|
|
42
42
|
*/
|
|
43
43
|
nodeVersion?: number;
|
|
44
44
|
/**
|
|
@@ -50,17 +50,17 @@ export interface APITools {
|
|
|
50
50
|
*/
|
|
51
51
|
rootDirectory?: string;
|
|
52
52
|
/**
|
|
53
|
-
* Build output directory relative to the root directory, e.g. dist
|
|
53
|
+
* Build output directory relative to the root directory, e.g. dist. Pass null to clear a stored value.
|
|
54
54
|
*/
|
|
55
|
-
outputDirectory?: string;
|
|
55
|
+
outputDirectory?: string | null;
|
|
56
56
|
/**
|
|
57
|
-
* The package.json script that builds the app, e.g. build
|
|
57
|
+
* The package.json script that builds the app, e.g. build. Pass null to clear a stored value.
|
|
58
58
|
*/
|
|
59
|
-
buildScript?: string;
|
|
59
|
+
buildScript?: string | null;
|
|
60
60
|
/**
|
|
61
|
-
* Entry file of a server app. Relative to the root directory for express, fastify, hono, react-router and other; for a compiled (TypeScript) app give the built file, e.g. dist/server.js, because detection guesses a root-level file. Relative to the output directory for nest, nuxt, nitro, astro and svelte-kit (main.js, not dist/main.js). Ignored for next.
|
|
61
|
+
* Entry file of a server app. Relative to the root directory for express, fastify, hono, react-router and other; for a compiled (TypeScript) app give the built file, e.g. dist/server.js, because detection guesses a root-level file. Relative to the output directory for nest, nuxt, nitro, astro and svelte-kit (main.js, not dist/main.js). Ignored for next. Pass null to clear a stored value.
|
|
62
62
|
*/
|
|
63
|
-
entryFile?: string;
|
|
63
|
+
entryFile?: string | null;
|
|
64
64
|
/**
|
|
65
65
|
* Package manager used to install dependencies
|
|
66
66
|
*/
|