hostinger-api-mcp 4.23.1 → 5.0.1

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +1 -150
  3. package/gemini-extension.json +1 -1
  4. package/package.json +1 -2
  5. package/server.json +2 -2
  6. package/skills/headless/VERSION +2 -2
  7. package/src/core/runtime.js +1 -1
  8. package/src/core/runtime.ts +1 -1
  9. package/src/core/tools/all.js +0 -268
  10. package/src/core/tools/all.ts +0 -268
  11. package/src/servers/agency-hosting.js +1 -1
  12. package/src/servers/agency-hosting.ts +1 -1
  13. package/src/servers/agent-readiness.js +1 -1
  14. package/src/servers/agent-readiness.ts +1 -1
  15. package/src/servers/all.js +1 -1
  16. package/src/servers/all.ts +1 -1
  17. package/src/servers/billing.js +1 -1
  18. package/src/servers/billing.ts +1 -1
  19. package/src/servers/dns.js +1 -1
  20. package/src/servers/dns.ts +1 -1
  21. package/src/servers/domains.js +1 -1
  22. package/src/servers/domains.ts +1 -1
  23. package/src/servers/ecommerce.js +1 -1
  24. package/src/servers/ecommerce.ts +1 -1
  25. package/src/servers/gpu.js +1 -1
  26. package/src/servers/gpu.ts +1 -1
  27. package/src/servers/hosting.js +1 -1
  28. package/src/servers/hosting.ts +1 -1
  29. package/src/servers/mail.js +1 -1
  30. package/src/servers/mail.ts +1 -1
  31. package/src/servers/reach.js +1 -1
  32. package/src/servers/reach.ts +1 -1
  33. package/src/servers/vps.js +1 -1
  34. package/src/servers/vps.ts +1 -1
  35. package/src/servers/wordpress.js +1 -1
  36. package/src/servers/wordpress.ts +1 -1
  37. package/types.d.ts +0 -192
  38. package/src/core/tools/horizons.js +0 -322
  39. package/src/core/tools/horizons.ts +0 -343
  40. package/src/servers/horizons.js +0 -6
  41. package/src/servers/horizons.ts +0 -6
package/CHANGELOG.md CHANGED
@@ -4,6 +4,33 @@ 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
+ ## v5.0.1 — 2026-11-26
8
+
9
+ ### Also in this release
10
+
11
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
12
+
13
+ ## v5.0.0 — 2026-11-26
14
+
15
+ ### Operations
16
+
17
+ - Removed `horizons_websites_clone`
18
+ - Removed `horizons_websites_list`
19
+ - Removed `horizons_websites_create`
20
+ - Removed `horizons_websites_edit`
21
+ - Removed `horizons_websites_publish`
22
+ - Removed `horizons_websites_get`
23
+ - Removed `horizons_websites_build-task`
24
+
25
+ ### Also in this release
26
+
27
+ - Documentation: `README.md`
28
+ - Dependencies: `package-lock.json`, `package.json`
29
+ - Bundled agent skills: `skills/headless/VERSION`
30
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
31
+ - Server entry points: `src/servers/horizons.js`, `src/servers/horizons.ts`
32
+ - Build and packaging: `types.d.ts`
33
+
7
34
  ## v4.23.1 — 2026-11-25
8
35
 
