@hostinger/mcp 2.13.0 → 2.14.0
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 +25 -0
- package/README.md +27 -3
- 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/all.js +74 -1
- package/src/core/tools/all.ts +74 -1
- package/src/core/tools/wordpress.js +74 -1
- package/src/core/tools/wordpress.ts +74 -1
- 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 +63 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,31 @@ Generated at release time from the diff between the previous and current
|
|
|
4
4
|
build. Tool changes are listed individually; everything else is summarised
|
|
5
5
|
by area.
|
|
6
6
|
|
|
7
|
+
## v2.14.0 — 2026-10-14
|
|
8
|
+
|
|
9
|
+
### Operations
|
|
10
|
+
|
|
11
|
+
- Added `wordpress_ai-content_generate-images` — Generate images
|
|
12
|
+
|
|
13
|
+
### Also in this release
|
|
14
|
+
|
|
15
|
+
- Documentation: `README.md`
|
|
16
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
17
|
+
- Build and packaging: `types.d.ts`
|
|
18
|
+
|
|
19
|
+
## v2.13.1 — 2026-10-14
|
|
20
|
+
|
|
21
|
+
### Operations
|
|
22
|
+
|
|
23
|
+
- Changed the description of `wordpress_installations_list`
|
|
24
|
+
|
|
25
|
+
### Also in this release
|
|
26
|
+
|
|
27
|
+
- Documentation: `README.md`
|
|
28
|
+
- Dependencies: `package-lock.json`
|
|
29
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
30
|
+
- Build and packaging: `types.d.ts`
|
|
31
|
+
|
|
7
32
|
## v2.13.0 — 2026-10-12
|
|
8
33
|
|
|
9
34
|
### Operations
|
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ pnpm update -g @hostinger/mcp
|
|
|
69
69
|
|
|
70
70
|
This package installs the following MCP server commands:
|
|
71
71
|
|
|
72
|
-
- `hostinger-api-mcp` — unified server over every operation (
|
|
72
|
+
- `hostinger-api-mcp` — unified server over every operation (416 total)
|
|
73
73
|
- `hostinger-agency-hosting-mcp` — 42 operations for agency-hosting
|
|
74
74
|
- `hostinger-billing-mcp` — 9 operations for billing
|
|
75
75
|
- `hostinger-dns-mcp` — 8 operations for dns
|
|
@@ -80,7 +80,7 @@ This package installs the following MCP server commands:
|
|
|
80
80
|
- `hostinger-mail-mcp` — 38 operations for mail
|
|
81
81
|
- `hostinger-reach-mcp` — 56 operations for reach
|
|
82
82
|
- `hostinger-vps-mcp` — 67 operations for vps
|
|
83
|
-
- `hostinger-wordpress-mcp` —
|
|
83
|
+
- `hostinger-wordpress-mcp` — 39 operations for wordpress
|
|
84
84
|
|
|
85
85
|
Every binary exposes the same three tools; a scoped binary only searches and executes its own group's operations. `hostinger-api-mcp` remains the backwards-compatible default.
|
|
86
86
|
|
|
@@ -4586,6 +4586,22 @@ Use this endpoint to power off running VPS instances.
|
|
|
4586
4586
|
|
|
4587
4587
|
### `hostinger-wordpress-mcp`
|
|
4588
4588
|
|
|
4589
|
+
#### wordpress_ai-content_generate-images
|
|
4590
|
+
|
|
4591
|
+
Generate one or more images from a prompt and an image type for the specified
|
|
4592
|
+
WordPress installation. Images are returned inline as base64-encoded PNGs. They match
|
|
4593
|
+
the requested aspect ratio and are never smaller than the requested size; logos are
|
|
4594
|
+
transparent PNGs cropped to the mark.
|
|
4595
|
+
|
|
4596
|
+
Generation is synchronous and can take up to a minute. The endpoint is limited to
|
|
4597
|
+
10 requests per minute.
|
|
4598
|
+
|
|
4599
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
4600
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
4601
|
+
|
|
4602
|
+
- **Method**: `POST`
|
|
4603
|
+
- **Path**: `/api/hosting/v1/accounts/{username}/wordpress/{software}/content/images/generate`
|
|
4604
|
+
|
|
4589
4605
|
#### wordpress_ai-tools_show-option-status
|
|
4590
4606
|
|
|
4591
4607
|
Show the current AI option status for the Hostinger Tools plugin on the
|
|
@@ -4685,7 +4701,15 @@ unless `database.name` is an existing database on the account.
|
|
|
4685
4701
|
|
|
4686
4702
|
#### wordpress_installations_list
|
|
4687
4703
|
|
|
4688
|
-
List WordPress installations
|
|
4704
|
+
List WordPress installations on shared and cloud web hosting accounts (the
|
|
4705
|
+
`/api/hosting/v1` family, identified by `username`) accessible to the
|
|
4706
|
+
authenticated client.
|
|
4707
|
+
|
|
4708
|
+
Agency Plan websites are not included. To work with WordPress on an Agency Plan
|
|
4709
|
+
website, list them with GET /api/agency-hosting/v1/websites?website_types=wordpress
|
|
4710
|
+
and read their details with
|
|
4711
|
+
GET /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings. An account
|
|
4712
|
+
that only has Agency Plan websites receives an empty list from this endpoint.
|
|
4689
4713
|
|
|
4690
4714
|
Use this endpoint to discover existing WordPress installations and to poll
|
|
4691
4715
|
for installation status after calling the install endpoint. When a newly
|
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": "2.
|
|
9
|
+
"version": "2.14.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@hostinger/mcp",
|
|
14
|
-
"version": "2.
|
|
14
|
+
"version": "2.14.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
|
@@ -64,7 +64,7 @@ const GetSkillRequestSchema = z.object({
|
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* MCP Server for Hostinger API
|
|
67
|
-
* Generated from OpenAPI spec version 1.
|
|
67
|
+
* Generated from OpenAPI spec version 1.65.0
|
|
68
68
|
*/
|
|
69
69
|
class MCPServer {
|
|
70
70
|
constructor({ name, version, tools, instructions, skills = [] }) {
|
package/src/core/runtime.ts
CHANGED
|
@@ -94,7 +94,7 @@ interface Skill { uri: string; frontmatter: Record<string, unknown>; resources:
|
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* MCP Server for Hostinger API
|
|
97
|
-
* Generated from OpenAPI spec version 1.
|
|
97
|
+
* Generated from OpenAPI spec version 1.65.0
|
|
98
98
|
*/
|
|
99
99
|
class MCPServer {
|
|
100
100
|
private readonly name: string;
|
package/src/core/tools/all.js
CHANGED
|
@@ -15645,6 +15645,79 @@ export default [
|
|
|
15645
15645
|
],
|
|
15646
15646
|
"group": "vps"
|
|
15647
15647
|
},
|
|
15648
|
+
{
|
|
15649
|
+
"name": "wordpress_ai-content_generate-images",
|
|
15650
|
+
"title": "Generate images",
|
|
15651
|
+
"annotations": {
|
|
15652
|
+
"title": "Generate images",
|
|
15653
|
+
"readOnlyHint": false,
|
|
15654
|
+
"destructiveHint": false
|
|
15655
|
+
},
|
|
15656
|
+
"description": "Generate one or more images from a prompt and an image type for the specified\nWordPress installation. Images are returned inline as base64-encoded PNGs. They match\nthe requested aspect ratio and are never smaller than the requested size; logos are\ntransparent PNGs cropped to the mark.\n\nGeneration is synchronous and can take up to a minute. The endpoint is limited to\n10 requests per minute.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
15657
|
+
"method": "POST",
|
|
15658
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/content/images/generate",
|
|
15659
|
+
"inputSchema": {
|
|
15660
|
+
"type": "object",
|
|
15661
|
+
"properties": {
|
|
15662
|
+
"username": {
|
|
15663
|
+
"type": "string",
|
|
15664
|
+
"description": "username parameter"
|
|
15665
|
+
},
|
|
15666
|
+
"software": {
|
|
15667
|
+
"type": "string",
|
|
15668
|
+
"description": "WordPress installation (software) identifier"
|
|
15669
|
+
},
|
|
15670
|
+
"prompt": {
|
|
15671
|
+
"type": "string",
|
|
15672
|
+
"description": "What the image should show. For the logo type, the wordmark and mark to render."
|
|
15673
|
+
},
|
|
15674
|
+
"image_type": {
|
|
15675
|
+
"type": "string",
|
|
15676
|
+
"description": "Kind of image to generate. It sets the default size and cropping.",
|
|
15677
|
+
"enum": [
|
|
15678
|
+
"hero",
|
|
15679
|
+
"background",
|
|
15680
|
+
"inline",
|
|
15681
|
+
"gallery",
|
|
15682
|
+
"product",
|
|
15683
|
+
"logo"
|
|
15684
|
+
]
|
|
15685
|
+
},
|
|
15686
|
+
"num_of_images": {
|
|
15687
|
+
"type": "integer",
|
|
15688
|
+
"description": "How many images to generate"
|
|
15689
|
+
},
|
|
15690
|
+
"width": {
|
|
15691
|
+
"type": "integer",
|
|
15692
|
+
"description": "Output width in pixels. Defaults per image type and is ignored for the logo type."
|
|
15693
|
+
},
|
|
15694
|
+
"height": {
|
|
15695
|
+
"type": "integer",
|
|
15696
|
+
"description": "Output height in pixels. Defaults per image type and is ignored for the logo type."
|
|
15697
|
+
},
|
|
15698
|
+
"style": {
|
|
15699
|
+
"type": "string",
|
|
15700
|
+
"description": "Style tokens appended to photographic prompts. Ignored for the logo type."
|
|
15701
|
+
},
|
|
15702
|
+
"color_guidance": {
|
|
15703
|
+
"type": "string",
|
|
15704
|
+
"description": "Colour direction for the logo type only. It is not rendered as text."
|
|
15705
|
+
}
|
|
15706
|
+
},
|
|
15707
|
+
"required": [
|
|
15708
|
+
"username",
|
|
15709
|
+
"software",
|
|
15710
|
+
"prompt",
|
|
15711
|
+
"image_type"
|
|
15712
|
+
]
|
|
15713
|
+
},
|
|
15714
|
+
"security": [
|
|
15715
|
+
{
|
|
15716
|
+
"apiToken": []
|
|
15717
|
+
}
|
|
15718
|
+
],
|
|
15719
|
+
"group": "wordpress"
|
|
15720
|
+
},
|
|
15648
15721
|
{
|
|
15649
15722
|
"name": "wordpress_ai-tools_show-option-status",
|
|
15650
15723
|
"title": "Show AI option status",
|
|
@@ -16003,7 +16076,7 @@ export default [
|
|
|
16003
16076
|
"readOnlyHint": true,
|
|
16004
16077
|
"destructiveHint": false
|
|
16005
16078
|
},
|
|
16006
|
-
"description": "List WordPress installations accessible to the
|
|
16079
|
+
"description": "List WordPress installations on shared and cloud web hosting accounts (the\n`/api/hosting/v1` family, identified by `username`) accessible to the\nauthenticated client.\n\nAgency Plan websites are not included. To work with WordPress on an Agency Plan\nwebsite, list them with GET /api/agency-hosting/v1/websites?website_types=wordpress\nand read their details with\nGET /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings. An account\nthat only has Agency Plan websites receives an empty list from this endpoint.\n\nUse this endpoint to discover existing WordPress installations and to poll\nfor installation status after calling the install endpoint. When a newly\nrequested installation appears in this list, WordPress is ready. Filter by\nusername and domain to narrow results to a specific website.\n\nEach installation includes a `valid` flag and, when invalid, a\n`validationError` describing why.",
|
|
16007
16080
|
"method": "GET",
|
|
16008
16081
|
"path": "/api/hosting/v1/wordpress/installations",
|
|
16009
16082
|
"inputSchema": {
|
package/src/core/tools/all.ts
CHANGED
|
@@ -15659,6 +15659,79 @@ const tools: OpenApiTool[] = [
|
|
|
15659
15659
|
],
|
|
15660
15660
|
"group": "vps"
|
|
15661
15661
|
},
|
|
15662
|
+
{
|
|
15663
|
+
"name": "wordpress_ai-content_generate-images",
|
|
15664
|
+
"title": "Generate images",
|
|
15665
|
+
"annotations": {
|
|
15666
|
+
"title": "Generate images",
|
|
15667
|
+
"readOnlyHint": false,
|
|
15668
|
+
"destructiveHint": false
|
|
15669
|
+
},
|
|
15670
|
+
"description": "Generate one or more images from a prompt and an image type for the specified\nWordPress installation. Images are returned inline as base64-encoded PNGs. They match\nthe requested aspect ratio and are never smaller than the requested size; logos are\ntransparent PNGs cropped to the mark.\n\nGeneration is synchronous and can take up to a minute. The endpoint is limited to\n10 requests per minute.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
15671
|
+
"method": "POST",
|
|
15672
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/content/images/generate",
|
|
15673
|
+
"inputSchema": {
|
|
15674
|
+
"type": "object",
|
|
15675
|
+
"properties": {
|
|
15676
|
+
"username": {
|
|
15677
|
+
"type": "string",
|
|
15678
|
+
"description": "username parameter"
|
|
15679
|
+
},
|
|
15680
|
+
"software": {
|
|
15681
|
+
"type": "string",
|
|
15682
|
+
"description": "WordPress installation (software) identifier"
|
|
15683
|
+
},
|
|
15684
|
+
"prompt": {
|
|
15685
|
+
"type": "string",
|
|
15686
|
+
"description": "What the image should show. For the logo type, the wordmark and mark to render."
|
|
15687
|
+
},
|
|
15688
|
+
"image_type": {
|
|
15689
|
+
"type": "string",
|
|
15690
|
+
"description": "Kind of image to generate. It sets the default size and cropping.",
|
|
15691
|
+
"enum": [
|
|
15692
|
+
"hero",
|
|
15693
|
+
"background",
|
|
15694
|
+
"inline",
|
|
15695
|
+
"gallery",
|
|
15696
|
+
"product",
|
|
15697
|
+
"logo"
|
|
15698
|
+
]
|
|
15699
|
+
},
|
|
15700
|
+
"num_of_images": {
|
|
15701
|
+
"type": "integer",
|
|
15702
|
+
"description": "How many images to generate"
|
|
15703
|
+
},
|
|
15704
|
+
"width": {
|
|
15705
|
+
"type": "integer",
|
|
15706
|
+
"description": "Output width in pixels. Defaults per image type and is ignored for the logo type."
|
|
15707
|
+
},
|
|
15708
|
+
"height": {
|
|
15709
|
+
"type": "integer",
|
|
15710
|
+
"description": "Output height in pixels. Defaults per image type and is ignored for the logo type."
|
|
15711
|
+
},
|
|
15712
|
+
"style": {
|
|
15713
|
+
"type": "string",
|
|
15714
|
+
"description": "Style tokens appended to photographic prompts. Ignored for the logo type."
|
|
15715
|
+
},
|
|
15716
|
+
"color_guidance": {
|
|
15717
|
+
"type": "string",
|
|
15718
|
+
"description": "Colour direction for the logo type only. It is not rendered as text."
|
|
15719
|
+
}
|
|
15720
|
+
},
|
|
15721
|
+
"required": [
|
|
15722
|
+
"username",
|
|
15723
|
+
"software",
|
|
15724
|
+
"prompt",
|
|
15725
|
+
"image_type"
|
|
15726
|
+
]
|
|
15727
|
+
},
|
|
15728
|
+
"security": [
|
|
15729
|
+
{
|
|
15730
|
+
"apiToken": []
|
|
15731
|
+
}
|
|
15732
|
+
],
|
|
15733
|
+
"group": "wordpress"
|
|
15734
|
+
},
|
|
15662
15735
|
{
|
|
15663
15736
|
"name": "wordpress_ai-tools_show-option-status",
|
|
15664
15737
|
"title": "Show AI option status",
|
|
@@ -16017,7 +16090,7 @@ const tools: OpenApiTool[] = [
|
|
|
16017
16090
|
"readOnlyHint": true,
|
|
16018
16091
|
"destructiveHint": false
|
|
16019
16092
|
},
|
|
16020
|
-
"description": "List WordPress installations accessible to the
|
|
16093
|
+
"description": "List WordPress installations on shared and cloud web hosting accounts (the\n`/api/hosting/v1` family, identified by `username`) accessible to the\nauthenticated client.\n\nAgency Plan websites are not included. To work with WordPress on an Agency Plan\nwebsite, list them with GET /api/agency-hosting/v1/websites?website_types=wordpress\nand read their details with\nGET /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings. An account\nthat only has Agency Plan websites receives an empty list from this endpoint.\n\nUse this endpoint to discover existing WordPress installations and to poll\nfor installation status after calling the install endpoint. When a newly\nrequested installation appears in this list, WordPress is ready. Filter by\nusername and domain to narrow results to a specific website.\n\nEach installation includes a `valid` flag and, when invalid, a\n`validationError` describing why.",
|
|
16021
16094
|
"method": "GET",
|
|
16022
16095
|
"path": "/api/hosting/v1/wordpress/installations",
|
|
16023
16096
|
"inputSchema": {
|
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
// Auto-generated tool list for group: wordpress
|
|
2
2
|
export default [
|
|
3
|
+
{
|
|
4
|
+
"name": "wordpress_ai-content_generate-images",
|
|
5
|
+
"title": "Generate images",
|
|
6
|
+
"annotations": {
|
|
7
|
+
"title": "Generate images",
|
|
8
|
+
"readOnlyHint": false,
|
|
9
|
+
"destructiveHint": false
|
|
10
|
+
},
|
|
11
|
+
"description": "Generate one or more images from a prompt and an image type for the specified\nWordPress installation. Images are returned inline as base64-encoded PNGs. They match\nthe requested aspect ratio and are never smaller than the requested size; logos are\ntransparent PNGs cropped to the mark.\n\nGeneration is synchronous and can take up to a minute. The endpoint is limited to\n10 requests per minute.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
12
|
+
"method": "POST",
|
|
13
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/content/images/generate",
|
|
14
|
+
"inputSchema": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"username": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "username parameter"
|
|
20
|
+
},
|
|
21
|
+
"software": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "WordPress installation (software) identifier"
|
|
24
|
+
},
|
|
25
|
+
"prompt": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "What the image should show. For the logo type, the wordmark and mark to render."
|
|
28
|
+
},
|
|
29
|
+
"image_type": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Kind of image to generate. It sets the default size and cropping.",
|
|
32
|
+
"enum": [
|
|
33
|
+
"hero",
|
|
34
|
+
"background",
|
|
35
|
+
"inline",
|
|
36
|
+
"gallery",
|
|
37
|
+
"product",
|
|
38
|
+
"logo"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"num_of_images": {
|
|
42
|
+
"type": "integer",
|
|
43
|
+
"description": "How many images to generate"
|
|
44
|
+
},
|
|
45
|
+
"width": {
|
|
46
|
+
"type": "integer",
|
|
47
|
+
"description": "Output width in pixels. Defaults per image type and is ignored for the logo type."
|
|
48
|
+
},
|
|
49
|
+
"height": {
|
|
50
|
+
"type": "integer",
|
|
51
|
+
"description": "Output height in pixels. Defaults per image type and is ignored for the logo type."
|
|
52
|
+
},
|
|
53
|
+
"style": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "Style tokens appended to photographic prompts. Ignored for the logo type."
|
|
56
|
+
},
|
|
57
|
+
"color_guidance": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Colour direction for the logo type only. It is not rendered as text."
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"username",
|
|
64
|
+
"software",
|
|
65
|
+
"prompt",
|
|
66
|
+
"image_type"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"security": [
|
|
70
|
+
{
|
|
71
|
+
"apiToken": []
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"group": "wordpress"
|
|
75
|
+
},
|
|
3
76
|
{
|
|
4
77
|
"name": "wordpress_ai-tools_show-option-status",
|
|
5
78
|
"title": "Show AI option status",
|
|
@@ -358,7 +431,7 @@ export default [
|
|
|
358
431
|
"readOnlyHint": true,
|
|
359
432
|
"destructiveHint": false
|
|
360
433
|
},
|
|
361
|
-
"description": "List WordPress installations accessible to the
|
|
434
|
+
"description": "List WordPress installations on shared and cloud web hosting accounts (the\n`/api/hosting/v1` family, identified by `username`) accessible to the\nauthenticated client.\n\nAgency Plan websites are not included. To work with WordPress on an Agency Plan\nwebsite, list them with GET /api/agency-hosting/v1/websites?website_types=wordpress\nand read their details with\nGET /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings. An account\nthat only has Agency Plan websites receives an empty list from this endpoint.\n\nUse this endpoint to discover existing WordPress installations and to poll\nfor installation status after calling the install endpoint. When a newly\nrequested installation appears in this list, WordPress is ready. Filter by\nusername and domain to narrow results to a specific website.\n\nEach installation includes a `valid` flag and, when invalid, a\n`validationError` describing why.",
|
|
362
435
|
"method": "GET",
|
|
363
436
|
"path": "/api/hosting/v1/wordpress/installations",
|
|
364
437
|
"inputSchema": {
|
|
@@ -14,6 +14,79 @@ export interface OpenApiTool extends Tool {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
|
+
{
|
|
18
|
+
"name": "wordpress_ai-content_generate-images",
|
|
19
|
+
"title": "Generate images",
|
|
20
|
+
"annotations": {
|
|
21
|
+
"title": "Generate images",
|
|
22
|
+
"readOnlyHint": false,
|
|
23
|
+
"destructiveHint": false
|
|
24
|
+
},
|
|
25
|
+
"description": "Generate one or more images from a prompt and an image type for the specified\nWordPress installation. Images are returned inline as base64-encoded PNGs. They match\nthe requested aspect ratio and are never smaller than the requested size; logos are\ntransparent PNGs cropped to the mark.\n\nGeneration is synchronous and can take up to a minute. The endpoint is limited to\n10 requests per minute.\n\nProvide the WordPress installation (software) identifier in the path. It can\nbe obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"path": "/api/hosting/v1/accounts/{username}/wordpress/{software}/content/images/generate",
|
|
28
|
+
"inputSchema": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"username": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "username parameter"
|
|
34
|
+
},
|
|
35
|
+
"software": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "WordPress installation (software) identifier"
|
|
38
|
+
},
|
|
39
|
+
"prompt": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "What the image should show. For the logo type, the wordmark and mark to render."
|
|
42
|
+
},
|
|
43
|
+
"image_type": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"description": "Kind of image to generate. It sets the default size and cropping.",
|
|
46
|
+
"enum": [
|
|
47
|
+
"hero",
|
|
48
|
+
"background",
|
|
49
|
+
"inline",
|
|
50
|
+
"gallery",
|
|
51
|
+
"product",
|
|
52
|
+
"logo"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"num_of_images": {
|
|
56
|
+
"type": "integer",
|
|
57
|
+
"description": "How many images to generate"
|
|
58
|
+
},
|
|
59
|
+
"width": {
|
|
60
|
+
"type": "integer",
|
|
61
|
+
"description": "Output width in pixels. Defaults per image type and is ignored for the logo type."
|
|
62
|
+
},
|
|
63
|
+
"height": {
|
|
64
|
+
"type": "integer",
|
|
65
|
+
"description": "Output height in pixels. Defaults per image type and is ignored for the logo type."
|
|
66
|
+
},
|
|
67
|
+
"style": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "Style tokens appended to photographic prompts. Ignored for the logo type."
|
|
70
|
+
},
|
|
71
|
+
"color_guidance": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"description": "Colour direction for the logo type only. It is not rendered as text."
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": [
|
|
77
|
+
"username",
|
|
78
|
+
"software",
|
|
79
|
+
"prompt",
|
|
80
|
+
"image_type"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"security": [
|
|
84
|
+
{
|
|
85
|
+
"apiToken": []
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"group": "wordpress"
|
|
89
|
+
},
|
|
17
90
|
{
|
|
18
91
|
"name": "wordpress_ai-tools_show-option-status",
|
|
19
92
|
"title": "Show AI option status",
|
|
@@ -372,7 +445,7 @@ const tools: OpenApiTool[] = [
|
|
|
372
445
|
"readOnlyHint": true,
|
|
373
446
|
"destructiveHint": false
|
|
374
447
|
},
|
|
375
|
-
"description": "List WordPress installations accessible to the
|
|
448
|
+
"description": "List WordPress installations on shared and cloud web hosting accounts (the\n`/api/hosting/v1` family, identified by `username`) accessible to the\nauthenticated client.\n\nAgency Plan websites are not included. To work with WordPress on an Agency Plan\nwebsite, list them with GET /api/agency-hosting/v1/websites?website_types=wordpress\nand read their details with\nGET /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings. An account\nthat only has Agency Plan websites receives an empty list from this endpoint.\n\nUse this endpoint to discover existing WordPress installations and to poll\nfor installation status after calling the install endpoint. When a newly\nrequested installation appears in this list, WordPress is ready. Filter by\nusername and domain to narrow results to a specific website.\n\nEach installation includes a `valid` flag and, when invalid, a\n`validationError` describing why.",
|
|
376
449
|
"method": "GET",
|
|
377
450
|
"path": "/api/hosting/v1/wordpress/installations",
|
|
378
451
|
"inputSchema": {
|
|
@@ -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.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '2.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '2.14.0', 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.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-agency-hosting-mcp', version: '2.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '2.14.0', tools, instructions });
|
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: '2.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '2.14.0', 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: '2.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '2.14.0', 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: '2.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '2.14.0', 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: '2.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '2.14.0', 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
|
@@ -9190,6 +9190,60 @@ Use this endpoint to power off running VPS instances.
|
|
|
9190
9190
|
response: any; // Response structure will depend on the API
|
|
9191
9191
|
};
|
|
9192
9192
|
|
|
9193
|
+
/**
|
|
9194
|
+
* Generate one or more images from a prompt and an image type for the specified
|
|
9195
|
+
WordPress installation. Images are returned inline as base64-encoded PNGs. They match
|
|
9196
|
+
the requested aspect ratio and are never smaller than the requested size; logos are
|
|
9197
|
+
transparent PNGs cropped to the mark.
|
|
9198
|
+
|
|
9199
|
+
Generation is synchronous and can take up to a minute. The endpoint is limited to
|
|
9200
|
+
10 requests per minute.
|
|
9201
|
+
|
|
9202
|
+
Provide the WordPress installation (software) identifier in the path. It can
|
|
9203
|
+
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
9204
|
+
*/
|
|
9205
|
+
"wordpress_ai-content_generate-images": {
|
|
9206
|
+
params: {
|
|
9207
|
+
/**
|
|
9208
|
+
* username parameter
|
|
9209
|
+
*/
|
|
9210
|
+
username: string;
|
|
9211
|
+
/**
|
|
9212
|
+
* WordPress installation (software) identifier
|
|
9213
|
+
*/
|
|
9214
|
+
software: string;
|
|
9215
|
+
/**
|
|
9216
|
+
* What the image should show. For the logo type, the wordmark and mark to render.
|
|
9217
|
+
*/
|
|
9218
|
+
prompt: string;
|
|
9219
|
+
/**
|
|
9220
|
+
* Kind of image to generate. It sets the default size and cropping.
|
|
9221
|
+
*/
|
|
9222
|
+
image_type: string;
|
|
9223
|
+
/**
|
|
9224
|
+
* How many images to generate
|
|
9225
|
+
*/
|
|
9226
|
+
num_of_images?: number;
|
|
9227
|
+
/**
|
|
9228
|
+
* Output width in pixels. Defaults per image type and is ignored for the logo type.
|
|
9229
|
+
*/
|
|
9230
|
+
width?: number;
|
|
9231
|
+
/**
|
|
9232
|
+
* Output height in pixels. Defaults per image type and is ignored for the logo type.
|
|
9233
|
+
*/
|
|
9234
|
+
height?: number;
|
|
9235
|
+
/**
|
|
9236
|
+
* Style tokens appended to photographic prompts. Ignored for the logo type.
|
|
9237
|
+
*/
|
|
9238
|
+
style?: string;
|
|
9239
|
+
/**
|
|
9240
|
+
* Colour direction for the logo type only. It is not rendered as text.
|
|
9241
|
+
*/
|
|
9242
|
+
color_guidance?: string;
|
|
9243
|
+
};
|
|
9244
|
+
response: any; // Response structure will depend on the API
|
|
9245
|
+
};
|
|
9246
|
+
|
|
9193
9247
|
/**
|
|
9194
9248
|
* Show the current AI option status for the Hostinger Tools plugin on the
|
|
9195
9249
|
specified WordPress installation. Filter by `option` to return a single
|
|
@@ -9410,7 +9464,15 @@ unless `database.name` is an existing database on the account.
|
|
|
9410
9464
|
};
|
|
9411
9465
|
|
|
9412
9466
|
/**
|
|
9413
|
-
* List WordPress installations
|
|
9467
|
+
* List WordPress installations on shared and cloud web hosting accounts (the
|
|
9468
|
+
`/api/hosting/v1` family, identified by `username`) accessible to the
|
|
9469
|
+
authenticated client.
|
|
9470
|
+
|
|
9471
|
+
Agency Plan websites are not included. To work with WordPress on an Agency Plan
|
|
9472
|
+
website, list them with GET /api/agency-hosting/v1/websites?website_types=wordpress
|
|
9473
|
+
and read their details with
|
|
9474
|
+
GET /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings. An account
|
|
9475
|
+
that only has Agency Plan websites receives an empty list from this endpoint.
|
|
9414
9476
|
|
|
9415
9477
|
Use this endpoint to discover existing WordPress installations and to poll
|
|
9416
9478
|
for installation status after calling the install endpoint. When a newly
|