hostinger-api-mcp 1.20.0 → 1.20.2
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 +9 -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 +26 -0
- package/src/core/tools/agency-hosting.ts +26 -0
- package/src/core/tools/all.js +26 -0
- package/src/core/tools/all.ts +26 -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/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 +17 -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 (259 total)
|
|
53
|
+
- `hostinger-agency-hosting-mcp` — 27 tools for agency-hosting
|
|
54
54
|
- `hostinger-billing-mcp` — 8 tools for billing
|
|
55
55
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
56
56
|
- `hostinger-domains-mcp` — 23 tools for domains
|
|
@@ -280,6 +280,13 @@ archive types: .zip, .tar, .tar.gz, .tgz.
|
|
|
280
280
|
- **Method**: `POST`
|
|
281
281
|
- **Path**: `/api/agency-hosting/v1/websites/{website_uid}/files/import-archive`
|
|
282
282
|
|
|
283
|
+
#### agency-hosting_listAgencyPlanOrdersV1
|
|
284
|
+
|
|
285
|
+
Returns a paginated list of Agency Plan orders accessible to the authenticated client.
|
|
286
|
+
|
|
287
|
+
- **Method**: `GET`
|
|
288
|
+
- **Path**: `/api/agency-hosting/v1/orders`
|
|
289
|
+
|
|
283
290
|
#### agency-hosting_provisionANewAgencyPlanWebsiteV1
|
|
284
291
|
|
|
285
292
|
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.20.
|
|
9
|
+
"version": "1.20.2",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.20.
|
|
14
|
+
"version": "1.20.2",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
|
@@ -247,6 +247,32 @@ export default [
|
|
|
247
247
|
],
|
|
248
248
|
"group": "agency-hosting"
|
|
249
249
|
},
|
|
250
|
+
{
|
|
251
|
+
"name": "agency-hosting_listAgencyPlanOrdersV1",
|
|
252
|
+
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
253
|
+
"method": "GET",
|
|
254
|
+
"path": "/api/agency-hosting/v1/orders",
|
|
255
|
+
"inputSchema": {
|
|
256
|
+
"type": "object",
|
|
257
|
+
"properties": {
|
|
258
|
+
"page": {
|
|
259
|
+
"type": "integer",
|
|
260
|
+
"description": "Page number"
|
|
261
|
+
},
|
|
262
|
+
"per_page": {
|
|
263
|
+
"type": "integer",
|
|
264
|
+
"description": "Number of items per page"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"required": []
|
|
268
|
+
},
|
|
269
|
+
"security": [
|
|
270
|
+
{
|
|
271
|
+
"apiToken": []
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"group": "agency-hosting"
|
|
275
|
+
},
|
|
250
276
|
{
|
|
251
277
|
"name": "agency-hosting_provisionANewAgencyPlanWebsiteV1",
|
|
252
278
|
"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.",
|
|
@@ -261,6 +261,32 @@ const tools: OpenApiTool[] = [
|
|
|
261
261
|
],
|
|
262
262
|
"group": "agency-hosting"
|
|
263
263
|
},
|
|
264
|
+
{
|
|
265
|
+
"name": "agency-hosting_listAgencyPlanOrdersV1",
|
|
266
|
+
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
267
|
+
"method": "GET",
|
|
268
|
+
"path": "/api/agency-hosting/v1/orders",
|
|
269
|
+
"inputSchema": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"properties": {
|
|
272
|
+
"page": {
|
|
273
|
+
"type": "integer",
|
|
274
|
+
"description": "Page number"
|
|
275
|
+
},
|
|
276
|
+
"per_page": {
|
|
277
|
+
"type": "integer",
|
|
278
|
+
"description": "Number of items per page"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"required": []
|
|
282
|
+
},
|
|
283
|
+
"security": [
|
|
284
|
+
{
|
|
285
|
+
"apiToken": []
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"group": "agency-hosting"
|
|
289
|
+
},
|
|
264
290
|
{
|
|
265
291
|
"name": "agency-hosting_provisionANewAgencyPlanWebsiteV1",
|
|
266
292
|
"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
|
@@ -504,6 +504,32 @@ export default [
|
|
|
504
504
|
],
|
|
505
505
|
"group": "agency-hosting"
|
|
506
506
|
},
|
|
507
|
+
{
|
|
508
|
+
"name": "agency-hosting_listAgencyPlanOrdersV1",
|
|
509
|
+
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
510
|
+
"method": "GET",
|
|
511
|
+
"path": "/api/agency-hosting/v1/orders",
|
|
512
|
+
"inputSchema": {
|
|
513
|
+
"type": "object",
|
|
514
|
+
"properties": {
|
|
515
|
+
"page": {
|
|
516
|
+
"type": "integer",
|
|
517
|
+
"description": "Page number"
|
|
518
|
+
},
|
|
519
|
+
"per_page": {
|
|
520
|
+
"type": "integer",
|
|
521
|
+
"description": "Number of items per page"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"required": []
|
|
525
|
+
},
|
|
526
|
+
"security": [
|
|
527
|
+
{
|
|
528
|
+
"apiToken": []
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
"group": "agency-hosting"
|
|
532
|
+
},
|
|
507
533
|
{
|
|
508
534
|
"name": "agency-hosting_provisionANewAgencyPlanWebsiteV1",
|
|
509
535
|
"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
|
@@ -518,6 +518,32 @@ const tools: OpenApiTool[] = [
|
|
|
518
518
|
],
|
|
519
519
|
"group": "agency-hosting"
|
|
520
520
|
},
|
|
521
|
+
{
|
|
522
|
+
"name": "agency-hosting_listAgencyPlanOrdersV1",
|
|
523
|
+
"description": "Returns a paginated list of Agency Plan orders accessible to the authenticated client.",
|
|
524
|
+
"method": "GET",
|
|
525
|
+
"path": "/api/agency-hosting/v1/orders",
|
|
526
|
+
"inputSchema": {
|
|
527
|
+
"type": "object",
|
|
528
|
+
"properties": {
|
|
529
|
+
"page": {
|
|
530
|
+
"type": "integer",
|
|
531
|
+
"description": "Page number"
|
|
532
|
+
},
|
|
533
|
+
"per_page": {
|
|
534
|
+
"type": "integer",
|
|
535
|
+
"description": "Number of items per page"
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"required": []
|
|
539
|
+
},
|
|
540
|
+
"security": [
|
|
541
|
+
{
|
|
542
|
+
"apiToken": []
|
|
543
|
+
}
|
|
544
|
+
],
|
|
545
|
+
"group": "agency-hosting"
|
|
546
|
+
},
|
|
521
547
|
{
|
|
522
548
|
"name": "agency-hosting_provisionANewAgencyPlanWebsiteV1",
|
|
523
549
|
"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.20.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.20.2', 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.20.
|
|
6
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.20.2', 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
|
@@ -327,6 +327,23 @@ archive types: .zip, .tar, .tar.gz, .tgz.
|
|
|
327
327
|
response: any; // Response structure will depend on the API
|
|
328
328
|
};
|
|
329
329
|
|
|
330
|
+
/**
|
|
331
|
+
* Returns a paginated list of Agency Plan orders accessible to the authenticated client.
|
|
332
|
+
*/
|
|
333
|
+
"agency-hosting_listAgencyPlanOrdersV1": {
|
|
334
|
+
params: {
|
|
335
|
+
/**
|
|
336
|
+
* Page number
|
|
337
|
+
*/
|
|
338
|
+
page?: number;
|
|
339
|
+
/**
|
|
340
|
+
* Number of items per page
|
|
341
|
+
*/
|
|
342
|
+
per_page?: number;
|
|
343
|
+
};
|
|
344
|
+
response: any; // Response structure will depend on the API
|
|
345
|
+
};
|
|
346
|
+
|
|
330
347
|
/**
|
|
331
348
|
* Provisions a new website on one of your Agency Plan hosting orders.
|
|
332
349
|
|