hostinger-api-mcp 1.5.3 → 1.5.5
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 +13 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/agency-hosting.js +29 -0
- package/src/core/tools/agency-hosting.ts +29 -0
- package/src/core/tools/all.js +29 -0
- package/src/core/tools/all.ts +29 -0
- 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/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 +21 -0
package/README.md
CHANGED
|
@@ -49,8 +49,8 @@ pnpm update -g hostinger-api-mcp
|
|
|
49
49
|
|
|
50
50
|
This package installs the following MCP server commands:
|
|
51
51
|
|
|
52
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
53
|
-
- `hostinger-agency-hosting-mcp` —
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (213 total)
|
|
53
|
+
- `hostinger-agency-hosting-mcp` — 12 tools for agency-hosting
|
|
54
54
|
- `hostinger-billing-mcp` — 7 tools for billing
|
|
55
55
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
56
56
|
- `hostinger-domains-mcp` — 18 tools for domains
|
|
@@ -254,6 +254,17 @@ If this is the only domain on the website, unlinking leaves the website without
|
|
|
254
254
|
- **Method**: `DELETE`
|
|
255
255
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}`
|
|
256
256
|
|
|
257
|
+
#### agency-hosting_importAgencyPlanWebsiteFromArchiveV1
|
|
258
|
+
|
|
259
|
+
Imports an Agency Plan website from an already-uploaded archive.
|
|
260
|
+
|
|
261
|
+
Upload the archive to the website's root directory via file browser first, then provide its
|
|
262
|
+
filename in this request. Website contents are overwritten by the archive contents. Supported
|
|
263
|
+
archive types: .zip, .tar, .tar.gz, .tgz.
|
|
264
|
+
|
|
265
|
+
- **Method**: `POST`
|
|
266
|
+
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/files/import-archive`
|
|
267
|
+
|
|
257
268
|
#### agency-hosting_provisionANewAgencyPlanWebsiteV1
|
|
258
269
|
|
|
259
270
|
Provisions a new website on one of your Agency Plan hosting orders.
|
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.5.
|
|
9
|
+
"version": "1.5.5",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.5.
|
|
14
|
+
"version": "1.5.5",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
|
@@ -150,6 +150,35 @@ export default [
|
|
|
150
150
|
],
|
|
151
151
|
"group": "agency-hosting"
|
|
152
152
|
},
|
|
153
|
+
{
|
|
154
|
+
"name": "agency-hosting_importAgencyPlanWebsiteFromArchiveV1",
|
|
155
|
+
"description": "Imports an Agency Plan website from an already-uploaded archive.\n\nUpload the archive to the website's root directory via file browser first, then provide its\nfilename in this request. Website contents are overwritten by the archive contents. Supported\narchive types: .zip, .tar, .tar.gz, .tgz.",
|
|
156
|
+
"method": "POST",
|
|
157
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/files/import-archive",
|
|
158
|
+
"inputSchema": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {
|
|
161
|
+
"website_uid": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"description": "Agency Plan website UID"
|
|
164
|
+
},
|
|
165
|
+
"archive_name": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"description": "Archive filename (e.g., archive.zip). The file must already be uploaded to the website's .h5g/ directory."
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": [
|
|
171
|
+
"website_uid",
|
|
172
|
+
"archive_name"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
"security": [
|
|
176
|
+
{
|
|
177
|
+
"apiToken": []
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"group": "agency-hosting"
|
|
181
|
+
},
|
|
153
182
|
{
|
|
154
183
|
"name": "agency-hosting_provisionANewAgencyPlanWebsiteV1",
|
|
155
184
|
"description": "Provisions a new website on one of your Agency Plan hosting orders.\n\nChoose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach\nyour own `domain` — omit it, set it to `null`, or leave it unavailable and a free\n`*.hostingersite.com` subdomain is generated instead — and/or install WordPress by\nsupplying the `wordpress` details (admin account, site title, and language).\n\nCommon setups:\n- **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit\n `wordpress` and `type`.\n- **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus\n the `wordpress` block (admin account, title, language).\n- **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to\n `node-static`.\n\nProvisioning runs in the background, so the response returns immediately with a setup UUID\nthat identifies the job. The new website becomes reachable once provisioning finishes.",
|
|
@@ -160,6 +160,35 @@ const tools: OpenApiTool[] = [
|
|
|
160
160
|
],
|
|
161
161
|
"group": "agency-hosting"
|
|
162
162
|
},
|
|
163
|
+
{
|
|
164
|
+
"name": "agency-hosting_importAgencyPlanWebsiteFromArchiveV1",
|
|
165
|
+
"description": "Imports an Agency Plan website from an already-uploaded archive.\n\nUpload the archive to the website's root directory via file browser first, then provide its\nfilename in this request. Website contents are overwritten by the archive contents. Supported\narchive types: .zip, .tar, .tar.gz, .tgz.",
|
|
166
|
+
"method": "POST",
|
|
167
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/files/import-archive",
|
|
168
|
+
"inputSchema": {
|
|
169
|
+
"type": "object",
|
|
170
|
+
"properties": {
|
|
171
|
+
"website_uid": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"description": "Agency Plan website UID"
|
|
174
|
+
},
|
|
175
|
+
"archive_name": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "Archive filename (e.g., archive.zip). The file must already be uploaded to the website's .h5g/ directory."
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"required": [
|
|
181
|
+
"website_uid",
|
|
182
|
+
"archive_name"
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
"security": [
|
|
186
|
+
{
|
|
187
|
+
"apiToken": []
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"group": "agency-hosting"
|
|
191
|
+
},
|
|
163
192
|
{
|
|
164
193
|
"name": "agency-hosting_provisionANewAgencyPlanWebsiteV1",
|
|
165
194
|
"description": "Provisions a new website on one of your Agency Plan hosting orders.\n\nChoose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach\nyour own `domain` — omit it, set it to `null`, or leave it unavailable and a free\n`*.hostingersite.com` subdomain is generated instead — and/or install WordPress by\nsupplying the `wordpress` details (admin account, site title, and language).\n\nCommon setups:\n- **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit\n `wordpress` and `type`.\n- **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus\n the `wordpress` block (admin account, title, language).\n- **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to\n `node-static`.\n\nProvisioning runs in the background, so the response returns immediately with a setup UUID\nthat identifies the job. The new website becomes reachable once provisioning finishes.",
|
package/src/core/tools/all.js
CHANGED
|
@@ -407,6 +407,35 @@ export default [
|
|
|
407
407
|
],
|
|
408
408
|
"group": "agency-hosting"
|
|
409
409
|
},
|
|
410
|
+
{
|
|
411
|
+
"name": "agency-hosting_importAgencyPlanWebsiteFromArchiveV1",
|
|
412
|
+
"description": "Imports an Agency Plan website from an already-uploaded archive.\n\nUpload the archive to the website's root directory via file browser first, then provide its\nfilename in this request. Website contents are overwritten by the archive contents. Supported\narchive types: .zip, .tar, .tar.gz, .tgz.",
|
|
413
|
+
"method": "POST",
|
|
414
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/files/import-archive",
|
|
415
|
+
"inputSchema": {
|
|
416
|
+
"type": "object",
|
|
417
|
+
"properties": {
|
|
418
|
+
"website_uid": {
|
|
419
|
+
"type": "string",
|
|
420
|
+
"description": "Agency Plan website UID"
|
|
421
|
+
},
|
|
422
|
+
"archive_name": {
|
|
423
|
+
"type": "string",
|
|
424
|
+
"description": "Archive filename (e.g., archive.zip). The file must already be uploaded to the website's .h5g/ directory."
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"required": [
|
|
428
|
+
"website_uid",
|
|
429
|
+
"archive_name"
|
|
430
|
+
]
|
|
431
|
+
},
|
|
432
|
+
"security": [
|
|
433
|
+
{
|
|
434
|
+
"apiToken": []
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
"group": "agency-hosting"
|
|
438
|
+
},
|
|
410
439
|
{
|
|
411
440
|
"name": "agency-hosting_provisionANewAgencyPlanWebsiteV1",
|
|
412
441
|
"description": "Provisions a new website on one of your Agency Plan hosting orders.\n\nChoose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach\nyour own `domain` — omit it, set it to `null`, or leave it unavailable and a free\n`*.hostingersite.com` subdomain is generated instead — and/or install WordPress by\nsupplying the `wordpress` details (admin account, site title, and language).\n\nCommon setups:\n- **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit\n `wordpress` and `type`.\n- **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus\n the `wordpress` block (admin account, title, language).\n- **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to\n `node-static`.\n\nProvisioning runs in the background, so the response returns immediately with a setup UUID\nthat identifies the job. The new website becomes reachable once provisioning finishes.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -417,6 +417,35 @@ const tools: OpenApiTool[] = [
|
|
|
417
417
|
],
|
|
418
418
|
"group": "agency-hosting"
|
|
419
419
|
},
|
|
420
|
+
{
|
|
421
|
+
"name": "agency-hosting_importAgencyPlanWebsiteFromArchiveV1",
|
|
422
|
+
"description": "Imports an Agency Plan website from an already-uploaded archive.\n\nUpload the archive to the website's root directory via file browser first, then provide its\nfilename in this request. Website contents are overwritten by the archive contents. Supported\narchive types: .zip, .tar, .tar.gz, .tgz.",
|
|
423
|
+
"method": "POST",
|
|
424
|
+
"path": "/api/agency-hosting/v1/websites/{website_uid}/files/import-archive",
|
|
425
|
+
"inputSchema": {
|
|
426
|
+
"type": "object",
|
|
427
|
+
"properties": {
|
|
428
|
+
"website_uid": {
|
|
429
|
+
"type": "string",
|
|
430
|
+
"description": "Agency Plan website UID"
|
|
431
|
+
},
|
|
432
|
+
"archive_name": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"description": "Archive filename (e.g., archive.zip). The file must already be uploaded to the website's .h5g/ directory."
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"required": [
|
|
438
|
+
"website_uid",
|
|
439
|
+
"archive_name"
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
"security": [
|
|
443
|
+
{
|
|
444
|
+
"apiToken": []
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
"group": "agency-hosting"
|
|
448
|
+
},
|
|
420
449
|
{
|
|
421
450
|
"name": "agency-hosting_provisionANewAgencyPlanWebsiteV1",
|
|
422
451
|
"description": "Provisions a new website on one of your Agency Plan hosting orders.\n\nChoose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach\nyour own `domain` — omit it, set it to `null`, or leave it unavailable and a free\n`*.hostingersite.com` subdomain is generated instead — and/or install WordPress by\nsupplying the `wordpress` details (admin account, site title, and language).\n\nCommon setups:\n- **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit\n `wordpress` and `type`.\n- **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus\n the `wordpress` block (admin account, title, language).\n- **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to\n `node-static`.\n\nProvisioning runs in the background, so the response returns immediately with a setup UUID\nthat identifies the job. The new website becomes reachable once provisioning finishes.",
|
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/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
|
@@ -264,6 +264,27 @@ If this is the only domain on the website, unlinking leaves the website without
|
|
|
264
264
|
response: any; // Response structure will depend on the API
|
|
265
265
|
};
|
|
266
266
|
|
|
267
|
+
/**
|
|
268
|
+
* Imports an Agency Plan website from an already-uploaded archive.
|
|
269
|
+
|
|
270
|
+
Upload the archive to the website's root directory via file browser first, then provide its
|
|
271
|
+
filename in this request. Website contents are overwritten by the archive contents. Supported
|
|
272
|
+
archive types: .zip, .tar, .tar.gz, .tgz.
|
|
273
|
+
*/
|
|
274
|
+
"agency-hosting_importAgencyPlanWebsiteFromArchiveV1": {
|
|
275
|
+
params: {
|
|
276
|
+
/**
|
|
277
|
+
* Agency Plan website UID
|
|
278
|
+
*/
|
|
279
|
+
website_uid: string;
|
|
280
|
+
/**
|
|
281
|
+
* Archive filename (e.g., archive.zip). The file must already be uploaded to the website's .h5g/ directory.
|
|
282
|
+
*/
|
|
283
|
+
archive_name: string;
|
|
284
|
+
};
|
|
285
|
+
response: any; // Response structure will depend on the API
|
|
286
|
+
};
|
|
287
|
+
|
|
267
288
|
/**
|
|
268
289
|
* Provisions a new website on one of your Agency Plan hosting orders.
|
|
269
290
|
|