@hostinger/mcp 3.40.0 → 3.41.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 +31 -0
- package/README.md +81 -9
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/VERSION +3 -3
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +164 -2
- package/src/core/tools/all.ts +164 -2
- package/src/core/tools/gpu.js +162 -0
- package/src/core/tools/gpu.ts +162 -0
- package/src/core/tools/hosting.js +2 -2
- package/src/core/tools/hosting.ts +2 -2
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/agent-readiness.js +1 -1
- package/src/servers/agent-readiness.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/gpu.js +1 -1
- package/src/servers/gpu.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +118 -7
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,37 @@ 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
|
+
## v3.41.0 — 2026-11-13
|
|
8
|
+
|
|
9
|
+
### Operations
|
|
10
|
+
|
|
11
|
+
- Added `gpu_instances_get` — Get instance details
|
|
12
|
+
- Added `gpu_instances_delete` — Delete instance
|
|
13
|
+
- Added `gpu_instances_list` — Get instances
|
|
14
|
+
- Added `gpu_instances_create` — Create instance
|
|
15
|
+
- Added `gpu_instances_metrics` — Get instance metrics
|
|
16
|
+
|
|
17
|
+
### Also in this release
|
|
18
|
+
|
|
19
|
+
- Documentation: `README.md`
|
|
20
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
21
|
+
- Build and packaging: `types.d.ts`
|
|
22
|
+
|
|
23
|
+
## v3.40.1 — 2026-11-13
|
|
24
|
+
|
|
25
|
+
### Operations
|
|
26
|
+
|
|
27
|
+
- Changed the description of `hosting_pocketbase_backend`
|
|
28
|
+
- Changed the description of `hosting_pocketbase_list-backends`
|
|
29
|
+
|
|
30
|
+
### Also in this release
|
|
31
|
+
|
|
32
|
+
- Documentation: `README.md`
|
|
33
|
+
- Dependencies: `package-lock.json`
|
|
34
|
+
- Bundled agent skills: `skills/headless/VERSION`
|
|
35
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
36
|
+
- Build and packaging: `types.d.ts`
|
|
37
|
+
|
|
7
38
|
## v3.40.0 — 2026-11-12
|
|
8
39
|
|
|
9
40
|
### Also in this release
|
package/README.md
CHANGED
|
@@ -78,14 +78,14 @@ 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 (
|
|
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
|
|
85
85
|
- `hostinger-dns-mcp` — 9 operations for dns
|
|
86
86
|
- `hostinger-domains-mcp` — 43 operations for domains
|
|
87
87
|
- `hostinger-ecommerce-mcp` — 30 operations for ecommerce
|
|
88
|
-
- `hostinger-gpu-mcp` —
|
|
88
|
+
- `hostinger-gpu-mcp` — 10 operations for gpu
|
|
89
89
|
- `hostinger-horizons-mcp` — 7 operations for horizons
|
|
90
90
|
- `hostinger-hosting-mcp` — 59 operations for hosting
|
|
91
91
|
- `hostinger-mail-mcp` — 39 operations for mail
|
|
@@ -1835,6 +1835,65 @@ What's new and what's coming at Hostinger: list entries of the public Hostinger
|
|
|
1835
1835
|
- **Method**: `custom`
|
|
1836
1836
|
- **Path**: `custom`
|
|
1837
1837
|
|
|
1838
|
+
#### gpu_instances_get
|
|
1839
|
+
|
|
1840
|
+
Retrieve detailed information about a specified GPU instance, including its SSH keys.
|
|
1841
|
+
|
|
1842
|
+
Use this endpoint to follow the instance `status` after creating or deleting it.
|
|
1843
|
+
|
|
1844
|
+
- **Method**: `GET`
|
|
1845
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}`
|
|
1846
|
+
|
|
1847
|
+
#### gpu_instances_delete
|
|
1848
|
+
|
|
1849
|
+
Delete a specified GPU instance.
|
|
1850
|
+
|
|
1851
|
+
The instance is destroyed asynchronously: a successful request returns immediately and the instance
|
|
1852
|
+
`status` moves to `destroying`. Deleting fails while the instance is in `created`, `destroying`,
|
|
1853
|
+
`destroyed` or `abuse` status, or while another action is in progress on it.
|
|
1854
|
+
|
|
1855
|
+
Use this endpoint to stop billing for a GPU instance you no longer need.
|
|
1856
|
+
|
|
1857
|
+
- **Method**: `DELETE`
|
|
1858
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}`
|
|
1859
|
+
|
|
1860
|
+
#### gpu_instances_list
|
|
1861
|
+
|
|
1862
|
+
Retrieve all GPU instances of your account.
|
|
1863
|
+
|
|
1864
|
+
Use this endpoint to view your GPU instances with their status, pool, instance type and OS template.
|
|
1865
|
+
|
|
1866
|
+
- **Method**: `GET`
|
|
1867
|
+
- **Path**: `/api/gpu/v1/instances`
|
|
1868
|
+
|
|
1869
|
+
#### gpu_instances_create
|
|
1870
|
+
|
|
1871
|
+
Create a new GPU instance.
|
|
1872
|
+
|
|
1873
|
+
Pick `pool_instance_id` from the pool instance types list and `os_template_id` from the OS templates
|
|
1874
|
+
available for that instance type. Your account must have enough credits to run the instance for its
|
|
1875
|
+
first hour.
|
|
1876
|
+
|
|
1877
|
+
The instance is created asynchronously: a successful request returns immediately, and the instance
|
|
1878
|
+
appears in the instance list while its `status` moves from `created` through `creating` to `running`.
|
|
1879
|
+
|
|
1880
|
+
Use this endpoint to provision GPU compute.
|
|
1881
|
+
|
|
1882
|
+
- **Method**: `POST`
|
|
1883
|
+
- **Path**: `/api/gpu/v1/instances`
|
|
1884
|
+
|
|
1885
|
+
#### gpu_instances_metrics
|
|
1886
|
+
|
|
1887
|
+
Retrieve utilisation metrics of a specified GPU instance for the last hour.
|
|
1888
|
+
|
|
1889
|
+
Each data point contains CPU, memory and GPU utilisation, used GPU memory and GPU throughput.
|
|
1890
|
+
The list is empty until the instance is provisioned.
|
|
1891
|
+
|
|
1892
|
+
Use this endpoint to monitor GPU instance load.
|
|
1893
|
+
|
|
1894
|
+
- **Method**: `GET`
|
|
1895
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}/metrics`
|
|
1896
|
+
|
|
1838
1897
|
#### gpu_catalog_pool-groups
|
|
1839
1898
|
|
|
1840
1899
|
Retrieve GPU pool groups, ordered by name.
|
|
@@ -2571,9 +2630,16 @@ is lost, set a new one with the `Set PocketBase superuser` endpoint.
|
|
|
2571
2630
|
|
|
2572
2631
|
The instance sleeps when idle and wakes on the first request, so `asleep` is a normal state
|
|
2573
2632
|
and the first call to a sleeping instance can take a few seconds. `starting`, `running` and
|
|
2574
|
-
`stopping` are healthy
|
|
2575
|
-
|
|
2576
|
-
|
|
2633
|
+
`stopping` are healthy.
|
|
2634
|
+
|
|
2635
|
+
`failed` means the last start did not succeed. Hostinger starts it again on its own after
|
|
2636
|
+
`retry_after_seconds`, and the data is intact: wait and call again, do not delete the
|
|
2637
|
+
backend. `failure_reason` says why: `process_limit` means the hosting account has no free
|
|
2638
|
+
process slots, usually because its Node.js apps are running.
|
|
2639
|
+
|
|
2640
|
+
`unregistered` means the instance is broken. `missing` means its files are gone from the
|
|
2641
|
+
server, and creating the PocketBase backend again sets up a new, empty one. `state` is null
|
|
2642
|
+
when the server could not be reached; retry later.
|
|
2577
2643
|
|
|
2578
2644
|
PocketBase is rolling out gradually: an account without access yet gets 422.
|
|
2579
2645
|
|
|
@@ -2637,10 +2703,16 @@ authentication, file storage and a realtime REST API, served from the website's
|
|
|
2637
2703
|
domain. An empty list means no website of the account has a PocketBase backend.
|
|
2638
2704
|
|
|
2639
2705
|
States: `asleep` is normal (the instance sleeps when idle and wakes on the first request);
|
|
2640
|
-
`starting`, `running` and `stopping` are healthy
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2706
|
+
`starting`, `running` and `stopping` are healthy.
|
|
2707
|
+
|
|
2708
|
+
`failed` means the last start did not succeed. Hostinger starts it again on its own after
|
|
2709
|
+
`retry_after_seconds`, and the data is intact: wait and call again, do not delete the
|
|
2710
|
+
backend. `failure_reason` says why: `process_limit` means the hosting account has no free
|
|
2711
|
+
process slots, usually because its Node.js apps are running.
|
|
2712
|
+
|
|
2713
|
+
`unregistered` means the instance is broken. `missing` means its files are gone from the
|
|
2714
|
+
server, and creating the PocketBase backend again sets up a new, empty one. `state` is null
|
|
2715
|
+
when the server could not be reached; retry later.
|
|
2644
2716
|
|
|
2645
2717
|
PocketBase is rolling out gradually: an account without access yet gets 422.
|
|
2646
2718
|
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
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": "3.
|
|
20
|
+
"version": "3.41.0",
|
|
21
21
|
"packages": [
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "@hostinger/mcp",
|
|
25
|
-
"version": "3.
|
|
25
|
+
"version": "3.41.0",
|
|
26
26
|
"transport": {
|
|
27
27
|
"type": "stdio"
|
|
28
28
|
},
|
package/skills/headless/VERSION
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
version=3.
|
|
2
|
-
commit=
|
|
3
|
-
built=2026-11-
|
|
1
|
+
version=3.41.0
|
|
2
|
+
commit=1ce0eee3ab97
|
|
3
|
+
built=2026-11-13
|
package/src/core/runtime.js
CHANGED
|
@@ -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 2.
|
|
65
|
+
* Generated from OpenAPI spec version 2.15.0
|
|
66
66
|
*/
|
|
67
67
|
class MCPServer {
|
|
68
68
|
constructor({ name, version, tools, instructions, skills = [] }) {
|
package/src/core/runtime.ts
CHANGED
|
@@ -96,7 +96,7 @@ interface Skill { uri: string; frontmatter: Record<string, unknown>; resources:
|
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* MCP Server for Hostinger API
|
|
99
|
-
* Generated from OpenAPI spec version 2.
|
|
99
|
+
* Generated from OpenAPI spec version 2.15.0
|
|
100
100
|
*/
|
|
101
101
|
class MCPServer {
|
|
102
102
|
private readonly name: string;
|
package/src/core/tools/all.js
CHANGED
|
@@ -6124,6 +6124,168 @@ export default [
|
|
|
6124
6124
|
],
|
|
6125
6125
|
"group": "ecommerce"
|
|
6126
6126
|
},
|
|
6127
|
+
{
|
|
6128
|
+
"name": "gpu_instances_get",
|
|
6129
|
+
"title": "Get instance details",
|
|
6130
|
+
"annotations": {
|
|
6131
|
+
"title": "Get instance details",
|
|
6132
|
+
"readOnlyHint": true,
|
|
6133
|
+
"destructiveHint": false
|
|
6134
|
+
},
|
|
6135
|
+
"description": "Retrieve detailed information about a specified GPU instance, including its SSH keys.\n\nUse this endpoint to follow the instance `status` after creating or deleting it.",
|
|
6136
|
+
"method": "GET",
|
|
6137
|
+
"path": "/api/gpu/v1/instances/{instanceId}",
|
|
6138
|
+
"inputSchema": {
|
|
6139
|
+
"type": "object",
|
|
6140
|
+
"properties": {
|
|
6141
|
+
"instanceId": {
|
|
6142
|
+
"type": "integer",
|
|
6143
|
+
"description": "GPU instance ID"
|
|
6144
|
+
}
|
|
6145
|
+
},
|
|
6146
|
+
"required": [
|
|
6147
|
+
"instanceId"
|
|
6148
|
+
]
|
|
6149
|
+
},
|
|
6150
|
+
"security": [
|
|
6151
|
+
{
|
|
6152
|
+
"apiToken": []
|
|
6153
|
+
}
|
|
6154
|
+
],
|
|
6155
|
+
"group": "gpu"
|
|
6156
|
+
},
|
|
6157
|
+
{
|
|
6158
|
+
"name": "gpu_instances_delete",
|
|
6159
|
+
"title": "Delete instance",
|
|
6160
|
+
"annotations": {
|
|
6161
|
+
"title": "Delete instance",
|
|
6162
|
+
"readOnlyHint": false,
|
|
6163
|
+
"destructiveHint": true,
|
|
6164
|
+
"idempotentHint": true
|
|
6165
|
+
},
|
|
6166
|
+
"description": "Delete a specified GPU instance.\n\nThe instance is destroyed asynchronously: a successful request returns immediately and the instance\n`status` moves to `destroying`. Deleting fails while the instance is in `created`, `destroying`,\n`destroyed` or `abuse` status, or while another action is in progress on it.\n\nUse this endpoint to stop billing for a GPU instance you no longer need.",
|
|
6167
|
+
"method": "DELETE",
|
|
6168
|
+
"path": "/api/gpu/v1/instances/{instanceId}",
|
|
6169
|
+
"inputSchema": {
|
|
6170
|
+
"type": "object",
|
|
6171
|
+
"properties": {
|
|
6172
|
+
"instanceId": {
|
|
6173
|
+
"type": "integer",
|
|
6174
|
+
"description": "GPU instance ID"
|
|
6175
|
+
}
|
|
6176
|
+
},
|
|
6177
|
+
"required": [
|
|
6178
|
+
"instanceId"
|
|
6179
|
+
]
|
|
6180
|
+
},
|
|
6181
|
+
"security": [
|
|
6182
|
+
{
|
|
6183
|
+
"apiToken": []
|
|
6184
|
+
}
|
|
6185
|
+
],
|
|
6186
|
+
"group": "gpu"
|
|
6187
|
+
},
|
|
6188
|
+
{
|
|
6189
|
+
"name": "gpu_instances_list",
|
|
6190
|
+
"title": "Get instances",
|
|
6191
|
+
"annotations": {
|
|
6192
|
+
"title": "Get instances",
|
|
6193
|
+
"readOnlyHint": true,
|
|
6194
|
+
"destructiveHint": false
|
|
6195
|
+
},
|
|
6196
|
+
"description": "Retrieve all GPU instances of your account.\n\nUse this endpoint to view your GPU instances with their status, pool, instance type and OS template.",
|
|
6197
|
+
"method": "GET",
|
|
6198
|
+
"path": "/api/gpu/v1/instances",
|
|
6199
|
+
"inputSchema": {
|
|
6200
|
+
"type": "object",
|
|
6201
|
+
"properties": {},
|
|
6202
|
+
"required": []
|
|
6203
|
+
},
|
|
6204
|
+
"security": [
|
|
6205
|
+
{
|
|
6206
|
+
"apiToken": []
|
|
6207
|
+
}
|
|
6208
|
+
],
|
|
6209
|
+
"group": "gpu"
|
|
6210
|
+
},
|
|
6211
|
+
{
|
|
6212
|
+
"name": "gpu_instances_create",
|
|
6213
|
+
"title": "Create instance",
|
|
6214
|
+
"annotations": {
|
|
6215
|
+
"title": "Create instance",
|
|
6216
|
+
"readOnlyHint": false,
|
|
6217
|
+
"destructiveHint": false
|
|
6218
|
+
},
|
|
6219
|
+
"description": "Create a new GPU instance.\n\nPick `pool_instance_id` from the pool instance types list and `os_template_id` from the OS templates\navailable for that instance type. Your account must have enough credits to run the instance for its\nfirst hour.\n\nThe instance is created asynchronously: a successful request returns immediately, and the instance\nappears in the instance list while its `status` moves from `created` through `creating` to `running`.\n\nUse this endpoint to provision GPU compute.",
|
|
6220
|
+
"method": "POST",
|
|
6221
|
+
"path": "/api/gpu/v1/instances",
|
|
6222
|
+
"inputSchema": {
|
|
6223
|
+
"type": "object",
|
|
6224
|
+
"properties": {
|
|
6225
|
+
"pool_instance_id": {
|
|
6226
|
+
"type": "integer",
|
|
6227
|
+
"description": "Instance type ID from the pool instance types list"
|
|
6228
|
+
},
|
|
6229
|
+
"os_template_id": {
|
|
6230
|
+
"type": "integer",
|
|
6231
|
+
"description": "OS template ID available for the selected instance type"
|
|
6232
|
+
},
|
|
6233
|
+
"name": {
|
|
6234
|
+
"type": "string",
|
|
6235
|
+
"description": "Instance name, unique among your instances. Letters, numbers, dashes and underscores only"
|
|
6236
|
+
},
|
|
6237
|
+
"public_keys": {
|
|
6238
|
+
"type": "array",
|
|
6239
|
+
"description": "SSH public keys to add to the instance",
|
|
6240
|
+
"items": {
|
|
6241
|
+
"type": "string",
|
|
6242
|
+
"description": "public_keys parameter"
|
|
6243
|
+
}
|
|
6244
|
+
}
|
|
6245
|
+
},
|
|
6246
|
+
"required": [
|
|
6247
|
+
"pool_instance_id",
|
|
6248
|
+
"os_template_id",
|
|
6249
|
+
"name"
|
|
6250
|
+
]
|
|
6251
|
+
},
|
|
6252
|
+
"security": [
|
|
6253
|
+
{
|
|
6254
|
+
"apiToken": []
|
|
6255
|
+
}
|
|
6256
|
+
],
|
|
6257
|
+
"group": "gpu"
|
|
6258
|
+
},
|
|
6259
|
+
{
|
|
6260
|
+
"name": "gpu_instances_metrics",
|
|
6261
|
+
"title": "Get instance metrics",
|
|
6262
|
+
"annotations": {
|
|
6263
|
+
"title": "Get instance metrics",
|
|
6264
|
+
"readOnlyHint": true,
|
|
6265
|
+
"destructiveHint": false
|
|
6266
|
+
},
|
|
6267
|
+
"description": "Retrieve utilisation metrics of a specified GPU instance for the last hour.\n\nEach data point contains CPU, memory and GPU utilisation, used GPU memory and GPU throughput.\nThe list is empty until the instance is provisioned.\n\nUse this endpoint to monitor GPU instance load.",
|
|
6268
|
+
"method": "GET",
|
|
6269
|
+
"path": "/api/gpu/v1/instances/{instanceId}/metrics",
|
|
6270
|
+
"inputSchema": {
|
|
6271
|
+
"type": "object",
|
|
6272
|
+
"properties": {
|
|
6273
|
+
"instanceId": {
|
|
6274
|
+
"type": "integer",
|
|
6275
|
+
"description": "GPU instance ID"
|
|
6276
|
+
}
|
|
6277
|
+
},
|
|
6278
|
+
"required": [
|
|
6279
|
+
"instanceId"
|
|
6280
|
+
]
|
|
6281
|
+
},
|
|
6282
|
+
"security": [
|
|
6283
|
+
{
|
|
6284
|
+
"apiToken": []
|
|
6285
|
+
}
|
|
6286
|
+
],
|
|
6287
|
+
"group": "gpu"
|
|
6288
|
+
},
|
|
6127
6289
|
{
|
|
6128
6290
|
"name": "gpu_catalog_pool-groups",
|
|
6129
6291
|
"title": "Get pool groups",
|
|
@@ -9774,7 +9936,7 @@ export default [
|
|
|
9774
9936
|
"readOnlyHint": true,
|
|
9775
9937
|
"destructiveHint": false
|
|
9776
9938
|
},
|
|
9777
|
-
"description": "Returns the PocketBase backend of a website: its REST API and dashboard URLs, live state\nand version. A PocketBase backend gives the website a database, authentication, file\nstorage and a realtime REST API, served from the website's own domain under `/api` and\n`/_`. Returns 404 when the website has no PocketBase backend.\n\nThe superuser password is only shown once, when it is set, and is never returned here. If it\nis lost, set a new one with the `Set PocketBase superuser` endpoint.\n\nThe instance sleeps when idle and wakes on the first request, so `asleep` is a normal state\nand the first call to a sleeping instance can take a few seconds. `starting`, `running` and\n`stopping` are healthy
|
|
9939
|
+
"description": "Returns the PocketBase backend of a website: its REST API and dashboard URLs, live state\nand version. A PocketBase backend gives the website a database, authentication, file\nstorage and a realtime REST API, served from the website's own domain under `/api` and\n`/_`. Returns 404 when the website has no PocketBase backend.\n\nThe superuser password is only shown once, when it is set, and is never returned here. If it\nis lost, set a new one with the `Set PocketBase superuser` endpoint.\n\nThe instance sleeps when idle and wakes on the first request, so `asleep` is a normal state\nand the first call to a sleeping instance can take a few seconds. `starting`, `running` and\n`stopping` are healthy.\n\n`failed` means the last start did not succeed. Hostinger starts it again on its own after\n`retry_after_seconds`, and the data is intact: wait and call again, do not delete the\nbackend. `failure_reason` says why: `process_limit` means the hosting account has no free\nprocess slots, usually because its Node.js apps are running.\n\n`unregistered` means the instance is broken. `missing` means its files are gone from the\nserver, and creating the PocketBase backend again sets up a new, empty one. `state` is null\nwhen the server could not be reached; retry later.\n\nPocketBase is rolling out gradually: an account without access yet gets 422.",
|
|
9778
9940
|
"method": "GET",
|
|
9779
9941
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase",
|
|
9780
9942
|
"inputSchema": {
|
|
@@ -9888,7 +10050,7 @@ export default [
|
|
|
9888
10050
|
"readOnlyHint": true,
|
|
9889
10051
|
"destructiveHint": false
|
|
9890
10052
|
},
|
|
9891
|
-
"description": "Lists the PocketBase backends of all websites of a hosting account with their URLs, live\nstate, version and disk usage. A PocketBase backend gives a website a database,\nauthentication, file storage and a realtime REST API, served from the website's own\ndomain. An empty list means no website of the account has a PocketBase backend.\n\nStates: `asleep` is normal (the instance sleeps when idle and wakes on the first request);\n`starting`, `running` and `stopping` are healthy
|
|
10053
|
+
"description": "Lists the PocketBase backends of all websites of a hosting account with their URLs, live\nstate, version and disk usage. A PocketBase backend gives a website a database,\nauthentication, file storage and a realtime REST API, served from the website's own\ndomain. An empty list means no website of the account has a PocketBase backend.\n\nStates: `asleep` is normal (the instance sleeps when idle and wakes on the first request);\n`starting`, `running` and `stopping` are healthy.\n\n`failed` means the last start did not succeed. Hostinger starts it again on its own after\n`retry_after_seconds`, and the data is intact: wait and call again, do not delete the\nbackend. `failure_reason` says why: `process_limit` means the hosting account has no free\nprocess slots, usually because its Node.js apps are running.\n\n`unregistered` means the instance is broken. `missing` means its files are gone from the\nserver, and creating the PocketBase backend again sets up a new, empty one. `state` is null\nwhen the server could not be reached; retry later.\n\nPocketBase is rolling out gradually: an account without access yet gets 422.",
|
|
9892
10054
|
"method": "GET",
|
|
9893
10055
|
"path": "/api/hosting/v1/accounts/{username}/pocketbase",
|
|
9894
10056
|
"inputSchema": {
|
package/src/core/tools/all.ts
CHANGED
|
@@ -6143,6 +6143,168 @@ const tools: OpenApiTool[] = [
|
|
|
6143
6143
|
],
|
|
6144
6144
|
"group": "ecommerce"
|
|
6145
6145
|
},
|
|
6146
|
+
{
|
|
6147
|
+
"name": "gpu_instances_get",
|
|
6148
|
+
"title": "Get instance details",
|
|
6149
|
+
"annotations": {
|
|
6150
|
+
"title": "Get instance details",
|
|
6151
|
+
"readOnlyHint": true,
|
|
6152
|
+
"destructiveHint": false
|
|
6153
|
+
},
|
|
6154
|
+
"description": "Retrieve detailed information about a specified GPU instance, including its SSH keys.\n\nUse this endpoint to follow the instance `status` after creating or deleting it.",
|
|
6155
|
+
"method": "GET",
|
|
6156
|
+
"path": "/api/gpu/v1/instances/{instanceId}",
|
|
6157
|
+
"inputSchema": {
|
|
6158
|
+
"type": "object",
|
|
6159
|
+
"properties": {
|
|
6160
|
+
"instanceId": {
|
|
6161
|
+
"type": "integer",
|
|
6162
|
+
"description": "GPU instance ID"
|
|
6163
|
+
}
|
|
6164
|
+
},
|
|
6165
|
+
"required": [
|
|
6166
|
+
"instanceId"
|
|
6167
|
+
]
|
|
6168
|
+
},
|
|
6169
|
+
"security": [
|
|
6170
|
+
{
|
|
6171
|
+
"apiToken": []
|
|
6172
|
+
}
|
|
6173
|
+
],
|
|
6174
|
+
"group": "gpu"
|
|
6175
|
+
},
|
|
6176
|
+
{
|
|
6177
|
+
"name": "gpu_instances_delete",
|
|
6178
|
+
"title": "Delete instance",
|
|
6179
|
+
"annotations": {
|
|
6180
|
+
"title": "Delete instance",
|
|
6181
|
+
"readOnlyHint": false,
|
|
6182
|
+
"destructiveHint": true,
|
|
6183
|
+
"idempotentHint": true
|
|
6184
|
+
},
|
|
6185
|
+
"description": "Delete a specified GPU instance.\n\nThe instance is destroyed asynchronously: a successful request returns immediately and the instance\n`status` moves to `destroying`. Deleting fails while the instance is in `created`, `destroying`,\n`destroyed` or `abuse` status, or while another action is in progress on it.\n\nUse this endpoint to stop billing for a GPU instance you no longer need.",
|
|
6186
|
+
"method": "DELETE",
|
|
6187
|
+
"path": "/api/gpu/v1/instances/{instanceId}",
|
|
6188
|
+
"inputSchema": {
|
|
6189
|
+
"type": "object",
|
|
6190
|
+
"properties": {
|
|
6191
|
+
"instanceId": {
|
|
6192
|
+
"type": "integer",
|
|
6193
|
+
"description": "GPU instance ID"
|
|
6194
|
+
}
|
|
6195
|
+
},
|
|
6196
|
+
"required": [
|
|
6197
|
+
"instanceId"
|
|
6198
|
+
]
|
|
6199
|
+
},
|
|
6200
|
+
"security": [
|
|
6201
|
+
{
|
|
6202
|
+
"apiToken": []
|
|
6203
|
+
}
|
|
6204
|
+
],
|
|
6205
|
+
"group": "gpu"
|
|
6206
|
+
},
|
|
6207
|
+
{
|
|
6208
|
+
"name": "gpu_instances_list",
|
|
6209
|
+
"title": "Get instances",
|
|
6210
|
+
"annotations": {
|
|
6211
|
+
"title": "Get instances",
|
|
6212
|
+
"readOnlyHint": true,
|
|
6213
|
+
"destructiveHint": false
|
|
6214
|
+
},
|
|
6215
|
+
"description": "Retrieve all GPU instances of your account.\n\nUse this endpoint to view your GPU instances with their status, pool, instance type and OS template.",
|
|
6216
|
+
"method": "GET",
|
|
6217
|
+
"path": "/api/gpu/v1/instances",
|
|
6218
|
+
"inputSchema": {
|
|
6219
|
+
"type": "object",
|
|
6220
|
+
"properties": {},
|
|
6221
|
+
"required": []
|
|
6222
|
+
},
|
|
6223
|
+
"security": [
|
|
6224
|
+
{
|
|
6225
|
+
"apiToken": []
|
|
6226
|
+
}
|
|
6227
|
+
],
|
|
6228
|
+
"group": "gpu"
|
|
6229
|
+
},
|
|
6230
|
+
{
|
|
6231
|
+
"name": "gpu_instances_create",
|
|
6232
|
+
"title": "Create instance",
|
|
6233
|
+
"annotations": {
|
|
6234
|
+
"title": "Create instance",
|
|
6235
|
+
"readOnlyHint": false,
|
|
6236
|
+
"destructiveHint": false
|
|
6237
|
+
},
|
|
6238
|
+
"description": "Create a new GPU instance.\n\nPick `pool_instance_id` from the pool instance types list and `os_template_id` from the OS templates\navailable for that instance type. Your account must have enough credits to run the instance for its\nfirst hour.\n\nThe instance is created asynchronously: a successful request returns immediately, and the instance\nappears in the instance list while its `status` moves from `created` through `creating` to `running`.\n\nUse this endpoint to provision GPU compute.",
|
|
6239
|
+
"method": "POST",
|
|
6240
|
+
"path": "/api/gpu/v1/instances",
|
|
6241
|
+
"inputSchema": {
|
|
6242
|
+
"type": "object",
|
|
6243
|
+
"properties": {
|
|
6244
|
+
"pool_instance_id": {
|
|
6245
|
+
"type": "integer",
|
|
6246
|
+
"description": "Instance type ID from the pool instance types list"
|
|
6247
|
+
},
|
|
6248
|
+
"os_template_id": {
|
|
6249
|
+
"type": "integer",
|
|
6250
|
+
"description": "OS template ID available for the selected instance type"
|
|
6251
|
+
},
|
|
6252
|
+
"name": {
|
|
6253
|
+
"type": "string",
|
|
6254
|
+
"description": "Instance name, unique among your instances. Letters, numbers, dashes and underscores only"
|
|
6255
|
+
},
|
|
6256
|
+
"public_keys": {
|
|
6257
|
+
"type": "array",
|
|
6258
|
+
"description": "SSH public keys to add to the instance",
|
|
6259
|
+
"items": {
|
|
6260
|
+
"type": "string",
|
|
6261
|
+
"description": "public_keys parameter"
|
|
6262
|
+
}
|
|
6263
|
+
}
|
|
6264
|
+
},
|
|
6265
|
+
"required": [
|
|
6266
|
+
"pool_instance_id",
|
|
6267
|
+
"os_template_id",
|
|
6268
|
+
"name"
|
|
6269
|
+
]
|
|
6270
|
+
},
|
|
6271
|
+
"security": [
|
|
6272
|
+
{
|
|
6273
|
+
"apiToken": []
|
|
6274
|
+
}
|
|
6275
|
+
],
|
|
6276
|
+
"group": "gpu"
|
|
6277
|
+
},
|
|
6278
|
+
{
|
|
6279
|
+
"name": "gpu_instances_metrics",
|
|
6280
|
+
"title": "Get instance metrics",
|
|
6281
|
+
"annotations": {
|
|
6282
|
+
"title": "Get instance metrics",
|
|
6283
|
+
"readOnlyHint": true,
|
|
6284
|
+
"destructiveHint": false
|
|
6285
|
+
},
|
|
6286
|
+
"description": "Retrieve utilisation metrics of a specified GPU instance for the last hour.\n\nEach data point contains CPU, memory and GPU utilisation, used GPU memory and GPU throughput.\nThe list is empty until the instance is provisioned.\n\nUse this endpoint to monitor GPU instance load.",
|
|
6287
|
+
"method": "GET",
|
|
6288
|
+
"path": "/api/gpu/v1/instances/{instanceId}/metrics",
|
|
6289
|
+
"inputSchema": {
|
|
6290
|
+
"type": "object",
|
|
6291
|
+
"properties": {
|
|
6292
|
+
"instanceId": {
|
|
6293
|
+
"type": "integer",
|
|
6294
|
+
"description": "GPU instance ID"
|
|
6295
|
+
}
|
|
6296
|
+
},
|
|
6297
|
+
"required": [
|
|
6298
|
+
"instanceId"
|
|
6299
|
+
]
|
|
6300
|
+
},
|
|
6301
|
+
"security": [
|
|
6302
|
+
{
|
|
6303
|
+
"apiToken": []
|
|
6304
|
+
}
|
|
6305
|
+
],
|
|
6306
|
+
"group": "gpu"
|
|
6307
|
+
},
|
|
6146
6308
|
{
|
|
6147
6309
|
"name": "gpu_catalog_pool-groups",
|
|
6148
6310
|
"title": "Get pool groups",
|
|
@@ -9793,7 +9955,7 @@ const tools: OpenApiTool[] = [
|
|
|
9793
9955
|
"readOnlyHint": true,
|
|
9794
9956
|
"destructiveHint": false
|
|
9795
9957
|
},
|
|
9796
|
-
"description": "Returns the PocketBase backend of a website: its REST API and dashboard URLs, live state\nand version. A PocketBase backend gives the website a database, authentication, file\nstorage and a realtime REST API, served from the website's own domain under `/api` and\n`/_`. Returns 404 when the website has no PocketBase backend.\n\nThe superuser password is only shown once, when it is set, and is never returned here. If it\nis lost, set a new one with the `Set PocketBase superuser` endpoint.\n\nThe instance sleeps when idle and wakes on the first request, so `asleep` is a normal state\nand the first call to a sleeping instance can take a few seconds. `starting`, `running` and\n`stopping` are healthy
|
|
9958
|
+
"description": "Returns the PocketBase backend of a website: its REST API and dashboard URLs, live state\nand version. A PocketBase backend gives the website a database, authentication, file\nstorage and a realtime REST API, served from the website's own domain under `/api` and\n`/_`. Returns 404 when the website has no PocketBase backend.\n\nThe superuser password is only shown once, when it is set, and is never returned here. If it\nis lost, set a new one with the `Set PocketBase superuser` endpoint.\n\nThe instance sleeps when idle and wakes on the first request, so `asleep` is a normal state\nand the first call to a sleeping instance can take a few seconds. `starting`, `running` and\n`stopping` are healthy.\n\n`failed` means the last start did not succeed. Hostinger starts it again on its own after\n`retry_after_seconds`, and the data is intact: wait and call again, do not delete the\nbackend. `failure_reason` says why: `process_limit` means the hosting account has no free\nprocess slots, usually because its Node.js apps are running.\n\n`unregistered` means the instance is broken. `missing` means its files are gone from the\nserver, and creating the PocketBase backend again sets up a new, empty one. `state` is null\nwhen the server could not be reached; retry later.\n\nPocketBase is rolling out gradually: an account without access yet gets 422.",
|
|
9797
9959
|
"method": "GET",
|
|
9798
9960
|
"path": "/api/hosting/v1/accounts/{username}/websites/{domain}/pocketbase",
|
|
9799
9961
|
"inputSchema": {
|
|
@@ -9907,7 +10069,7 @@ const tools: OpenApiTool[] = [
|
|
|
9907
10069
|
"readOnlyHint": true,
|
|
9908
10070
|
"destructiveHint": false
|
|
9909
10071
|
},
|
|
9910
|
-
"description": "Lists the PocketBase backends of all websites of a hosting account with their URLs, live\nstate, version and disk usage. A PocketBase backend gives a website a database,\nauthentication, file storage and a realtime REST API, served from the website's own\ndomain. An empty list means no website of the account has a PocketBase backend.\n\nStates: `asleep` is normal (the instance sleeps when idle and wakes on the first request);\n`starting`, `running` and `stopping` are healthy
|
|
10072
|
+
"description": "Lists the PocketBase backends of all websites of a hosting account with their URLs, live\nstate, version and disk usage. A PocketBase backend gives a website a database,\nauthentication, file storage and a realtime REST API, served from the website's own\ndomain. An empty list means no website of the account has a PocketBase backend.\n\nStates: `asleep` is normal (the instance sleeps when idle and wakes on the first request);\n`starting`, `running` and `stopping` are healthy.\n\n`failed` means the last start did not succeed. Hostinger starts it again on its own after\n`retry_after_seconds`, and the data is intact: wait and call again, do not delete the\nbackend. `failure_reason` says why: `process_limit` means the hosting account has no free\nprocess slots, usually because its Node.js apps are running.\n\n`unregistered` means the instance is broken. `missing` means its files are gone from the\nserver, and creating the PocketBase backend again sets up a new, empty one. `state` is null\nwhen the server could not be reached; retry later.\n\nPocketBase is rolling out gradually: an account without access yet gets 422.",
|
|
9911
10073
|
"method": "GET",
|
|
9912
10074
|
"path": "/api/hosting/v1/accounts/{username}/pocketbase",
|
|
9913
10075
|
"inputSchema": {
|