hostinger-api-mcp 1.35.4 → 1.35.6
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 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +2 -2
- package/src/core/runtime.ts +2 -2
- package/src/core/tools/agency-hosting.js +2 -2
- package/src/core/tools/agency-hosting.ts +2 -2
- package/src/core/tools/all.js +2 -2
- package/src/core/tools/all.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 +2 -2
package/README.md
CHANGED
|
@@ -224,14 +224,14 @@ This MCP server provides the following tools:
|
|
|
224
224
|
|
|
225
225
|
### `hostinger-agency-hosting-mcp`
|
|
226
226
|
|
|
227
|
-
####
|
|
227
|
+
#### agency-hosting_deployNodeStaticWebsite
|
|
228
228
|
|
|
229
229
|
Deploy a node-static Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites of type node-static (a Node.js-built static site that requires a build step or a plain simple static site). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the build-assets process which builds the site and deploys the result to public_html. This operation is synchronous: the build and deployment complete before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For plain PHP applications that should be extracted as-is, use agencyHosting_deployPhpApplication instead. The website UID is automatically resolved from the domain.
|
|
230
230
|
|
|
231
231
|
- **Method**: `custom`
|
|
232
232
|
- **Path**: `custom`
|
|
233
233
|
|
|
234
|
-
####
|
|
234
|
+
#### agency-hosting_deployPhpApplication
|
|
235
235
|
|
|
236
236
|
Deploy a PHP (or other non-build) Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites where the archive contents should be extracted and served as-is with no build step (e.g., PHP applications). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the import-archive process which overwrites the website contents with the archive contents. This operation is synchronous: the archive is extracted and deployed before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For node-static websites that require a build step, use agencyHosting_deployNodeStaticWebsite instead. The website UID is automatically resolved from the domain.
|
|
237
237
|
|
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.35.
|
|
9
|
+
"version": "1.35.6",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.35.
|
|
14
|
+
"version": "1.35.6",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
|
@@ -197,9 +197,9 @@ class MCPServer {
|
|
|
197
197
|
|
|
198
198
|
async executeCustomTool(tool, params) {
|
|
199
199
|
switch (tool.name) {
|
|
200
|
-
case '
|
|
200
|
+
case 'agency-hosting_deployNodeStaticWebsite':
|
|
201
201
|
return await this.handleNodeStaticDeploy(params);
|
|
202
|
-
case '
|
|
202
|
+
case 'agency-hosting_deployPhpApplication':
|
|
203
203
|
return await this.handlePhpAppDeploy(params);
|
|
204
204
|
case 'hosting_importWordpressWebsite':
|
|
205
205
|
return await this.handleWordpressWebsiteImport(params);
|
package/src/core/runtime.ts
CHANGED
|
@@ -227,9 +227,9 @@ class MCPServer {
|
|
|
227
227
|
|
|
228
228
|
private async executeCustomTool(tool: OpenApiTool, params: Record<string, any>): Promise<any> {
|
|
229
229
|
switch (tool.name) {
|
|
230
|
-
case '
|
|
230
|
+
case 'agency-hosting_deployNodeStaticWebsite':
|
|
231
231
|
return await this.handleNodeStaticDeploy(params);
|
|
232
|
-
case '
|
|
232
|
+
case 'agency-hosting_deployPhpApplication':
|
|
233
233
|
return await this.handlePhpAppDeploy(params);
|
|
234
234
|
case 'hosting_importWordpressWebsite':
|
|
235
235
|
return await this.handleWordpressWebsiteImport(params);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Auto-generated tool list for group: agency-hosting
|
|
2
2
|
export default [
|
|
3
3
|
{
|
|
4
|
-
"name": "
|
|
4
|
+
"name": "agency-hosting_deployNodeStaticWebsite",
|
|
5
5
|
"topic": "agency-hosting",
|
|
6
6
|
"description": "Deploy a node-static Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites of type node-static (a Node.js-built static site that requires a build step or a plain simple static site). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the build-assets process which builds the site and deploys the result to public_html. This operation is synchronous: the build and deployment complete before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For plain PHP applications that should be extracted as-is, use agencyHosting_deployPhpApplication instead. The website UID is automatically resolved from the domain.",
|
|
7
7
|
"method": "",
|
|
@@ -35,7 +35,7 @@ export default [
|
|
|
35
35
|
"group": "agency-hosting"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
"name": "
|
|
38
|
+
"name": "agency-hosting_deployPhpApplication",
|
|
39
39
|
"topic": "agency-hosting",
|
|
40
40
|
"description": "Deploy a PHP (or other non-build) Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites where the archive contents should be extracted and served as-is with no build step (e.g., PHP applications). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the import-archive process which overwrites the website contents with the archive contents. This operation is synchronous: the archive is extracted and deployed before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For node-static websites that require a build step, use agencyHosting_deployNodeStaticWebsite instead. The website UID is automatically resolved from the domain.",
|
|
41
41
|
"method": "",
|
|
@@ -15,7 +15,7 @@ export interface OpenApiTool extends Tool {
|
|
|
15
15
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
17
|
{
|
|
18
|
-
"name": "
|
|
18
|
+
"name": "agency-hosting_deployNodeStaticWebsite",
|
|
19
19
|
"topic": "agency-hosting",
|
|
20
20
|
"description": "Deploy a node-static Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites of type node-static (a Node.js-built static site that requires a build step or a plain simple static site). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the build-assets process which builds the site and deploys the result to public_html. This operation is synchronous: the build and deployment complete before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For plain PHP applications that should be extracted as-is, use agencyHosting_deployPhpApplication instead. The website UID is automatically resolved from the domain.",
|
|
21
21
|
"method": "",
|
|
@@ -49,7 +49,7 @@ const tools: OpenApiTool[] = [
|
|
|
49
49
|
"group": "agency-hosting"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
"name": "
|
|
52
|
+
"name": "agency-hosting_deployPhpApplication",
|
|
53
53
|
"topic": "agency-hosting",
|
|
54
54
|
"description": "Deploy a PHP (or other non-build) Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites where the archive contents should be extracted and served as-is with no build step (e.g., PHP applications). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the import-archive process which overwrites the website contents with the archive contents. This operation is synchronous: the archive is extracted and deployed before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For node-static websites that require a build step, use agencyHosting_deployNodeStaticWebsite instead. The website UID is automatically resolved from the domain.",
|
|
55
55
|
"method": "",
|
package/src/core/tools/all.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Auto-generated tool list for group: all
|
|
2
2
|
export default [
|
|
3
3
|
{
|
|
4
|
-
"name": "
|
|
4
|
+
"name": "agency-hosting_deployNodeStaticWebsite",
|
|
5
5
|
"topic": "agency-hosting",
|
|
6
6
|
"description": "Deploy a node-static Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites of type node-static (a Node.js-built static site that requires a build step or a plain simple static site). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the build-assets process which builds the site and deploys the result to public_html. This operation is synchronous: the build and deployment complete before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For plain PHP applications that should be extracted as-is, use agencyHosting_deployPhpApplication instead. The website UID is automatically resolved from the domain.",
|
|
7
7
|
"method": "",
|
|
@@ -35,7 +35,7 @@ export default [
|
|
|
35
35
|
"group": "agency-hosting"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
"name": "
|
|
38
|
+
"name": "agency-hosting_deployPhpApplication",
|
|
39
39
|
"topic": "agency-hosting",
|
|
40
40
|
"description": "Deploy a PHP (or other non-build) Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites where the archive contents should be extracted and served as-is with no build step (e.g., PHP applications). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the import-archive process which overwrites the website contents with the archive contents. This operation is synchronous: the archive is extracted and deployed before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For node-static websites that require a build step, use agencyHosting_deployNodeStaticWebsite instead. The website UID is automatically resolved from the domain.",
|
|
41
41
|
"method": "",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface OpenApiTool extends Tool {
|
|
|
15
15
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
17
|
{
|
|
18
|
-
"name": "
|
|
18
|
+
"name": "agency-hosting_deployNodeStaticWebsite",
|
|
19
19
|
"topic": "agency-hosting",
|
|
20
20
|
"description": "Deploy a node-static Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites of type node-static (a Node.js-built static site that requires a build step or a plain simple static site). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the build-assets process which builds the site and deploys the result to public_html. This operation is synchronous: the build and deployment complete before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For plain PHP applications that should be extracted as-is, use agencyHosting_deployPhpApplication instead. The website UID is automatically resolved from the domain.",
|
|
21
21
|
"method": "",
|
|
@@ -49,7 +49,7 @@ const tools: OpenApiTool[] = [
|
|
|
49
49
|
"group": "agency-hosting"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
"name": "
|
|
52
|
+
"name": "agency-hosting_deployPhpApplication",
|
|
53
53
|
"topic": "agency-hosting",
|
|
54
54
|
"description": "Deploy a PHP (or other non-build) Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites where the archive contents should be extracted and served as-is with no build step (e.g., PHP applications). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the import-archive process which overwrites the website contents with the archive contents. This operation is synchronous: the archive is extracted and deployed before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For node-static websites that require a build step, use agencyHosting_deployNodeStaticWebsite instead. The website UID is automatically resolved from the domain.",
|
|
55
55
|
"method": "",
|
|
@@ -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.35.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.35.6', 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.35.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.35.6', 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
|
@@ -7,7 +7,7 @@ export interface APITools {
|
|
|
7
7
|
/**
|
|
8
8
|
* Deploy a node-static Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites of type node-static (a Node.js-built static site that requires a build step or a plain simple static site). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the build-assets process which builds the site and deploys the result to public_html. This operation is synchronous: the build and deployment complete before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For plain PHP applications that should be extracted as-is, use agencyHosting_deployPhpApplication instead. The website UID is automatically resolved from the domain.
|
|
9
9
|
*/
|
|
10
|
-
"
|
|
10
|
+
"agency-hosting_deployNodeStaticWebsite": {
|
|
11
11
|
params: {
|
|
12
12
|
/**
|
|
13
13
|
* Domain name of the Agency Plan website (e.g., example.com)
|
|
@@ -28,7 +28,7 @@ export interface APITools {
|
|
|
28
28
|
/**
|
|
29
29
|
* Deploy a PHP (or other non-build) Agency Plan (h5g) website from an archive file. WARNING: this overwrites the website's existing contents and cannot be undone — always confirm with the user before proceeding. Use this for Agency Plan websites where the archive contents should be extracted and served as-is with no build step (e.g., PHP applications). The tool resolves the website from its domain, uploads the archive to the website's file browser over TUS, and triggers the import-archive process which overwrites the website contents with the archive contents. This operation is synchronous: the archive is extracted and deployed before the tool returns, so the website is live as soon as the tool finishes successfully — there is no separate asynchronous build to wait for or poll. For node-static websites that require a build step, use agencyHosting_deployNodeStaticWebsite instead. The website UID is automatically resolved from the domain.
|
|
30
30
|
*/
|
|
31
|
-
"
|
|
31
|
+
"agency-hosting_deployPhpApplication": {
|
|
32
32
|
params: {
|
|
33
33
|
/**
|
|
34
34
|
* Domain name of the Agency Plan website (e.g., example.com)
|