@hostinger/mcp 3.40.1 → 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 +16 -0
- package/README.md +61 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/VERSION +1 -1
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +162 -0
- package/src/core/tools/all.ts +162 -0
- package/src/core/tools/gpu.js +162 -0
- package/src/core/tools/gpu.ts +162 -0
- 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 +98 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,22 @@ 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
|
+
|
|
7
23
|
## v3.40.1 — 2026-11-13
|
|
8
24
|
|
|
9
25
|
### Operations
|
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.
|
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
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",
|
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",
|
package/src/core/tools/gpu.js
CHANGED
|
@@ -51,6 +51,168 @@ export default [
|
|
|
51
51
|
"handlerMethod": "handleChangelogListEntries",
|
|
52
52
|
"everyServer": true
|
|
53
53
|
},
|
|
54
|
+
{
|
|
55
|
+
"name": "gpu_instances_get",
|
|
56
|
+
"title": "Get instance details",
|
|
57
|
+
"annotations": {
|
|
58
|
+
"title": "Get instance details",
|
|
59
|
+
"readOnlyHint": true,
|
|
60
|
+
"destructiveHint": false
|
|
61
|
+
},
|
|
62
|
+
"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.",
|
|
63
|
+
"method": "GET",
|
|
64
|
+
"path": "/api/gpu/v1/instances/{instanceId}",
|
|
65
|
+
"inputSchema": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"properties": {
|
|
68
|
+
"instanceId": {
|
|
69
|
+
"type": "integer",
|
|
70
|
+
"description": "GPU instance ID"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": [
|
|
74
|
+
"instanceId"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"security": [
|
|
78
|
+
{
|
|
79
|
+
"apiToken": []
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"group": "gpu"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "gpu_instances_delete",
|
|
86
|
+
"title": "Delete instance",
|
|
87
|
+
"annotations": {
|
|
88
|
+
"title": "Delete instance",
|
|
89
|
+
"readOnlyHint": false,
|
|
90
|
+
"destructiveHint": true,
|
|
91
|
+
"idempotentHint": true
|
|
92
|
+
},
|
|
93
|
+
"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.",
|
|
94
|
+
"method": "DELETE",
|
|
95
|
+
"path": "/api/gpu/v1/instances/{instanceId}",
|
|
96
|
+
"inputSchema": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"properties": {
|
|
99
|
+
"instanceId": {
|
|
100
|
+
"type": "integer",
|
|
101
|
+
"description": "GPU instance ID"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": [
|
|
105
|
+
"instanceId"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"security": [
|
|
109
|
+
{
|
|
110
|
+
"apiToken": []
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"group": "gpu"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "gpu_instances_list",
|
|
117
|
+
"title": "Get instances",
|
|
118
|
+
"annotations": {
|
|
119
|
+
"title": "Get instances",
|
|
120
|
+
"readOnlyHint": true,
|
|
121
|
+
"destructiveHint": false
|
|
122
|
+
},
|
|
123
|
+
"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.",
|
|
124
|
+
"method": "GET",
|
|
125
|
+
"path": "/api/gpu/v1/instances",
|
|
126
|
+
"inputSchema": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"properties": {},
|
|
129
|
+
"required": []
|
|
130
|
+
},
|
|
131
|
+
"security": [
|
|
132
|
+
{
|
|
133
|
+
"apiToken": []
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"group": "gpu"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "gpu_instances_create",
|
|
140
|
+
"title": "Create instance",
|
|
141
|
+
"annotations": {
|
|
142
|
+
"title": "Create instance",
|
|
143
|
+
"readOnlyHint": false,
|
|
144
|
+
"destructiveHint": false
|
|
145
|
+
},
|
|
146
|
+
"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.",
|
|
147
|
+
"method": "POST",
|
|
148
|
+
"path": "/api/gpu/v1/instances",
|
|
149
|
+
"inputSchema": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"properties": {
|
|
152
|
+
"pool_instance_id": {
|
|
153
|
+
"type": "integer",
|
|
154
|
+
"description": "Instance type ID from the pool instance types list"
|
|
155
|
+
},
|
|
156
|
+
"os_template_id": {
|
|
157
|
+
"type": "integer",
|
|
158
|
+
"description": "OS template ID available for the selected instance type"
|
|
159
|
+
},
|
|
160
|
+
"name": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"description": "Instance name, unique among your instances. Letters, numbers, dashes and underscores only"
|
|
163
|
+
},
|
|
164
|
+
"public_keys": {
|
|
165
|
+
"type": "array",
|
|
166
|
+
"description": "SSH public keys to add to the instance",
|
|
167
|
+
"items": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"description": "public_keys parameter"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"required": [
|
|
174
|
+
"pool_instance_id",
|
|
175
|
+
"os_template_id",
|
|
176
|
+
"name"
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
"security": [
|
|
180
|
+
{
|
|
181
|
+
"apiToken": []
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"group": "gpu"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "gpu_instances_metrics",
|
|
188
|
+
"title": "Get instance metrics",
|
|
189
|
+
"annotations": {
|
|
190
|
+
"title": "Get instance metrics",
|
|
191
|
+
"readOnlyHint": true,
|
|
192
|
+
"destructiveHint": false
|
|
193
|
+
},
|
|
194
|
+
"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.",
|
|
195
|
+
"method": "GET",
|
|
196
|
+
"path": "/api/gpu/v1/instances/{instanceId}/metrics",
|
|
197
|
+
"inputSchema": {
|
|
198
|
+
"type": "object",
|
|
199
|
+
"properties": {
|
|
200
|
+
"instanceId": {
|
|
201
|
+
"type": "integer",
|
|
202
|
+
"description": "GPU instance ID"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"required": [
|
|
206
|
+
"instanceId"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"security": [
|
|
210
|
+
{
|
|
211
|
+
"apiToken": []
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"group": "gpu"
|
|
215
|
+
},
|
|
54
216
|
{
|
|
55
217
|
"name": "gpu_catalog_pool-groups",
|
|
56
218
|
"title": "Get pool groups",
|
package/src/core/tools/gpu.ts
CHANGED
|
@@ -70,6 +70,168 @@ const tools: OpenApiTool[] = [
|
|
|
70
70
|
"handlerMethod": "handleChangelogListEntries",
|
|
71
71
|
"everyServer": true
|
|
72
72
|
},
|
|
73
|
+
{
|
|
74
|
+
"name": "gpu_instances_get",
|
|
75
|
+
"title": "Get instance details",
|
|
76
|
+
"annotations": {
|
|
77
|
+
"title": "Get instance details",
|
|
78
|
+
"readOnlyHint": true,
|
|
79
|
+
"destructiveHint": false
|
|
80
|
+
},
|
|
81
|
+
"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.",
|
|
82
|
+
"method": "GET",
|
|
83
|
+
"path": "/api/gpu/v1/instances/{instanceId}",
|
|
84
|
+
"inputSchema": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"instanceId": {
|
|
88
|
+
"type": "integer",
|
|
89
|
+
"description": "GPU instance ID"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"required": [
|
|
93
|
+
"instanceId"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"security": [
|
|
97
|
+
{
|
|
98
|
+
"apiToken": []
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"group": "gpu"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "gpu_instances_delete",
|
|
105
|
+
"title": "Delete instance",
|
|
106
|
+
"annotations": {
|
|
107
|
+
"title": "Delete instance",
|
|
108
|
+
"readOnlyHint": false,
|
|
109
|
+
"destructiveHint": true,
|
|
110
|
+
"idempotentHint": true
|
|
111
|
+
},
|
|
112
|
+
"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.",
|
|
113
|
+
"method": "DELETE",
|
|
114
|
+
"path": "/api/gpu/v1/instances/{instanceId}",
|
|
115
|
+
"inputSchema": {
|
|
116
|
+
"type": "object",
|
|
117
|
+
"properties": {
|
|
118
|
+
"instanceId": {
|
|
119
|
+
"type": "integer",
|
|
120
|
+
"description": "GPU instance ID"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": [
|
|
124
|
+
"instanceId"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"security": [
|
|
128
|
+
{
|
|
129
|
+
"apiToken": []
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"group": "gpu"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "gpu_instances_list",
|
|
136
|
+
"title": "Get instances",
|
|
137
|
+
"annotations": {
|
|
138
|
+
"title": "Get instances",
|
|
139
|
+
"readOnlyHint": true,
|
|
140
|
+
"destructiveHint": false
|
|
141
|
+
},
|
|
142
|
+
"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.",
|
|
143
|
+
"method": "GET",
|
|
144
|
+
"path": "/api/gpu/v1/instances",
|
|
145
|
+
"inputSchema": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"properties": {},
|
|
148
|
+
"required": []
|
|
149
|
+
},
|
|
150
|
+
"security": [
|
|
151
|
+
{
|
|
152
|
+
"apiToken": []
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"group": "gpu"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "gpu_instances_create",
|
|
159
|
+
"title": "Create instance",
|
|
160
|
+
"annotations": {
|
|
161
|
+
"title": "Create instance",
|
|
162
|
+
"readOnlyHint": false,
|
|
163
|
+
"destructiveHint": false
|
|
164
|
+
},
|
|
165
|
+
"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.",
|
|
166
|
+
"method": "POST",
|
|
167
|
+
"path": "/api/gpu/v1/instances",
|
|
168
|
+
"inputSchema": {
|
|
169
|
+
"type": "object",
|
|
170
|
+
"properties": {
|
|
171
|
+
"pool_instance_id": {
|
|
172
|
+
"type": "integer",
|
|
173
|
+
"description": "Instance type ID from the pool instance types list"
|
|
174
|
+
},
|
|
175
|
+
"os_template_id": {
|
|
176
|
+
"type": "integer",
|
|
177
|
+
"description": "OS template ID available for the selected instance type"
|
|
178
|
+
},
|
|
179
|
+
"name": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"description": "Instance name, unique among your instances. Letters, numbers, dashes and underscores only"
|
|
182
|
+
},
|
|
183
|
+
"public_keys": {
|
|
184
|
+
"type": "array",
|
|
185
|
+
"description": "SSH public keys to add to the instance",
|
|
186
|
+
"items": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"description": "public_keys parameter"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"required": [
|
|
193
|
+
"pool_instance_id",
|
|
194
|
+
"os_template_id",
|
|
195
|
+
"name"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"security": [
|
|
199
|
+
{
|
|
200
|
+
"apiToken": []
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"group": "gpu"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "gpu_instances_metrics",
|
|
207
|
+
"title": "Get instance metrics",
|
|
208
|
+
"annotations": {
|
|
209
|
+
"title": "Get instance metrics",
|
|
210
|
+
"readOnlyHint": true,
|
|
211
|
+
"destructiveHint": false
|
|
212
|
+
},
|
|
213
|
+
"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.",
|
|
214
|
+
"method": "GET",
|
|
215
|
+
"path": "/api/gpu/v1/instances/{instanceId}/metrics",
|
|
216
|
+
"inputSchema": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"properties": {
|
|
219
|
+
"instanceId": {
|
|
220
|
+
"type": "integer",
|
|
221
|
+
"description": "GPU instance ID"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"required": [
|
|
225
|
+
"instanceId"
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
"security": [
|
|
229
|
+
{
|
|
230
|
+
"apiToken": []
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"group": "gpu"
|
|
234
|
+
},
|
|
73
235
|
{
|
|
74
236
|
"name": "gpu_catalog_pool-groups",
|
|
75
237
|
"title": "Get pool groups",
|
|
@@ -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: '3.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.41.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: '3.
|
|
7
|
+
startServer({ name: 'hostinger-agency-hosting-mcp', version: '3.41.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: '3.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.41.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: '3.
|
|
6
|
+
startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.41.0', tools });
|
package/src/servers/all.js
CHANGED
|
@@ -5,4 +5,4 @@ import tools from '../core/tools/all.js';
|
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
import skills from '../core/skills.js';
|
|
7
7
|
|
|
8
|
-
startServer({ name: 'hostinger-api-mcp', version: '3.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.41.0', tools, instructions, skills });
|
package/src/servers/all.ts
CHANGED
|
@@ -5,4 +5,4 @@ import tools from '../core/tools/all.js';
|
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
import skills from '../core/skills.js';
|
|
7
7
|
|
|
8
|
-
startServer({ name: 'hostinger-api-mcp', version: '3.
|
|
8
|
+
startServer({ name: 'hostinger-api-mcp', version: '3.41.0', tools, instructions, skills });
|
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/gpu.js
CHANGED
package/src/servers/gpu.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-hosting-mcp', version: '3.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.41.0', tools, instructions });
|
package/src/servers/hosting.ts
CHANGED
|
@@ -4,4 +4,4 @@ import { startServer } from '../core/runtime.js';
|
|
|
4
4
|
import tools from '../core/tools/hosting.js';
|
|
5
5
|
import instructions from '../core/instructions.js';
|
|
6
6
|
|
|
7
|
-
startServer({ name: 'hostinger-hosting-mcp', version: '3.
|
|
7
|
+
startServer({ name: 'hostinger-hosting-mcp', version: '3.41.0', tools, instructions });
|
package/src/servers/mail.js
CHANGED
package/src/servers/mail.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
package/types.d.ts
CHANGED
|
@@ -3372,6 +3372,104 @@ store currency. Returns the created variant.
|
|
|
3372
3372
|
response: any; // Response structure will depend on the API
|
|
3373
3373
|
};
|
|
3374
3374
|
|
|
3375
|
+
/**
|
|
3376
|
+
* Retrieve detailed information about a specified GPU instance, including its SSH keys.
|
|
3377
|
+
|
|
3378
|
+
Use this endpoint to follow the instance `status` after creating or deleting it.
|
|
3379
|
+
*/
|
|
3380
|
+
"gpu_instances_get": {
|
|
3381
|
+
params: {
|
|
3382
|
+
/**
|
|
3383
|
+
* GPU instance ID
|
|
3384
|
+
*/
|
|
3385
|
+
instanceId: number;
|
|
3386
|
+
};
|
|
3387
|
+
response: any; // Response structure will depend on the API
|
|
3388
|
+
};
|
|
3389
|
+
|
|
3390
|
+
/**
|
|
3391
|
+
* Delete a specified GPU instance.
|
|
3392
|
+
|
|
3393
|
+
The instance is destroyed asynchronously: a successful request returns immediately and the instance
|
|
3394
|
+
`status` moves to `destroying`. Deleting fails while the instance is in `created`, `destroying`,
|
|
3395
|
+
`destroyed` or `abuse` status, or while another action is in progress on it.
|
|
3396
|
+
|
|
3397
|
+
Use this endpoint to stop billing for a GPU instance you no longer need.
|
|
3398
|
+
*/
|
|
3399
|
+
"gpu_instances_delete": {
|
|
3400
|
+
params: {
|
|
3401
|
+
/**
|
|
3402
|
+
* GPU instance ID
|
|
3403
|
+
*/
|
|
3404
|
+
instanceId: number;
|
|
3405
|
+
};
|
|
3406
|
+
response: any; // Response structure will depend on the API
|
|
3407
|
+
};
|
|
3408
|
+
|
|
3409
|
+
/**
|
|
3410
|
+
* Retrieve all GPU instances of your account.
|
|
3411
|
+
|
|
3412
|
+
Use this endpoint to view your GPU instances with their status, pool, instance type and OS template.
|
|
3413
|
+
*/
|
|
3414
|
+
"gpu_instances_list": {
|
|
3415
|
+
params: {
|
|
3416
|
+
|
|
3417
|
+
};
|
|
3418
|
+
response: any; // Response structure will depend on the API
|
|
3419
|
+
};
|
|
3420
|
+
|
|
3421
|
+
/**
|
|
3422
|
+
* Create a new GPU instance.
|
|
3423
|
+
|
|
3424
|
+
Pick `pool_instance_id` from the pool instance types list and `os_template_id` from the OS templates
|
|
3425
|
+
available for that instance type. Your account must have enough credits to run the instance for its
|
|
3426
|
+
first hour.
|
|
3427
|
+
|
|
3428
|
+
The instance is created asynchronously: a successful request returns immediately, and the instance
|
|
3429
|
+
appears in the instance list while its `status` moves from `created` through `creating` to `running`.
|
|
3430
|
+
|
|
3431
|
+
Use this endpoint to provision GPU compute.
|
|
3432
|
+
*/
|
|
3433
|
+
"gpu_instances_create": {
|
|
3434
|
+
params: {
|
|
3435
|
+
/**
|
|
3436
|
+
* Instance type ID from the pool instance types list
|
|
3437
|
+
*/
|
|
3438
|
+
pool_instance_id: number;
|
|
3439
|
+
/**
|
|
3440
|
+
* OS template ID available for the selected instance type
|
|
3441
|
+
*/
|
|
3442
|
+
os_template_id: number;
|
|
3443
|
+
/**
|
|
3444
|
+
* Instance name, unique among your instances. Letters, numbers, dashes and underscores only
|
|
3445
|
+
*/
|
|
3446
|
+
name: string;
|
|
3447
|
+
/**
|
|
3448
|
+
* SSH public keys to add to the instance
|
|
3449
|
+
*/
|
|
3450
|
+
public_keys?: array;
|
|
3451
|
+
};
|
|
3452
|
+
response: any; // Response structure will depend on the API
|
|
3453
|
+
};
|
|
3454
|
+
|
|
3455
|
+
/**
|
|
3456
|
+
* Retrieve utilisation metrics of a specified GPU instance for the last hour.
|
|
3457
|
+
|
|
3458
|
+
Each data point contains CPU, memory and GPU utilisation, used GPU memory and GPU throughput.
|
|
3459
|
+
The list is empty until the instance is provisioned.
|
|
3460
|
+
|
|
3461
|
+
Use this endpoint to monitor GPU instance load.
|
|
3462
|
+
*/
|
|
3463
|
+
"gpu_instances_metrics": {
|
|
3464
|
+
params: {
|
|
3465
|
+
/**
|
|
3466
|
+
* GPU instance ID
|
|
3467
|
+
*/
|
|
3468
|
+
instanceId: number;
|
|
3469
|
+
};
|
|
3470
|
+
response: any; // Response structure will depend on the API
|
|
3471
|
+
};
|
|
3472
|
+
|
|
3375
3473
|
/**
|
|
3376
3474
|
* Retrieve GPU pool groups, ordered by name.
|
|
3377
3475
|
|