hostinger-api-mcp 4.16.0 → 4.18.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 CHANGED
@@ -4,6 +4,28 @@ 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
+ ## v4.18.0 — 2026-11-23
8
+
9
+ ### Also in this release
10
+
11
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
12
+
13
+ ## v4.17.0 — 2026-11-23
14
+
15
+ ### Operations
16
+
17
+ - Added `horizons_websites_build-task` — Get website build task
18
+ - Changed the description of `horizons_websites_create`
19
+ - Changed the description of `horizons_websites_edit`
20
+ - Changed the description of `horizons_websites_publish`
21
+ - Changed the description of `horizons_websites_get`
22
+
23
+ ### Also in this release
24
+
25
+ - Documentation: `README.md`
26
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
27
+ - Build and packaging: `types.d.ts`
28
+
7
29
  ## v4.16.0 — 2026-11-23
8
30
 
9
31
  ### Also in this release
package/README.md CHANGED
@@ -78,7 +78,7 @@ pnpm update -g @hostinger/mcp
78
78
 
79
79
  This package installs the following MCP server commands:
80
80
 
81
- - `hostinger-api-mcp` — unified server over every operation (426 total)
81
+ - `hostinger-api-mcp` — unified server over every operation (427 total)
82
82
  - `hostinger-agency-hosting-mcp` — 43 operations for agency-hosting
83
83
  - `hostinger-agent-readiness-mcp` — 4 operations for agent-readiness
84
84
  - `hostinger-billing-mcp` — 10 operations for billing
@@ -86,7 +86,7 @@ This package installs the following MCP server commands:
86
86
  - `hostinger-domains-mcp` — 43 operations for domains
87
87
  - `hostinger-ecommerce-mcp` — 33 operations for ecommerce
88
88
  - `hostinger-gpu-mcp` — 13 operations for gpu
89
- - `hostinger-horizons-mcp` — 7 operations for horizons
89
+ - `hostinger-horizons-mcp` — 8 operations for horizons
90
90
  - `hostinger-hosting-mcp` — 59 operations for hosting
91
91
  - `hostinger-mail-mcp` — 39 operations for mail
92
92
  - `hostinger-reach-mcp` — 73 operations for reach
@@ -2056,8 +2056,10 @@ The complete list of websites is returned in a single response - it is not pagin
2056
2056
  Create new Hostinger AI Builder website from the given message.\n
2057
2057
  Use this tool when user asks you to create a website, landing page, blog
2058
2058
  or any other type of application.\n
2059
- This tool initiates the website creation process and returns a website URL and ID.
2060
- The generation happens asynchronously.\n
2059
+ This tool initiates the website creation process and returns a website URL, ID and build `task`.
2060
+ The generation happens asynchronously. To learn whether it succeeded, poll the
2061
+ `Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`
2062
+ happens whether the build completed or failed.\n
2061
2063
  After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
2062
2064
  that Hostinger AI Builder is now creating their website and it will be ready in a few minutes
2063
2065
  and you should provide the website URL to the user immediately
@@ -2096,8 +2098,10 @@ MAPS:\n
2096
2098
 
2097
2099
  Edit an existing Hostinger AI Builder website with a follow-up message.\n
2098
2100
  Use this tool when the user wants to change, extend or fix a website that already exists.\n
2099
- This tool queues the requested changes and returns the website URL and ID.
2100
- The changes are applied asynchronously.\n
2101
+ This tool queues the requested changes and returns the website URL, ID and build `task`.
2102
+ The changes are applied asynchronously. To learn whether they were applied, poll the
2103
+ `Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`
2104
+ happens whether the build completed or failed.\n
2101
2105
  After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
2102
2106
  that Hostinger AI Builder is now applying the requested changes and they will be ready
2103
2107
  in a few minutes, and you should provide the website URL to the user immediately.
@@ -2112,6 +2116,9 @@ and do not generate code yourself in the chat.
2112
2116
 
2113
2117
  Publish a Hostinger AI Builder website so its latest changes go live.\n
2114
2118
  Use this tool when the user asks to publish, deploy or make their website live.\n
2119
+ If you created or edited the website in this conversation, first check its build with the
2120
+ `Get website build task` tool and publish only when its `state` is `TASK_STATE_COMPLETED`.
2121
+ After a failed build, tell the user instead of publishing.\n
2115
2122
  This tool starts the publish process and returns the URL the website will be live on.
2116
2123
  Publishing happens asynchronously and takes a few minutes.\n
2117
2124
  Set `is_template` only when the user explicitly asks to share the website as a template:
@@ -2131,6 +2138,8 @@ website URL before or after editing it.\n
2131
2138
  `is_in_progress` is true while changes are being generated or the website is being published;
2132
2139
  wait until it is false before publishing. `is_generating` is true while changes are being generated,
2133
2140
  and `actions_in_progress` has `website_publish` while the website is being published.
2141
+ `is_generating` turns false whether the build completed or failed: use the `Get website build task`
2142
+ tool to learn its outcome.
2134
2143
  `published_at` is when the website was last published,
2135
2144
  `is_template` is whether its published pages show the "Use template" banner, and
2136
2145
  `has_ecommerce_store` is whether it has an online store.\n
@@ -2140,6 +2149,22 @@ interface in the provided website URL.
2140
2149
  - **Method**: `GET`
2141
2150
  - **Path**: `/api/horizons/v1/websites/{websiteId}`
2142
2151
 
2152
+ #### horizons_websites_build-task
2153
+
2154
+ Get the state and outcome of a website build started by the `Create website` or `Edit website` tool.\n
2155
+ Use this tool with the `task.id` those tools return to find out whether the build completed or failed.
2156
+ Poll it every 30 seconds or so while `state` is `TASK_STATE_SUBMITTED` or `TASK_STATE_WORKING`.\n
2157
+ When `state` is `TASK_STATE_FAILED` or `TASK_STATE_REJECTED`, the website does not contain the requested
2158
+ changes: tell the user, using `message` and `reason_code`, and do not publish it.
2159
+ When `state` is `TASK_STATE_CANCELED`, the user stopped the build and changes made before that may be kept:
2160
+ publish only if the user asks to.
2161
+ `reason_code` `insufficient_credits` means the user must get more credits before building again.\n
2162
+ When `state` is `TASK_STATE_COMPLETED`, the website can be published. A `reason_code` of
2163
+ `iteration_limit` on a completed build means it stopped early and kept the work done so far.
2164
+
2165
+ - **Method**: `GET`
2166
+ - **Path**: `/api/horizons/v1/websites/{websiteId}/tasks/{taskId}`
2167
+
2143
2168
  ### `hostinger-hosting-mcp`