9
36
  ### Operations
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 (419 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,6 @@ 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` — 12 operations for gpu
89
- - `hostinger-horizons-mcp` — 8 operations for horizons
90
89
  - `hostinger-hosting-mcp` — 59 operations for hosting
91
90
  - `hostinger-mail-mcp` — 39 operations for mail
92
91
  - `hostinger-reach-mcp` — 73 operations for reach
@@ -2004,154 +2003,6 @@ Use this endpoint to choose a pool before listing its instance types.
2004
2003
  - **Method**: `GET`
2005
2004
  - **Path**: `/api/gpu/v1/pools`
2006
2005
 
2007
- ### `hostinger-horizons-mcp`
2008
-
2009
- #### changelog_list-entries
2010
-
2011
- What's new and what's coming at Hostinger: list entries of the public Hostinger changelog (release notes, product updates, recent changes, new features and improvements) and of the public roadmap (upcoming features not released yet). Released entries come newest first; upcoming items come soonest expected release first. Reads released changelog entries by default; pick upcoming for the roadmap or all for both. Filter by product or date. Each entry has its title, summary, product, URL, status (released or upcoming), and plan when the entry states one; released entries have their date, upcoming items their expected release date when set. Needs no API token.
2012
-
2013
- - **Method**: `custom`
2014
- - **Path**: `custom`
2015
-
2016
- #### horizons_websites_clone
2017
-
2018
- Clone a Hostinger AI Builder website into a new website.\n
2019
- Use this tool when the user wants a copy of an existing website, for example to try out
2020
- changes without touching the original.\n
2021
- This tool returns the ID and URL of the newly created copy.
2022
- The original website is left untouched.\n
2023
- To edit the copy, use the `Edit website` tool with the returned website ID, or the user can
2024
- open the provided website URL in Hostinger AI Builder interface.
2025
-
2026
- - **Method**: `POST`
2027
- - **Path**: `/api/horizons/v1/websites/{websiteId}/clone`
2028
-
2029
- #### horizons_websites_list
2030
-
2031
- List the Hostinger AI Builder websites the user owns.\n
2032
- Use this tool when the user asks which websites they have, or when you need a website ID
2033
- before editing, publishing or cloning a website.\n
2034
- Each website is returned with its ID, status, domain and the URL to open it
2035
- in Hostinger AI Builder interface.\n
2036
- The complete list of websites is returned in a single response - it is not paginated.
2037
-
2038
- - **Method**: `GET`
2039
- - **Path**: `/api/horizons/v1/websites`
2040
-
2041
- #### horizons_websites_create
2042
-
2043
- Create new Hostinger AI Builder website from the given message.\n
2044
- Use this tool when user asks you to create a website, landing page, blog
2045
- or any other type of application.\n
2046
- This tool initiates the website creation process and returns a website URL, ID and build `task`.
2047
- The generation happens asynchronously. To learn whether it succeeded, poll the
2048
- `Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`
2049
- happens whether the build completed or failed.\n
2050
- After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
2051
- that Hostinger AI Builder is now creating their website and it will be ready in a few minutes
2052
- and you should provide the website URL to the user immediately
2053
- Do not write code.\n\nTo edit afterwards, use the `Edit website` tool with the returned
2054
- website ID, or the user can go to Hostinger AI Builder interface in the provided website URL.
2055
- If the tool call fails with an error, you should provide a clear explanation of the error
2056
- and do not generate code yourself in the chat.
2057
- \n
2058
- TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\n
2059
- The environment is limited to the following technologies.
2060
- You MUST NOT use, suggest, or implement any technology outside this list:\n
2061
- \n
2062
- - Language: JavaScript ONLY.
2063
- - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\n
2064
- - Framework: React.\n
2065
- - Navigation: React Router.\n
2066
- - Styling: TailwindCSS.\n
2067
- - Components: shadcn/ui (built with @radix-ui primitives).\n
2068
- - Icons: Lucide React.\n
2069
- - Animations: Framer Motion.\n
2070
- \n
2071
- BACKEND & DATA STORAGE:\n
2072
- - Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage,
2073
- authentication, and database needs.\n
2074
- - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\n
2075
- - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\n
2076
- \n
2077
- MAPS:\n
2078
- - OpenStreetMap is the default provider.\n
2079
- - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\n
2080
-
2081
- - **Method**: `POST`
2082
- - **Path**: `/api/horizons/v1/websites`
2083
-
2084
- #### horizons_websites_edit
2085
-
2086
- Edit an existing Hostinger AI Builder website with a follow-up message.\n
2087
- Use this tool when the user wants to change, extend or fix a website that already exists.\n
2088
- This tool queues the requested changes and returns the website URL, ID and build `task`.
2089
- The changes are applied asynchronously. To learn whether they were applied, poll the
2090
- `Get website build task` tool with `task.id`; `is_generating` turning false on `Get website`
2091
- happens whether the build completed or failed.\n
2092
- After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
2093
- that Hostinger AI Builder is now applying the requested changes and they will be ready
2094
- in a few minutes, and you should provide the website URL to the user immediately.
2095
- Do not write code.\n
2096
- If the tool call fails with an error, you should provide a clear explanation of the error
2097
- and do not generate code yourself in the chat.
2098
-
2099
- - **Method**: `POST`
2100
- - **Path**: `/api/horizons/v1/websites/{websiteId}/messages`
2101
-
2102
- #### horizons_websites_publish
2103
-
2104
- Publish a Hostinger AI Builder website so its latest changes go live.\n
2105
- Use this tool when the user asks to publish, deploy or make their website live.\n
2106
- If you created or edited the website in this conversation, first check its build with the
2107
- `Get website build task` tool and publish only when its `state` is `TASK_STATE_COMPLETED`.
2108
- After a failed build, tell the user instead of publishing.\n
2109
- This tool starts the publish process and returns the URL the website will be live on.
2110
- Publishing happens asynchronously and takes a few minutes.\n
2111
- Set `is_template` only when the user explicitly asks to share the website as a template:
2112
- true adds a "Use template" banner to its published pages that copies the website into the
2113
- visitor's own account, and false removes it. Leave it out to keep the current setting.\n
2114
- After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
2115
- that the website is being published and you should provide the published URL to the user immediately.
2116
-
2117
- - **Method**: `POST`
2118
- - **Path**: `/api/horizons/v1/websites/{websiteId}/publish`
2119
-
2120
- #### horizons_websites_get
2121
-
2122
- Get the link for the user to open their website in Hostinger AI Builder interface.\n
2123
- Use this tool when the user wants the link to an existing website, or when you need its
2124
- website URL before or after editing it.\n
2125
- `is_in_progress` is true while changes are being generated or the website is being published;
2126
- wait until it is false before publishing. `is_generating` is true while changes are being generated,
2127
- and `actions_in_progress` has `website_publish` while the website is being published.
2128
- `is_generating` turns false whether the build completed or failed: use the `Get website build task`
2129
- tool to learn its outcome.
2130
- `published_at` is when the website was last published,
2131
- `is_template` is whether its published pages show the "Use template" banner, and
2132
- `has_ecommerce_store` is whether it has an online store.\n
2133
- Websites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder
2134
- interface in the provided website URL.
2135
-
2136
- - **Method**: `GET`
2137
- - **Path**: `/api/horizons/v1/websites/{websiteId}`
2138
-
2139
- #### horizons_websites_build-task
2140
-
2141
- Get the state and outcome of a website build started by the `Create website` or `Edit website` tool.\n
2142
- Use this tool with the `task.id` those tools return to find out whether the build completed or failed.
2143
- Poll it every 30 seconds or so while `state` is `TASK_STATE_SUBMITTED` or `TASK_STATE_WORKING`.\n
2144
- When `state` is `TASK_STATE_FAILED` or `TASK_STATE_REJECTED`, the website does not contain the requested
2145
- changes: tell the user, using `message` and `reason_code`, and do not publish it.
2146
- When `state` is `TASK_STATE_CANCELED`, the user stopped the build and changes made before that may be kept:
2147
- publish only if the user asks to.
2148
- `reason_code` `insufficient_credits` means the user must get more credits before building again.\n
2149
- When `state` is `TASK_STATE_COMPLETED`, the website can be published. A `reason_code` of
2150
- `iteration_limit` on a completed build means it stopped early and kept the work done so far.
2151
-
2152
- - **Method**: `GET`
2153
- - **Path**: `/api/horizons/v1/websites/{websiteId}/tasks/{taskId}`
2154
-
2155
2006
  ### `hostinger-hosting-mcp`
2156
2007
 
2157
2008
  #### changelog_list-entries
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "4.23.1",
3
+ "version": "5.0.1",
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.23.1",
3
+ "version": "5.0.1",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
@@ -26,7 +26,6 @@
26
26
  "hostinger-domains-mcp": "./src/servers/domains.js",
27
27
  "hostinger-ecommerce-mcp": "./src/servers/ecommerce.js",
28
28
  "hostinger-gpu-mcp": "./src/servers/gpu.js",
29
- "hostinger-horizons-mcp": "./src/servers/horizons.js",
30
29
  "hostinger-hosting-mcp": "./src/servers/hosting.js",
31
30
  "hostinger-mail-mcp": "./src/servers/mail.js",
32
31
  "hostinger-reach-mcp": "./src/servers/reach.js",
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.23.1",
20
+ "version": "5.0.1",
21
21
  "packages": [
22
22
  {
23
23
  "registryType": "npm",
24
24
  "identifier": "@hostinger/mcp",
25
- "version": "4.23.1",
25
+ "version": "5.0.1",
26
26
  "transport": {
27
27
  "type": "stdio"
28
28
  },
@@ -1,3 +1,3 @@
1
- version=4.23.1
1
+ version=5.0.1
2
2
  commit=9615a5aa66cb
3
- built=2026-11-25
3
+ built=2026-11-26
@@ -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.9.2
65
+ * Generated from OpenAPI spec version 4.0.1
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.9.2
100
+ * Generated from OpenAPI spec version 4.0.1
101
101
  */
102
102
  class MCPServer {
103
103
  private readonly name: string;
@@ -6917,274 +6917,6 @@ export default [
6917
6917
  ],
6918
6918
  "group": "gpu"
6919
6919
  },
6920
- {
6921
- "name": "horizons_websites_clone",
6922
- "title": "Clone website",
6923
- "annotations": {
6924
- "title": "Clone website",
6925
- "readOnlyHint": false,
6926
- "destructiveHint": false
6927
- },
6928
- "description": "Clone a Hostinger AI Builder website into a new website.\\n\nUse this tool when the user wants a copy of an existing website, for example to try out\nchanges without touching the original.\\n\nThis tool returns the ID and URL of the newly created copy.\nThe original website is left untouched.\\n\nTo edit the copy, use the `Edit website` tool with the returned website ID, or the user can\nopen the provided website URL in Hostinger AI Builder interface.",
6929
- "method": "POST",
6930
- "path": "/api/horizons/v1/websites/{websiteId}/clone",
6931
- "inputSchema": {
6932
- "type": "object",
6933
- "properties": {
6934
- "websiteId": {
6935
- "type": "string",
6936
- "description": "The website ID"
6937
- }
6938
- },
6939
- "required": [
6940
- "websiteId"
6941
- ]
6942
- },
6943
- "security": [
6944
- {
6945
- "apiToken": []
6946
- }
6947
- ],
6948
- "group": "horizons"
6949
- },
6950
- {
6951
- "name": "horizons_websites_list",
6952
- "title": "Get website list",
6953
- "annotations": {
6954
- "title": "Get website list",
6955
- "readOnlyHint": true,
6956
- "destructiveHint": false
6957
- },
6958
- "description": "List the Hostinger AI Builder websites the user owns.\\n\nUse this tool when the user asks which websites they have, or when you need a website ID\nbefore editing, publishing or cloning a website.\\n\nEach website is returned with its ID, status, domain and the URL to open it\nin Hostinger AI Builder interface.\\n\nThe complete list of websites is returned in a single response - it is not paginated.",
6959
- "method": "GET",
6960
- "path": "/api/horizons/v1/websites",
6961
- "inputSchema": {
6962
- "type": "object",
6963
- "properties": {},
6964
- "required": []
6965
- },
6966
- "security": [
6967
- {
6968
- "apiToken": []
6969
- }
6970
- ],
6971
- "group": "horizons"
6972
- },
6973
- {
6974
- "name": "horizons_websites_create",
6975
- "title": "Create website",
6976
- "annotations": {
6977
- "title": "Create website",
6978
- "readOnlyHint": false,
6979
- "destructiveHint": false
6980
- },
6981
- "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",
6982
- "method": "POST",
6983
- "path": "/api/horizons/v1/websites",
6984
- "inputSchema": {
6985
- "type": "object",
6986
- "properties": {
6987
- "message": {
6988
- "type": "array",
6989
- "description": "message parameter",
6990
- "items": {
6991
- "type": "object",
6992
- "description": "message parameter",
6993
- "properties": {
6994
- "type": {
6995
- "type": "string",
6996
- "description": "type parameter",
6997
- "enum": [
6998
- "text"
6999
- ]
7000
- },
7001
- "text": {
7002
- "type": "string",
7003
- "description": "Detailed project specification.\nInclude purpose, key features, user flows, data models, and design preferences.\nThe specification should be detailed and comprehensive, covering all aspects of the project."
7004
- }
7005
- },
7006
- "required": [
7007
- "type",
7008
- "text"
7009
- ]
7010
- }
7011
- }
7012
- },
7013
- "required": [
7014
- "message"
7015
- ]
7016
- },
7017
- "security": [
7018
- {
7019
- "apiToken": []
7020
- }
7021
- ],
7022
- "group": "horizons",
7023
- "bodyParameters": [
7024
- "message"
7025
- ]
7026
- },
7027
- {
7028
- "name": "horizons_websites_edit",
7029
- "title": "Edit website",
7030
- "annotations": {
7031
- "title": "Edit website",
7032
- "readOnlyHint": false,
7033
- "destructiveHint": false
7034
- },
7035
- "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.",
7036
- "method": "POST",
7037
- "path": "/api/horizons/v1/websites/{websiteId}/messages",
7038
- "inputSchema": {
7039
- "type": "object",
7040
- "properties": {
7041
- "websiteId": {
7042
- "type": "string",
7043
- "description": "The website ID"
7044
- },
7045
- "message": {
7046
- "type": "array",
7047
- "description": "message parameter",
7048
- "items": {
7049
- "type": "object",
7050
- "description": "message parameter",
7051
- "properties": {
7052
- "type": {
7053
- "type": "string",
7054
- "description": "type parameter",
7055
- "enum": [
7056
- "text"
7057
- ]
7058
- },
7059
- "text": {
7060
- "type": "string",
7061
- "description": "Detailed description of the changes to apply to the website.\nInclude which sections, features, content or design should change and how.\nThe specification should be detailed and comprehensive, covering all requested changes."
7062
- }
7063
- },
7064
- "required": [
7065
- "type",
7066
- "text"
7067
- ]
7068
- }
7069
- }
7070
- },
7071
- "required": [
7072
- "websiteId",
7073
- "message"
7074
- ]
7075
- },
7076
- "security": [
7077
- {
7078
- "apiToken": []
7079
- }
7080
- ],
7081
- "group": "horizons",
7082
- "bodyParameters": [
7083
- "message"
7084
- ]
7085
- },
7086
- {
7087
- "name": "horizons_websites_publish",
7088
- "title": "Publish website",
7089
- "annotations": {
7090
- "title": "Publish website",
7091
- "readOnlyHint": false,
7092
- "destructiveHint": false
7093
- },
7094
- "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.",
7095
- "method": "POST",
7096
- "path": "/api/horizons/v1/websites/{websiteId}/publish",
7097
- "inputSchema": {
7098
- "type": "object",
7099
- "properties": {
7100
- "websiteId": {
7101
- "type": "string",
7102
- "description": "The website ID"
7103
- },
7104
- "is_template": {
7105
- "type": "boolean",
7106
- "description": "Set to true to publish the website as a template: its published pages show a \"Use template\" banner\nthat copies the website into the visitor's own account. Set to false to remove the banner.\nLeave it out to keep the current setting."
7107
- }
7108
- },
7109
- "required": [
7110
- "websiteId"
7111
- ]
7112
- },
7113
- "security": [
7114
- {
7115
- "apiToken": []
7116
- }
7117
- ],
7118
- "group": "horizons",
7119
- "bodyParameters": [
7120
- "is_template"
7121
- ]
7122
- },
7123
- {
7124
- "name": "horizons_websites_get",
7125
- "title": "Get website",
7126
- "annotations": {
7127
- "title": "Get website",
7128
- "readOnlyHint": true,
7129
- "destructiveHint": false
7130
- },
7131
- "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.",
7132
- "method": "GET",
7133
- "path": "/api/horizons/v1/websites/{websiteId}",
7134
- "inputSchema": {
7135
- "type": "object",
7136
- "properties": {
7137
- "websiteId": {
7138
- "type": "string",
7139
- "description": "The website ID"
7140
- }
7141
- },
7142
- "required": [
7143
- "websiteId"
7144
- ]
7145
- },
7146
- "security": [
7147
- {
7148
- "apiToken": []
7149
- }
7150
- ],
7151
- "group": "horizons"
7152
- },
7153
- {
7154
- "name": "horizons_websites_build-task",
7155
- "title": "Get website build task",
7156
- "annotations": {
7157
- "title": "Get website build task",
7158
- "readOnlyHint": true,
7159
- "destructiveHint": false
7160
- },
7161
- "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.",
7162
- "method": "GET",
7163
- "path": "/api/horizons/v1/websites/{websiteId}/tasks/{taskId}",
7164
- "inputSchema": {
7165
- "type": "object",
7166
- "properties": {
7167
- "websiteId": {
7168
- "type": "string",
7169
- "description": "The website ID"
7170
- },
7171
- "taskId": {
7172
- "type": "string",
7173
- "description": "The build task ID, returned as `task.id` by the `Create website` and `Edit website` tools"
7174
- }
7175
- },
7176
- "required": [
7177
- "websiteId",
7178
- "taskId"
7179
- ]
7180
- },
7181
- "security": [
7182
- {
7183
- "apiToken": []
7184
- }
7185
- ],
7186
- "group": "horizons"
7187
- },
7188
6920
  {
7189
6921
  "name": "hosting_cache_clear-website",
7190
6922
  "title": "Clear website cache",