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 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 (212 total)
53
- - `hostinger-agency-hosting-mcp` — 11 tools for agency-hosting
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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
4
4
  "description": "Hostinger API — manage domains, DNS, hosting, VPS, billing and more from Gemini CLI.",
5
5
  "mcpServers": {
6
6
  "hostinger": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
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.3",
9
+ "version": "1.5.5",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.5.3",
14
+ "version": "1.5.5",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
@@ -29,7 +29,7 @@ const SECURITY_SCHEMES = {
29
29
 
30
30
  /**
31
31
  * MCP Server for Hostinger API
32
- * Generated from OpenAPI spec version 1.6.1
32
+ * Generated from OpenAPI spec version 1.6.2
33
33
  */
34
34
  class MCPServer {
35
35
  constructor({ name, version, tools }) {
@@ -47,7 +47,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
47
47
 
48
48
  /**
49
49
  * MCP Server for Hostinger API
50
- * Generated from OpenAPI spec version 1.6.1
50
+ * Generated from OpenAPI spec version 1.6.2
51
51
  */
52
52
  class MCPServer {
53
53
  private readonly name: string;
@@ -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.",
@@ -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.",
@@ -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.",
@@ -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.5.3', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.5.5', 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.5.3', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.5.5', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '1.5.3', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.5.5', tools });
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