2144
2169
 
2145
2170
  #### changelog_list-entries
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "4.16.0",
3
+ "version": "4.18.0",
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": "4.16.0",
3
+ "version": "4.18.0",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
package/server.json CHANGED
@@ -17,12 +17,12 @@
17
17
  "url": "https://github.com/hostinger/api-mcp-server",
18
18
  "source": "github"
19
19
  },
20
- "version": "4.16.0",
20
+ "version": "4.18.0",
21
21
  "packages": [
22
22
  {
23
23
  "registryType": "npm",
24
24
  "identifier": "@hostinger/mcp",
25
- "version": "4.16.0",
25
+ "version": "4.18.0",
26
26
  "transport": {
27
27
  "type": "stdio"
28
28
  },
@@ -1,3 +1,3 @@
1
- version=4.16.0
1
+ version=4.18.0
2
2
  commit=02f4944d7548
3
3
  built=2026-11-23
@@ -62,7 +62,7 @@ const GetSkillRequestSchema = z.object({
62
62
 
63
63
  /**
64
64
  * MCP Server for Hostinger API
65
- * Generated from OpenAPI spec version 3.4.3
65
+ * Generated from OpenAPI spec version 3.6.0
66
66
  */
67
67
  class MCPServer {
68
68
  constructor({ name, version, tools, instructions, skills = [] }) {
@@ -97,7 +97,7 @@ interface Skill { uri: string; frontmatter: Record<string, unknown>; resources:
97
97
 
98
98
  /**
99
99
  * MCP Server for Hostinger API
100
- * Generated from OpenAPI spec version 3.4.3
100
+ * Generated from OpenAPI spec version 3.6.0
101
101
  */
102
102
  class MCPServer {
103
103
  private readonly name: string;
@@ -7001,7 +7001,7 @@ export default [
7001
7001
  "readOnlyHint": false,
7002
7002
  "destructiveHint": false
7003
7003
  },
7004
- "description": "Create new Hostinger AI Builder website from the given message.\\n\nUse this tool when user asks you to create a website, landing page, blog\nor any other type of application.\\n\nThis tool initiates the website creation process and returns a website URL and ID.\nThe generation happens asynchronously.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now creating their website and it will be ready in a few minutes\nand you should provide the website URL to the user immediately\nDo not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned\nwebsite ID, or the user can go to Hostinger AI Builder interface in the provided website URL.\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.\n\\n\nTECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n\nThe environment is limited to the following technologies.\nYou MUST NOT use, suggest, or implement any technology outside this list:\\n\n\\n\n- Language: JavaScript ONLY.\n- Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n\n- Framework: React.\\n\n- Navigation: React Router.\\n\n- Styling: TailwindCSS.\\n\n- Components: shadcn/ui (built with @radix-ui primitives).\\n\n- Icons: Lucide React.\\n\n- Animations: Framer Motion.\\n\n\\n\nBACKEND & DATA STORAGE:\\n\n- Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage,\nauthentication, and database needs.\\n\n- Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n\n- Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n\n\\n\nMAPS:\\n\n- OpenStreetMap is the default provider.\\n\n- Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n",
7004
+ "description": "Create new Hostinger AI Builder website from the given message.\\n\nUse this tool when user asks you to create a website, landing page, blog\nor any other type of application.\\n\nThis tool initiates the website creation process and returns a website URL, ID and build `task`.\nThe generation happens asynchronously. To learn whether it succeeded, poll the\n`Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`\nhappens whether the build completed or failed.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now creating their website and it will be ready in a few minutes\nand you should provide the website URL to the user immediately\nDo not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned\nwebsite ID, or the user can go to Hostinger AI Builder interface in the provided website URL.\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.\n\\n\nTECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n\nThe environment is limited to the following technologies.\nYou MUST NOT use, suggest, or implement any technology outside this list:\\n\n\\n\n- Language: JavaScript ONLY.\n- Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n\n- Framework: React.\\n\n- Navigation: React Router.\\n\n- Styling: TailwindCSS.\\n\n- Components: shadcn/ui (built with @radix-ui primitives).\\n\n- Icons: Lucide React.\\n\n- Animations: Framer Motion.\\n\n\\n\nBACKEND & DATA STORAGE:\\n\n- Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage,\nauthentication, and database needs.\\n\n- Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n\n- Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n\n\\n\nMAPS:\\n\n- OpenStreetMap is the default provider.\\n\n- Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n",
7005
7005
  "method": "POST",
7006
7006
  "path": "/api/horizons/v1/websites",
7007
7007
  "inputSchema": {
@@ -7055,7 +7055,7 @@ export default [
7055
7055
  "readOnlyHint": false,
7056
7056
  "destructiveHint": false
7057
7057
  },
7058
- "description": "Edit an existing Hostinger AI Builder website with a follow-up message.\\n\nUse this tool when the user wants to change, extend or fix a website that already exists.\\n\nThis tool queues the requested changes and returns the website URL and ID.\nThe changes are applied asynchronously.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now applying the requested changes and they will be ready\nin a few minutes, and you should provide the website URL to the user immediately.\nDo not write code.\\n\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.",
7058
+ "description": "Edit an existing Hostinger AI Builder website with a follow-up message.\\n\nUse this tool when the user wants to change, extend or fix a website that already exists.\\n\nThis tool queues the requested changes and returns the website URL, ID and build `task`.\nThe changes are applied asynchronously. To learn whether they were applied, poll the\n`Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`\nhappens whether the build completed or failed.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now applying the requested changes and they will be ready\nin a few minutes, and you should provide the website URL to the user immediately.\nDo not write code.\\n\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.",
7059
7059
  "method": "POST",
7060
7060
  "path": "/api/horizons/v1/websites/{websiteId}/messages",
7061
7061
  "inputSchema": {
@@ -7114,7 +7114,7 @@ export default [
7114
7114
  "readOnlyHint": false,
7115
7115
  "destructiveHint": false
7116
7116
  },
7117
- "description": "Publish a Hostinger AI Builder website so its latest changes go live.\\n\nUse this tool when the user asks to publish, deploy or make their website live.\\n\nThis tool starts the publish process and returns the URL the website will be live on.\nPublishing happens asynchronously and takes a few minutes.\\n\nSet `is_template` only when the user explicitly asks to share the website as a template:\ntrue adds a \"Use template\" banner to its published pages that copies the website into the\nvisitor's own account, and false removes it. Leave it out to keep the current setting.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat the website is being published and you should provide the published URL to the user immediately.",
7117
+ "description": "Publish a Hostinger AI Builder website so its latest changes go live.\\n\nUse this tool when the user asks to publish, deploy or make their website live.\\n\nIf you created or edited the website in this conversation, first check its build with the\n`Get website build task` tool and publish only when its `state` is `TASK_STATE_COMPLETED`.\nAfter a failed build, tell the user instead of publishing.\\n\nThis tool starts the publish process and returns the URL the website will be live on.\nPublishing happens asynchronously and takes a few minutes.\\n\nSet `is_template` only when the user explicitly asks to share the website as a template:\ntrue adds a \"Use template\" banner to its published pages that copies the website into the\nvisitor's own account, and false removes it. Leave it out to keep the current setting.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat the website is being published and you should provide the published URL to the user immediately.",
7118
7118
  "method": "POST",
7119
7119
  "path": "/api/horizons/v1/websites/{websiteId}/publish",
7120
7120
  "inputSchema": {
@@ -7151,7 +7151,7 @@ export default [
7151
7151
  "readOnlyHint": true,
7152
7152
  "destructiveHint": false
7153
7153
  },
7154
- "description": "Get the link for the user to open their website in Hostinger AI Builder interface.\\n\nUse this tool when the user wants the link to an existing website, or when you need its\nwebsite URL before or after editing it.\\n\n`is_in_progress` is true while changes are being generated or the website is being published;\nwait until it is false before publishing. `is_generating` is true while changes are being generated,\nand `actions_in_progress` has `website_publish` while the website is being published.\n`published_at` is when the website was last published,\n`is_template` is whether its published pages show the \"Use template\" banner, and\n`has_ecommerce_store` is whether it has an online store.\\n\nWebsites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder\ninterface in the provided website URL.",
7154
+ "description": "Get the link for the user to open their website in Hostinger AI Builder interface.\\n\nUse this tool when the user wants the link to an existing website, or when you need its\nwebsite URL before or after editing it.\\n\n`is_in_progress` is true while changes are being generated or the website is being published;\nwait until it is false before publishing. `is_generating` is true while changes are being generated,\nand `actions_in_progress` has `website_publish` while the website is being published.\n`is_generating` turns false whether the build completed or failed: use the `Get website build task`\ntool to learn its outcome.\n`published_at` is when the website was last published,\n`is_template` is whether its published pages show the \"Use template\" banner, and\n`has_ecommerce_store` is whether it has an online store.\\n\nWebsites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder\ninterface in the provided website URL.",
7155
7155
  "method": "GET",
7156
7156
  "path": "/api/horizons/v1/websites/{websiteId}",
7157
7157
  "inputSchema": {
@@ -7173,6 +7173,41 @@ export default [
7173
7173
  ],
7174
7174
  "group": "horizons"
7175
7175
  },
7176
+ {
7177
+ "name": "horizons_websites_build-task",
7178
+ "title": "Get website build task",
7179
+ "annotations": {
7180
+ "title": "Get website build task",
7181
+ "readOnlyHint": true,
7182
+ "destructiveHint": false
7183
+ },
7184
+ "description": "Get the state and outcome of a website build started by the `Create website` or `Edit website` tool.\\n\nUse this tool with the `task.id` those tools return to find out whether the build completed or failed.\nPoll it every 30 seconds or so while `state` is `TASK_STATE_SUBMITTED` or `TASK_STATE_WORKING`.\\n\nWhen `state` is `TASK_STATE_FAILED` or `TASK_STATE_REJECTED`, the website does not contain the requested\nchanges: tell the user, using `message` and `reason_code`, and do not publish it.\nWhen `state` is `TASK_STATE_CANCELED`, the user stopped the build and changes made before that may be kept:\npublish only if the user asks to.\n`reason_code` `insufficient_credits` means the user must get more credits before building again.\\n\nWhen `state` is `TASK_STATE_COMPLETED`, the website can be published. A `reason_code` of\n`iteration_limit` on a completed build means it stopped early and kept the work done so far.",
7185
+ "method": "GET",
7186
+ "path": "/api/horizons/v1/websites/{websiteId}/tasks/{taskId}",
7187
+ "inputSchema": {
7188
+ "type": "object",
7189
+ "properties": {
7190
+ "websiteId": {
7191
+ "type": "string",
7192
+ "description": "The website ID"
7193
+ },
7194
+ "taskId": {
7195
+ "type": "string",
7196
+ "description": "The build task ID, returned as `task.id` by the `Create website` and `Edit website` tools"
7197
+ }
7198
+ },
7199
+ "required": [
7200
+ "websiteId",
7201
+ "taskId"
7202
+ ]
7203
+ },
7204
+ "security": [
7205
+ {
7206
+ "apiToken": []
7207
+ }
7208
+ ],
7209
+ "group": "horizons"
7210
+ },
7176
7211
  {
7177
7212
  "name": "hosting_cache_clear-website",
7178
7213
  "title": "Clear website cache",
@@ -7021,7 +7021,7 @@ const tools: OpenApiTool[] = [
7021
7021
  "readOnlyHint": false,
7022
7022
  "destructiveHint": false
7023
7023
  },
7024
- "description": "Create new Hostinger AI Builder website from the given message.\\n\nUse this tool when user asks you to create a website, landing page, blog\nor any other type of application.\\n\nThis tool initiates the website creation process and returns a website URL and ID.\nThe generation happens asynchronously.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now creating their website and it will be ready in a few minutes\nand you should provide the website URL to the user immediately\nDo not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned\nwebsite ID, or the user can go to Hostinger AI Builder interface in the provided website URL.\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.\n\\n\nTECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n\nThe environment is limited to the following technologies.\nYou MUST NOT use, suggest, or implement any technology outside this list:\\n\n\\n\n- Language: JavaScript ONLY.\n- Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n\n- Framework: React.\\n\n- Navigation: React Router.\\n\n- Styling: TailwindCSS.\\n\n- Components: shadcn/ui (built with @radix-ui primitives).\\n\n- Icons: Lucide React.\\n\n- Animations: Framer Motion.\\n\n\\n\nBACKEND & DATA STORAGE:\\n\n- Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage,\nauthentication, and database needs.\\n\n- Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n\n- Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n\n\\n\nMAPS:\\n\n- OpenStreetMap is the default provider.\\n\n- Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n",
7024
+ "description": "Create new Hostinger AI Builder website from the given message.\\n\nUse this tool when user asks you to create a website, landing page, blog\nor any other type of application.\\n\nThis tool initiates the website creation process and returns a website URL, ID and build `task`.\nThe generation happens asynchronously. To learn whether it succeeded, poll the\n`Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`\nhappens whether the build completed or failed.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now creating their website and it will be ready in a few minutes\nand you should provide the website URL to the user immediately\nDo not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned\nwebsite ID, or the user can go to Hostinger AI Builder interface in the provided website URL.\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.\n\\n\nTECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n\nThe environment is limited to the following technologies.\nYou MUST NOT use, suggest, or implement any technology outside this list:\\n\n\\n\n- Language: JavaScript ONLY.\n- Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n\n- Framework: React.\\n\n- Navigation: React Router.\\n\n- Styling: TailwindCSS.\\n\n- Components: shadcn/ui (built with @radix-ui primitives).\\n\n- Icons: Lucide React.\\n\n- Animations: Framer Motion.\\n\n\\n\nBACKEND & DATA STORAGE:\\n\n- Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage,\nauthentication, and database needs.\\n\n- Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n\n- Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n\n\\n\nMAPS:\\n\n- OpenStreetMap is the default provider.\\n\n- Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n",
7025
7025
  "method": "POST",
7026
7026
  "path": "/api/horizons/v1/websites",
7027
7027
  "inputSchema": {
@@ -7075,7 +7075,7 @@ const tools: OpenApiTool[] = [
7075
7075
  "readOnlyHint": false,
7076
7076
  "destructiveHint": false
7077
7077
  },
7078
- "description": "Edit an existing Hostinger AI Builder website with a follow-up message.\\n\nUse this tool when the user wants to change, extend or fix a website that already exists.\\n\nThis tool queues the requested changes and returns the website URL and ID.\nThe changes are applied asynchronously.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now applying the requested changes and they will be ready\nin a few minutes, and you should provide the website URL to the user immediately.\nDo not write code.\\n\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.",
7078
+ "description": "Edit an existing Hostinger AI Builder website with a follow-up message.\\n\nUse this tool when the user wants to change, extend or fix a website that already exists.\\n\nThis tool queues the requested changes and returns the website URL, ID and build `task`.\nThe changes are applied asynchronously. To learn whether they were applied, poll the\n`Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`\nhappens whether the build completed or failed.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now applying the requested changes and they will be ready\nin a few minutes, and you should provide the website URL to the user immediately.\nDo not write code.\\n\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.",
7079
7079
  "method": "POST",
7080
7080
  "path": "/api/horizons/v1/websites/{websiteId}/messages",
7081
7081
  "inputSchema": {
@@ -7134,7 +7134,7 @@ const tools: OpenApiTool[] = [
7134
7134
  "readOnlyHint": false,
7135
7135
  "destructiveHint": false
7136
7136
  },
7137
- "description": "Publish a Hostinger AI Builder website so its latest changes go live.\\n\nUse this tool when the user asks to publish, deploy or make their website live.\\n\nThis tool starts the publish process and returns the URL the website will be live on.\nPublishing happens asynchronously and takes a few minutes.\\n\nSet `is_template` only when the user explicitly asks to share the website as a template:\ntrue adds a \"Use template\" banner to its published pages that copies the website into the\nvisitor's own account, and false removes it. Leave it out to keep the current setting.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat the website is being published and you should provide the published URL to the user immediately.",
7137
+ "description": "Publish a Hostinger AI Builder website so its latest changes go live.\\n\nUse this tool when the user asks to publish, deploy or make their website live.\\n\nIf you created or edited the website in this conversation, first check its build with the\n`Get website build task` tool and publish only when its `state` is `TASK_STATE_COMPLETED`.\nAfter a failed build, tell the user instead of publishing.\\n\nThis tool starts the publish process and returns the URL the website will be live on.\nPublishing happens asynchronously and takes a few minutes.\\n\nSet `is_template` only when the user explicitly asks to share the website as a template:\ntrue adds a \"Use template\" banner to its published pages that copies the website into the\nvisitor's own account, and false removes it. Leave it out to keep the current setting.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat the website is being published and you should provide the published URL to the user immediately.",
7138
7138
  "method": "POST",
7139
7139
  "path": "/api/horizons/v1/websites/{websiteId}/publish",
7140
7140
  "inputSchema": {
@@ -7171,7 +7171,7 @@ const tools: OpenApiTool[] = [
7171
7171
  "readOnlyHint": true,
7172
7172
  "destructiveHint": false
7173
7173
  },
7174
- "description": "Get the link for the user to open their website in Hostinger AI Builder interface.\\n\nUse this tool when the user wants the link to an existing website, or when you need its\nwebsite URL before or after editing it.\\n\n`is_in_progress` is true while changes are being generated or the website is being published;\nwait until it is false before publishing. `is_generating` is true while changes are being generated,\nand `actions_in_progress` has `website_publish` while the website is being published.\n`published_at` is when the website was last published,\n`is_template` is whether its published pages show the \"Use template\" banner, and\n`has_ecommerce_store` is whether it has an online store.\\n\nWebsites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder\ninterface in the provided website URL.",
7174
+ "description": "Get the link for the user to open their website in Hostinger AI Builder interface.\\n\nUse this tool when the user wants the link to an existing website, or when you need its\nwebsite URL before or after editing it.\\n\n`is_in_progress` is true while changes are being generated or the website is being published;\nwait until it is false before publishing. `is_generating` is true while changes are being generated,\nand `actions_in_progress` has `website_publish` while the website is being published.\n`is_generating` turns false whether the build completed or failed: use the `Get website build task`\ntool to learn its outcome.\n`published_at` is when the website was last published,\n`is_template` is whether its published pages show the \"Use template\" banner, and\n`has_ecommerce_store` is whether it has an online store.\\n\nWebsites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder\ninterface in the provided website URL.",
7175
7175
  "method": "GET",
7176
7176
  "path": "/api/horizons/v1/websites/{websiteId}",
7177
7177
  "inputSchema": {
@@ -7193,6 +7193,41 @@ const tools: OpenApiTool[] = [
7193
7193
  ],
7194
7194
  "group": "horizons"
7195
7195
  },
7196
+ {
7197
+ "name": "horizons_websites_build-task",
7198
+ "title": "Get website build task",
7199
+ "annotations": {
7200
+ "title": "Get website build task",
7201
+ "readOnlyHint": true,
7202
+ "destructiveHint": false
7203
+ },
7204
+ "description": "Get the state and outcome of a website build started by the `Create website` or `Edit website` tool.\\n\nUse this tool with the `task.id` those tools return to find out whether the build completed or failed.\nPoll it every 30 seconds or so while `state` is `TASK_STATE_SUBMITTED` or `TASK_STATE_WORKING`.\\n\nWhen `state` is `TASK_STATE_FAILED` or `TASK_STATE_REJECTED`, the website does not contain the requested\nchanges: tell the user, using `message` and `reason_code`, and do not publish it.\nWhen `state` is `TASK_STATE_CANCELED`, the user stopped the build and changes made before that may be kept:\npublish only if the user asks to.\n`reason_code` `insufficient_credits` means the user must get more credits before building again.\\n\nWhen `state` is `TASK_STATE_COMPLETED`, the website can be published. A `reason_code` of\n`iteration_limit` on a completed build means it stopped early and kept the work done so far.",
7205
+ "method": "GET",
7206
+ "path": "/api/horizons/v1/websites/{websiteId}/tasks/{taskId}",
7207
+ "inputSchema": {
7208
+ "type": "object",
7209
+ "properties": {
7210
+ "websiteId": {
7211
+ "type": "string",
7212
+ "description": "The website ID"
7213
+ },
7214
+ "taskId": {
7215
+ "type": "string",
7216
+ "description": "The build task ID, returned as `task.id` by the `Create website` and `Edit website` tools"
7217
+ }
7218
+ },
7219
+ "required": [
7220
+ "websiteId",
7221
+ "taskId"
7222
+ ]
7223
+ },
7224
+ "security": [
7225
+ {
7226
+ "apiToken": []
7227
+ }
7228
+ ],
7229
+ "group": "horizons"
7230
+ },
7196
7231
  {
7197
7232
  "name": "hosting_cache_clear-website",
7198
7233
  "title": "Clear website cache",
@@ -112,7 +112,7 @@ export default [
112
112
  "readOnlyHint": false,
113
113
  "destructiveHint": false
114
114
  },
115
- "description": "Create new Hostinger AI Builder website from the given message.\\n\nUse this tool when user asks you to create a website, landing page, blog\nor any other type of application.\\n\nThis tool initiates the website creation process and returns a website URL and ID.\nThe generation happens asynchronously.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now creating their website and it will be ready in a few minutes\nand you should provide the website URL to the user immediately\nDo not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned\nwebsite ID, or the user can go to Hostinger AI Builder interface in the provided website URL.\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.\n\\n\nTECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n\nThe environment is limited to the following technologies.\nYou MUST NOT use, suggest, or implement any technology outside this list:\\n\n\\n\n- Language: JavaScript ONLY.\n- Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n\n- Framework: React.\\n\n- Navigation: React Router.\\n\n- Styling: TailwindCSS.\\n\n- Components: shadcn/ui (built with @radix-ui primitives).\\n\n- Icons: Lucide React.\\n\n- Animations: Framer Motion.\\n\n\\n\nBACKEND & DATA STORAGE:\\n\n- Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage,\nauthentication, and database needs.\\n\n- Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n\n- Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n\n\\n\nMAPS:\\n\n- OpenStreetMap is the default provider.\\n\n- Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n",
115
+ "description": "Create new Hostinger AI Builder website from the given message.\\n\nUse this tool when user asks you to create a website, landing page, blog\nor any other type of application.\\n\nThis tool initiates the website creation process and returns a website URL, ID and build `task`.\nThe generation happens asynchronously. To learn whether it succeeded, poll the\n`Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`\nhappens whether the build completed or failed.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now creating their website and it will be ready in a few minutes\nand you should provide the website URL to the user immediately\nDo not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned\nwebsite ID, or the user can go to Hostinger AI Builder interface in the provided website URL.\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.\n\\n\nTECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n\nThe environment is limited to the following technologies.\nYou MUST NOT use, suggest, or implement any technology outside this list:\\n\n\\n\n- Language: JavaScript ONLY.\n- Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n\n- Framework: React.\\n\n- Navigation: React Router.\\n\n- Styling: TailwindCSS.\\n\n- Components: shadcn/ui (built with @radix-ui primitives).\\n\n- Icons: Lucide React.\\n\n- Animations: Framer Motion.\\n\n\\n\nBACKEND & DATA STORAGE:\\n\n- Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage,\nauthentication, and database needs.\\n\n- Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n\n- Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n\n\\n\nMAPS:\\n\n- OpenStreetMap is the default provider.\\n\n- Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n",
116
116
  "method": "POST",
117
117
  "path": "/api/horizons/v1/websites",
118
118
  "inputSchema": {
@@ -166,7 +166,7 @@ export default [
166
166
  "readOnlyHint": false,
167
167
  "destructiveHint": false
168
168
  },
169
- "description": "Edit an existing Hostinger AI Builder website with a follow-up message.\\n\nUse this tool when the user wants to change, extend or fix a website that already exists.\\n\nThis tool queues the requested changes and returns the website URL and ID.\nThe changes are applied asynchronously.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now applying the requested changes and they will be ready\nin a few minutes, and you should provide the website URL to the user immediately.\nDo not write code.\\n\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.",
169
+ "description": "Edit an existing Hostinger AI Builder website with a follow-up message.\\n\nUse this tool when the user wants to change, extend or fix a website that already exists.\\n\nThis tool queues the requested changes and returns the website URL, ID and build `task`.\nThe changes are applied asynchronously. To learn whether they were applied, poll the\n`Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`\nhappens whether the build completed or failed.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now applying the requested changes and they will be ready\nin a few minutes, and you should provide the website URL to the user immediately.\nDo not write code.\\n\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.",
170
170
  "method": "POST",
171
171
  "path": "/api/horizons/v1/websites/{websiteId}/messages",
172
172
  "inputSchema": {
@@ -225,7 +225,7 @@ export default [
225
225
  "readOnlyHint": false,
226
226
  "destructiveHint": false
227
227
  },
228
- "description": "Publish a Hostinger AI Builder website so its latest changes go live.\\n\nUse this tool when the user asks to publish, deploy or make their website live.\\n\nThis tool starts the publish process and returns the URL the website will be live on.\nPublishing happens asynchronously and takes a few minutes.\\n\nSet `is_template` only when the user explicitly asks to share the website as a template:\ntrue adds a \"Use template\" banner to its published pages that copies the website into the\nvisitor's own account, and false removes it. Leave it out to keep the current setting.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat the website is being published and you should provide the published URL to the user immediately.",
228
+ "description": "Publish a Hostinger AI Builder website so its latest changes go live.\\n\nUse this tool when the user asks to publish, deploy or make their website live.\\n\nIf you created or edited the website in this conversation, first check its build with the\n`Get website build task` tool and publish only when its `state` is `TASK_STATE_COMPLETED`.\nAfter a failed build, tell the user instead of publishing.\\n\nThis tool starts the publish process and returns the URL the website will be live on.\nPublishing happens asynchronously and takes a few minutes.\\n\nSet `is_template` only when the user explicitly asks to share the website as a template:\ntrue adds a \"Use template\" banner to its published pages that copies the website into the\nvisitor's own account, and false removes it. Leave it out to keep the current setting.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat the website is being published and you should provide the published URL to the user immediately.",
229
229
  "method": "POST",
230
230
  "path": "/api/horizons/v1/websites/{websiteId}/publish",
231
231
  "inputSchema": {
@@ -262,7 +262,7 @@ export default [
262
262
  "readOnlyHint": true,
263
263
  "destructiveHint": false
264
264
  },
265
- "description": "Get the link for the user to open their website in Hostinger AI Builder interface.\\n\nUse this tool when the user wants the link to an existing website, or when you need its\nwebsite URL before or after editing it.\\n\n`is_in_progress` is true while changes are being generated or the website is being published;\nwait until it is false before publishing. `is_generating` is true while changes are being generated,\nand `actions_in_progress` has `website_publish` while the website is being published.\n`published_at` is when the website was last published,\n`is_template` is whether its published pages show the \"Use template\" banner, and\n`has_ecommerce_store` is whether it has an online store.\\n\nWebsites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder\ninterface in the provided website URL.",
265
+ "description": "Get the link for the user to open their website in Hostinger AI Builder interface.\\n\nUse this tool when the user wants the link to an existing website, or when you need its\nwebsite URL before or after editing it.\\n\n`is_in_progress` is true while changes are being generated or the website is being published;\nwait until it is false before publishing. `is_generating` is true while changes are being generated,\nand `actions_in_progress` has `website_publish` while the website is being published.\n`is_generating` turns false whether the build completed or failed: use the `Get website build task`\ntool to learn its outcome.\n`published_at` is when the website was last published,\n`is_template` is whether its published pages show the \"Use template\" banner, and\n`has_ecommerce_store` is whether it has an online store.\\n\nWebsites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder\ninterface in the provided website URL.",
266
266
  "method": "GET",
267
267
  "path": "/api/horizons/v1/websites/{websiteId}",
268
268
  "inputSchema": {
@@ -283,5 +283,40 @@ export default [
283
283
  }
284
284
  ],
285
285
  "group": "horizons"
286
+ },
287
+ {
288
+ "name": "horizons_websites_build-task",
289
+ "title": "Get website build task",
290
+ "annotations": {
291
+ "title": "Get website build task",
292
+ "readOnlyHint": true,
293
+ "destructiveHint": false
294
+ },
295
+ "description": "Get the state and outcome of a website build started by the `Create website` or `Edit website` tool.\\n\nUse this tool with the `task.id` those tools return to find out whether the build completed or failed.\nPoll it every 30 seconds or so while `state` is `TASK_STATE_SUBMITTED` or `TASK_STATE_WORKING`.\\n\nWhen `state` is `TASK_STATE_FAILED` or `TASK_STATE_REJECTED`, the website does not contain the requested\nchanges: tell the user, using `message` and `reason_code`, and do not publish it.\nWhen `state` is `TASK_STATE_CANCELED`, the user stopped the build and changes made before that may be kept:\npublish only if the user asks to.\n`reason_code` `insufficient_credits` means the user must get more credits before building again.\\n\nWhen `state` is `TASK_STATE_COMPLETED`, the website can be published. A `reason_code` of\n`iteration_limit` on a completed build means it stopped early and kept the work done so far.",
296
+ "method": "GET",
297
+ "path": "/api/horizons/v1/websites/{websiteId}/tasks/{taskId}",
298
+ "inputSchema": {
299
+ "type": "object",
300
+ "properties": {
301
+ "websiteId": {
302
+ "type": "string",
303
+ "description": "The website ID"
304
+ },
305
+ "taskId": {
306
+ "type": "string",
307
+ "description": "The build task ID, returned as `task.id` by the `Create website` and `Edit website` tools"
308
+ }
309
+ },
310
+ "required": [
311
+ "websiteId",
312
+ "taskId"
313
+ ]
314
+ },
315
+ "security": [
316
+ {
317
+ "apiToken": []
318
+ }
319
+ ],
320
+ "group": "horizons"
286
321
  }
287
322
  ];
@@ -132,7 +132,7 @@ const tools: OpenApiTool[] = [
132
132
  "readOnlyHint": false,
133
133
  "destructiveHint": false
134
134
  },
135
- "description": "Create new Hostinger AI Builder website from the given message.\\n\nUse this tool when user asks you to create a website, landing page, blog\nor any other type of application.\\n\nThis tool initiates the website creation process and returns a website URL and ID.\nThe generation happens asynchronously.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now creating their website and it will be ready in a few minutes\nand you should provide the website URL to the user immediately\nDo not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned\nwebsite ID, or the user can go to Hostinger AI Builder interface in the provided website URL.\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.\n\\n\nTECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n\nThe environment is limited to the following technologies.\nYou MUST NOT use, suggest, or implement any technology outside this list:\\n\n\\n\n- Language: JavaScript ONLY.\n- Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n\n- Framework: React.\\n\n- Navigation: React Router.\\n\n- Styling: TailwindCSS.\\n\n- Components: shadcn/ui (built with @radix-ui primitives).\\n\n- Icons: Lucide React.\\n\n- Animations: Framer Motion.\\n\n\\n\nBACKEND & DATA STORAGE:\\n\n- Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage,\nauthentication, and database needs.\\n\n- Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n\n- Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n\n\\n\nMAPS:\\n\n- OpenStreetMap is the default provider.\\n\n- Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n",
135
+ "description": "Create new Hostinger AI Builder website from the given message.\\n\nUse this tool when user asks you to create a website, landing page, blog\nor any other type of application.\\n\nThis tool initiates the website creation process and returns a website URL, ID and build `task`.\nThe generation happens asynchronously. To learn whether it succeeded, poll the\n`Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`\nhappens whether the build completed or failed.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now creating their website and it will be ready in a few minutes\nand you should provide the website URL to the user immediately\nDo not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned\nwebsite ID, or the user can go to Hostinger AI Builder interface in the provided website URL.\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.\n\\n\nTECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n\nThe environment is limited to the following technologies.\nYou MUST NOT use, suggest, or implement any technology outside this list:\\n\n\\n\n- Language: JavaScript ONLY.\n- Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n\n- Framework: React.\\n\n- Navigation: React Router.\\n\n- Styling: TailwindCSS.\\n\n- Components: shadcn/ui (built with @radix-ui primitives).\\n\n- Icons: Lucide React.\\n\n- Animations: Framer Motion.\\n\n\\n\nBACKEND & DATA STORAGE:\\n\n- Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage,\nauthentication, and database needs.\\n\n- Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n\n- Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n\n\\n\nMAPS:\\n\n- OpenStreetMap is the default provider.\\n\n- Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n",
136
136
  "method": "POST",
137
137
  "path": "/api/horizons/v1/websites",
138
138
  "inputSchema": {
@@ -186,7 +186,7 @@ const tools: OpenApiTool[] = [
186
186
  "readOnlyHint": false,
187
187
  "destructiveHint": false
188
188
  },
189
- "description": "Edit an existing Hostinger AI Builder website with a follow-up message.\\n\nUse this tool when the user wants to change, extend or fix a website that already exists.\\n\nThis tool queues the requested changes and returns the website URL and ID.\nThe changes are applied asynchronously.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now applying the requested changes and they will be ready\nin a few minutes, and you should provide the website URL to the user immediately.\nDo not write code.\\n\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.",
189
+ "description": "Edit an existing Hostinger AI Builder website with a follow-up message.\\n\nUse this tool when the user wants to change, extend or fix a website that already exists.\\n\nThis tool queues the requested changes and returns the website URL, ID and build `task`.\nThe changes are applied asynchronously. To learn whether they were applied, poll the\n`Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`\nhappens whether the build completed or failed.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger AI Builder is now applying the requested changes and they will be ready\nin a few minutes, and you should provide the website URL to the user immediately.\nDo not write code.\\n\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.",
190
190
  "method": "POST",
191
191
  "path": "/api/horizons/v1/websites/{websiteId}/messages",
192
192
  "inputSchema": {
@@ -245,7 +245,7 @@ const tools: OpenApiTool[] = [
245
245
  "readOnlyHint": false,
246
246
  "destructiveHint": false
247
247
  },
248
- "description": "Publish a Hostinger AI Builder website so its latest changes go live.\\n\nUse this tool when the user asks to publish, deploy or make their website live.\\n\nThis tool starts the publish process and returns the URL the website will be live on.\nPublishing happens asynchronously and takes a few minutes.\\n\nSet `is_template` only when the user explicitly asks to share the website as a template:\ntrue adds a \"Use template\" banner to its published pages that copies the website into the\nvisitor's own account, and false removes it. Leave it out to keep the current setting.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat the website is being published and you should provide the published URL to the user immediately.",
248
+ "description": "Publish a Hostinger AI Builder website so its latest changes go live.\\n\nUse this tool when the user asks to publish, deploy or make their website live.\\n\nIf you created or edited the website in this conversation, first check its build with the\n`Get website build task` tool and publish only when its `state` is `TASK_STATE_COMPLETED`.\nAfter a failed build, tell the user instead of publishing.\\n\nThis tool starts the publish process and returns the URL the website will be live on.\nPublishing happens asynchronously and takes a few minutes.\\n\nSet `is_template` only when the user explicitly asks to share the website as a template:\ntrue adds a \"Use template\" banner to its published pages that copies the website into the\nvisitor's own account, and false removes it. Leave it out to keep the current setting.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat the website is being published and you should provide the published URL to the user immediately.",
249
249
  "method": "POST",
250
250
  "path": "/api/horizons/v1/websites/{websiteId}/publish",
251
251
  "inputSchema": {
@@ -282,7 +282,7 @@ const tools: OpenApiTool[] = [
282
282
  "readOnlyHint": true,
283
283
  "destructiveHint": false
284
284
  },
285
- "description": "Get the link for the user to open their website in Hostinger AI Builder interface.\\n\nUse this tool when the user wants the link to an existing website, or when you need its\nwebsite URL before or after editing it.\\n\n`is_in_progress` is true while changes are being generated or the website is being published;\nwait until it is false before publishing. `is_generating` is true while changes are being generated,\nand `actions_in_progress` has `website_publish` while the website is being published.\n`published_at` is when the website was last published,\n`is_template` is whether its published pages show the \"Use template\" banner, and\n`has_ecommerce_store` is whether it has an online store.\\n\nWebsites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder\ninterface in the provided website URL.",
285
+ "description": "Get the link for the user to open their website in Hostinger AI Builder interface.\\n\nUse this tool when the user wants the link to an existing website, or when you need its\nwebsite URL before or after editing it.\\n\n`is_in_progress` is true while changes are being generated or the website is being published;\nwait until it is false before publishing. `is_generating` is true while changes are being generated,\nand `actions_in_progress` has `website_publish` while the website is being published.\n`is_generating` turns false whether the build completed or failed: use the `Get website build task`\ntool to learn its outcome.\n`published_at` is when the website was last published,\n`is_template` is whether its published pages show the \"Use template\" banner, and\n`has_ecommerce_store` is whether it has an online store.\\n\nWebsites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder\ninterface in the provided website URL.",
286
286
  "method": "GET",
287
287
  "path": "/api/horizons/v1/websites/{websiteId}",
288
288
  "inputSchema": {
@@ -303,6 +303,41 @@ const tools: OpenApiTool[] = [
303
303
  }
304
304
  ],
305
305
  "group": "horizons"
306
+ },
307
+ {
308
+ "name": "horizons_websites_build-task",
309
+ "title": "Get website build task",
310
+ "annotations": {
311
+ "title": "Get website build task",
312
+ "readOnlyHint": true,
313
+ "destructiveHint": false
314
+ },
315
+ "description": "Get the state and outcome of a website build started by the `Create website` or `Edit website` tool.\\n\nUse this tool with the `task.id` those tools return to find out whether the build completed or failed.\nPoll it every 30 seconds or so while `state` is `TASK_STATE_SUBMITTED` or `TASK_STATE_WORKING`.\\n\nWhen `state` is `TASK_STATE_FAILED` or `TASK_STATE_REJECTED`, the website does not contain the requested\nchanges: tell the user, using `message` and `reason_code`, and do not publish it.\nWhen `state` is `TASK_STATE_CANCELED`, the user stopped the build and changes made before that may be kept:\npublish only if the user asks to.\n`reason_code` `insufficient_credits` means the user must get more credits before building again.\\n\nWhen `state` is `TASK_STATE_COMPLETED`, the website can be published. A `reason_code` of\n`iteration_limit` on a completed build means it stopped early and kept the work done so far.",
316
+ "method": "GET",
317
+ "path": "/api/horizons/v1/websites/{websiteId}/tasks/{taskId}",
318
+ "inputSchema": {
319
+ "type": "object",
320
+ "properties": {
321
+ "websiteId": {
322
+ "type": "string",
323
+ "description": "The website ID"
324
+ },
325
+ "taskId": {
326
+ "type": "string",
327
+ "description": "The build task ID, returned as `task.id` by the `Create website` and `Edit website` tools"
328
+ }
329
+ },
330
+ "required": [
331
+ "websiteId",
332
+ "taskId"
333
+ ]
334
+ },
335
+ "security": [
336
+ {
337
+ "apiToken": []
338
+ }
339
+ ],
340
+ "group": "horizons"
306
341
  }
307
342
  ];
308
343
  export default tools;
@@ -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.agency-hosting.js';
6
6
 
7
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '4.16.0', tools, instructions });
7
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '4.18.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.agency-hosting.js';
6
6
 
7
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '4.16.0', tools, instructions });
7
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '4.18.0', tools, instructions });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agent-readiness.js';
5
5
 
6
- startServer({ name: 'hostinger-agent-readiness-mcp', version: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-agent-readiness-mcp', version: '4.18.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agent-readiness.js';
5
5
 
6
- startServer({ name: 'hostinger-agent-readiness-mcp', version: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-agent-readiness-mcp', version: '4.18.0', tools });
@@ -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: '4.16.0', tools, instructions, skills });
8
+ startServer({ name: 'hostinger-api-mcp', version: '4.18.0', tools, instructions, skills });
@@ -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: '4.16.0', tools, instructions, skills });
8
+ startServer({ name: 'hostinger-api-mcp', version: '4.18.0', tools, instructions, skills });
@@ -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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '4.18.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/gpu.js';
5
5
 
6
- startServer({ name: 'hostinger-gpu-mcp', version: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-gpu-mcp', version: '4.18.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/gpu.js';
5
5
 
6
- startServer({ name: 'hostinger-gpu-mcp', version: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-gpu-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '4.18.0', tools });
@@ -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: '4.16.0', tools, instructions });
7
+ startServer({ name: 'hostinger-hosting-mcp', version: '4.18.0', tools, instructions });
@@ -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: '4.16.0', tools, instructions });
7
+ startServer({ name: 'hostinger-hosting-mcp', version: '4.18.0', tools, instructions });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '4.18.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '4.18.0', 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: '4.16.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '4.18.0', tools });
package/types.d.ts CHANGED
@@ -3735,8 +3735,10 @@ The complete list of websites is returned in a single response - it is not pagin
3735
3735
  * Create new Hostinger AI Builder website from the given message.\n
3736
3736
  Use this tool when user asks you to create a website, landing page, blog
3737
3737
  or any other type of application.\n
3738
- This tool initiates the website creation process and returns a website URL and ID.
3739
- The generation happens asynchronously.\n
3738
+ This tool initiates the website creation process and returns a website URL, ID and build `task`.
3739
+ The generation happens asynchronously. To learn whether it succeeded, poll the
3740
+ `Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`
3741
+ happens whether the build completed or failed.\n
3740
3742
  After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
3741
3743
  that Hostinger AI Builder is now creating their website and it will be ready in a few minutes
3742
3744
  and you should provide the website URL to the user immediately
@@ -3781,8 +3783,10 @@ MAPS:\n
3781
3783
  /**
3782
3784
  * Edit an existing Hostinger AI Builder website with a follow-up message.\n
3783
3785
  Use this tool when the user wants to change, extend or fix a website that already exists.\n
3784
- This tool queues the requested changes and returns the website URL and ID.
3785
- The changes are applied asynchronously.\n
3786
+ This tool queues the requested changes and returns the website URL, ID and build `task`.
3787
+ The changes are applied asynchronously. To learn whether they were applied, poll the
3788
+ `Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`
3789
+ happens whether the build completed or failed.\n
3786
3790
  After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
3787
3791
  that Hostinger AI Builder is now applying the requested changes and they will be ready
3788
3792
  in a few minutes, and you should provide the website URL to the user immediately.
@@ -3807,6 +3811,9 @@ and do not generate code yourself in the chat.
3807
3811
  /**
3808
3812
  * Publish a Hostinger AI Builder website so its latest changes go live.\n
3809
3813
  Use this tool when the user asks to publish, deploy or make their website live.\n
3814
+ If you created or edited the website in this conversation, first check its build with the
3815
+ `Get website build task` tool and publish only when its `state` is `TASK_STATE_COMPLETED`.
3816
+ After a failed build, tell the user instead of publishing.\n
3810
3817
  This tool starts the publish process and returns the URL the website will be live on.
3811
3818
  Publishing happens asynchronously and takes a few minutes.\n
3812
3819
  Set `is_template` only when the user explicitly asks to share the website as a template:
@@ -3838,6 +3845,8 @@ website URL before or after editing it.\n
3838
3845
  `is_in_progress` is true while changes are being generated or the website is being published;
3839
3846
  wait until it is false before publishing. `is_generating` is true while changes are being generated,
3840
3847
  and `actions_in_progress` has `website_publish` while the website is being published.
3848
+ `is_generating` turns false whether the build completed or failed: use the `Get website build task`
3849
+ tool to learn its outcome.
3841
3850
  `published_at` is when the website was last published,
3842
3851
  `is_template` is whether its published pages show the "Use template" banner, and
3843
3852
  `has_ecommerce_store` is whether it has an online store.\n
@@ -3854,6 +3863,32 @@ interface in the provided website URL.
3854
3863
  response: any; // Response structure will depend on the API
3855
3864
  };
3856
3865
 
3866
+ /**
3867
+ * Get the state and outcome of a website build started by the `Create website` or `Edit website` tool.\n
3868
+ Use this tool with the `task.id` those tools return to find out whether the build completed or failed.
3869
+ Poll it every 30 seconds or so while `state` is `TASK_STATE_SUBMITTED` or `TASK_STATE_WORKING`.\n
3870
+ When `state` is `TASK_STATE_FAILED` or `TASK_STATE_REJECTED`, the website does not contain the requested
3871
+ changes: tell the user, using `message` and `reason_code`, and do not publish it.
3872
+ When `state` is `TASK_STATE_CANCELED`, the user stopped the build and changes made before that may be kept:
3873
+ publish only if the user asks to.
3874
+ `reason_code` `insufficient_credits` means the user must get more credits before building again.\n
3875
+ When `state` is `TASK_STATE_COMPLETED`, the website can be published. A `reason_code` of
3876
+ `iteration_limit` on a completed build means it stopped early and kept the work done so far.
3877
+ */
3878
+ "horizons_websites_build-task": {
3879
+ params: {
3880
+ /**
3881
+ * The website ID
3882
+ */
3883
+ websiteId: string;
3884
+ /**
3885
+ * The build task ID, returned as `task.id` by the `Create website` and `Edit website` tools
3886
+ */
3887
+ taskId: string;
3888
+ };
3889
+ response: any; // Response structure will depend on the API
3890
+ };
3891
+
3857
3892
  /**
3858
3893
  * Permanently clears all server-side cache for the website at once. Use it when content was
3859
3894
  updated and needs to be visible immediately, or after making major changes.