@hostinger/mcp 3.40.1 → 3.42.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.
@@ -6143,6 +6143,292 @@ 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_exposed-services_delete",
6209
+ "title": "Delete exposed service",
6210
+ "annotations": {
6211
+ "title": "Delete exposed service",
6212
+ "readOnlyHint": false,
6213
+ "destructiveHint": true,
6214
+ "idempotentHint": true
6215
+ },
6216
+ "description": "Delete a specified exposed service of a GPU instance.\n\nThe service is removed asynchronously: a successful request returns immediately and the service\nstops being reachable from the internet shortly after.\n\nUse this endpoint to close public access to a service on your GPU instance.",
6217
+ "method": "DELETE",
6218
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId}",
6219
+ "inputSchema": {
6220
+ "type": "object",
6221
+ "properties": {
6222
+ "instanceId": {
6223
+ "type": "integer",
6224
+ "description": "GPU instance ID"
6225
+ },
6226
+ "exposedServiceId": {
6227
+ "type": "integer",
6228
+ "description": "Exposed service ID"
6229
+ }
6230
+ },
6231
+ "required": [
6232
+ "instanceId",
6233
+ "exposedServiceId"
6234
+ ]
6235
+ },
6236
+ "security": [
6237
+ {
6238
+ "apiToken": []
6239
+ }
6240
+ ],
6241
+ "group": "gpu"
6242
+ },
6243
+ {
6244
+ "name": "gpu_exposed-services_list",
6245
+ "title": "Get exposed services",
6246
+ "annotations": {
6247
+ "title": "Get exposed services",
6248
+ "readOnlyHint": true,
6249
+ "destructiveHint": false
6250
+ },
6251
+ "description": "Retrieve the services exposed on a specified GPU instance.\n\nA newly created service is listed once it gets its public hostname and external port.\n\nUse this endpoint to find the public address of services running on your GPU instance.",
6252
+ "method": "GET",
6253
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
6254
+ "inputSchema": {
6255
+ "type": "object",
6256
+ "properties": {
6257
+ "instanceId": {
6258
+ "type": "integer",
6259
+ "description": "GPU instance ID"
6260
+ }
6261
+ },
6262
+ "required": [
6263
+ "instanceId"
6264
+ ]
6265
+ },
6266
+ "security": [
6267
+ {
6268
+ "apiToken": []
6269
+ }
6270
+ ],
6271
+ "group": "gpu"
6272
+ },
6273
+ {
6274
+ "name": "gpu_exposed-services_create",
6275
+ "title": "Create exposed service",
6276
+ "annotations": {
6277
+ "title": "Create exposed service",
6278
+ "readOnlyHint": false,
6279
+ "destructiveHint": false
6280
+ },
6281
+ "description": "Expose a service running on a specified GPU instance to the internet.\n\nThe service is exposed asynchronously: a successful request returns immediately, and the service\nappears in the exposed services list once it gets its public hostname and external port.\nFails when the instance already has the maximum of 4 exposed services.\n\nUse this endpoint to make an application on your GPU instance publicly reachable.",
6282
+ "method": "POST",
6283
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
6284
+ "inputSchema": {
6285
+ "type": "object",
6286
+ "properties": {
6287
+ "instanceId": {
6288
+ "type": "integer",
6289
+ "description": "GPU instance ID"
6290
+ },
6291
+ "name": {
6292
+ "type": "string",
6293
+ "description": "Service name, unique within the instance"
6294
+ },
6295
+ "internal_port": {
6296
+ "type": "integer",
6297
+ "description": "Port the service listens on inside the instance, unique within the instance"
6298
+ },
6299
+ "protocol": {
6300
+ "type": "string",
6301
+ "description": "protocol parameter",
6302
+ "enum": [
6303
+ "tcp",
6304
+ "udp"
6305
+ ]
6306
+ },
6307
+ "type": {
6308
+ "type": "string",
6309
+ "description": "type parameter",
6310
+ "enum": [
6311
+ "http",
6312
+ "https"
6313
+ ]
6314
+ }
6315
+ },
6316
+ "required": [
6317
+ "instanceId",
6318
+ "name",
6319
+ "internal_port",
6320
+ "protocol",
6321
+ "type"
6322
+ ]
6323
+ },
6324
+ "security": [
6325
+ {
6326
+ "apiToken": []
6327
+ }
6328
+ ],
6329
+ "group": "gpu"
6330
+ },
6331
+ {
6332
+ "name": "gpu_instances_list",
6333
+ "title": "Get instances",
6334
+ "annotations": {
6335
+ "title": "Get instances",
6336
+ "readOnlyHint": true,
6337
+ "destructiveHint": false
6338
+ },
6339
+ "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.",
6340
+ "method": "GET",
6341
+ "path": "/api/gpu/v1/instances",
6342
+ "inputSchema": {
6343
+ "type": "object",
6344
+ "properties": {},
6345
+ "required": []
6346
+ },
6347
+ "security": [
6348
+ {
6349
+ "apiToken": []
6350
+ }
6351
+ ],
6352
+ "group": "gpu"
6353
+ },
6354
+ {
6355
+ "name": "gpu_instances_create",
6356
+ "title": "Create instance",
6357
+ "annotations": {
6358
+ "title": "Create instance",
6359
+ "readOnlyHint": false,
6360
+ "destructiveHint": false
6361
+ },
6362
+ "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.",
6363
+ "method": "POST",
6364
+ "path": "/api/gpu/v1/instances",
6365
+ "inputSchema": {
6366
+ "type": "object",
6367
+ "properties": {
6368
+ "pool_instance_id": {
6369
+ "type": "integer",
6370
+ "description": "Instance type ID from the pool instance types list"
6371
+ },
6372
+ "os_template_id": {
6373
+ "type": "integer",
6374
+ "description": "OS template ID available for the selected instance type"
6375
+ },
6376
+ "name": {
6377
+ "type": "string",
6378
+ "description": "Instance name, unique among your instances. Letters, numbers, dashes and underscores only"
6379
+ },
6380
+ "public_keys": {
6381
+ "type": "array",
6382
+ "description": "SSH public keys to add to the instance",
6383
+ "items": {
6384
+ "type": "string",
6385
+ "description": "public_keys parameter"
6386
+ }
6387
+ }
6388
+ },
6389
+ "required": [
6390
+ "pool_instance_id",
6391
+ "os_template_id",
6392
+ "name"
6393
+ ]
6394
+ },
6395
+ "security": [
6396
+ {
6397
+ "apiToken": []
6398
+ }
6399
+ ],
6400
+ "group": "gpu"
6401
+ },
6402
+ {
6403
+ "name": "gpu_instances_metrics",
6404
+ "title": "Get instance metrics",
6405
+ "annotations": {
6406
+ "title": "Get instance metrics",
6407
+ "readOnlyHint": true,
6408
+ "destructiveHint": false
6409
+ },
6410
+ "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.",
6411
+ "method": "GET",
6412
+ "path": "/api/gpu/v1/instances/{instanceId}/metrics",
6413
+ "inputSchema": {
6414
+ "type": "object",
6415
+ "properties": {
6416
+ "instanceId": {
6417
+ "type": "integer",
6418
+ "description": "GPU instance ID"
6419
+ }
6420
+ },
6421
+ "required": [
6422
+ "instanceId"
6423
+ ]
6424
+ },
6425
+ "security": [
6426
+ {
6427
+ "apiToken": []
6428
+ }
6429
+ ],
6430
+ "group": "gpu"
6431
+ },
6146
6432
  {
6147
6433
  "name": "gpu_catalog_pool-groups",
6148
6434
  "title": "Get pool groups",
@@ -51,6 +51,292 @@ 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_exposed-services_delete",
117
+ "title": "Delete exposed service",
118
+ "annotations": {
119
+ "title": "Delete exposed service",
120
+ "readOnlyHint": false,
121
+ "destructiveHint": true,
122
+ "idempotentHint": true
123
+ },
124
+ "description": "Delete a specified exposed service of a GPU instance.\n\nThe service is removed asynchronously: a successful request returns immediately and the service\nstops being reachable from the internet shortly after.\n\nUse this endpoint to close public access to a service on your GPU instance.",
125
+ "method": "DELETE",
126
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId}",
127
+ "inputSchema": {
128
+ "type": "object",
129
+ "properties": {
130
+ "instanceId": {
131
+ "type": "integer",
132
+ "description": "GPU instance ID"
133
+ },
134
+ "exposedServiceId": {
135
+ "type": "integer",
136
+ "description": "Exposed service ID"
137
+ }
138
+ },
139
+ "required": [
140
+ "instanceId",
141
+ "exposedServiceId"
142
+ ]
143
+ },
144
+ "security": [
145
+ {
146
+ "apiToken": []
147
+ }
148
+ ],
149
+ "group": "gpu"
150
+ },
151
+ {
152
+ "name": "gpu_exposed-services_list",
153
+ "title": "Get exposed services",
154
+ "annotations": {
155
+ "title": "Get exposed services",
156
+ "readOnlyHint": true,
157
+ "destructiveHint": false
158
+ },
159
+ "description": "Retrieve the services exposed on a specified GPU instance.\n\nA newly created service is listed once it gets its public hostname and external port.\n\nUse this endpoint to find the public address of services running on your GPU instance.",
160
+ "method": "GET",
161
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
162
+ "inputSchema": {
163
+ "type": "object",
164
+ "properties": {
165
+ "instanceId": {
166
+ "type": "integer",
167
+ "description": "GPU instance ID"
168
+ }
169
+ },
170
+ "required": [
171
+ "instanceId"
172
+ ]
173
+ },
174
+ "security": [
175
+ {
176
+ "apiToken": []
177
+ }
178
+ ],
179
+ "group": "gpu"
180
+ },
181
+ {
182
+ "name": "gpu_exposed-services_create",
183
+ "title": "Create exposed service",
184
+ "annotations": {
185
+ "title": "Create exposed service",
186
+ "readOnlyHint": false,
187
+ "destructiveHint": false
188
+ },
189
+ "description": "Expose a service running on a specified GPU instance to the internet.\n\nThe service is exposed asynchronously: a successful request returns immediately, and the service\nappears in the exposed services list once it gets its public hostname and external port.\nFails when the instance already has the maximum of 4 exposed services.\n\nUse this endpoint to make an application on your GPU instance publicly reachable.",
190
+ "method": "POST",
191
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
192
+ "inputSchema": {
193
+ "type": "object",
194
+ "properties": {
195
+ "instanceId": {
196
+ "type": "integer",
197
+ "description": "GPU instance ID"
198
+ },
199
+ "name": {
200
+ "type": "string",
201
+ "description": "Service name, unique within the instance"
202
+ },
203
+ "internal_port": {
204
+ "type": "integer",
205
+ "description": "Port the service listens on inside the instance, unique within the instance"
206
+ },
207
+ "protocol": {
208
+ "type": "string",
209
+ "description": "protocol parameter",
210
+ "enum": [
211
+ "tcp",
212
+ "udp"
213
+ ]
214
+ },
215
+ "type": {
216
+ "type": "string",
217
+ "description": "type parameter",
218
+ "enum": [
219
+ "http",
220
+ "https"
221
+ ]
222
+ }
223
+ },
224
+ "required": [
225
+ "instanceId",
226
+ "name",
227
+ "internal_port",
228
+ "protocol",
229
+ "type"
230
+ ]
231
+ },
232
+ "security": [
233
+ {
234
+ "apiToken": []
235
+ }
236
+ ],
237
+ "group": "gpu"
238
+ },
239
+ {
240
+ "name": "gpu_instances_list",
241
+ "title": "Get instances",
242
+ "annotations": {
243
+ "title": "Get instances",
244
+ "readOnlyHint": true,
245
+ "destructiveHint": false
246
+ },
247
+ "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.",
248
+ "method": "GET",
249
+ "path": "/api/gpu/v1/instances",
250
+ "inputSchema": {
251
+ "type": "object",
252
+ "properties": {},
253
+ "required": []
254
+ },
255
+ "security": [
256
+ {
257
+ "apiToken": []
258
+ }
259
+ ],
260
+ "group": "gpu"
261
+ },
262
+ {
263
+ "name": "gpu_instances_create",
264
+ "title": "Create instance",
265
+ "annotations": {
266
+ "title": "Create instance",
267
+ "readOnlyHint": false,
268
+ "destructiveHint": false
269
+ },
270
+ "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.",
271
+ "method": "POST",
272
+ "path": "/api/gpu/v1/instances",
273
+ "inputSchema": {
274
+ "type": "object",
275
+ "properties": {
276
+ "pool_instance_id": {
277
+ "type": "integer",
278
+ "description": "Instance type ID from the pool instance types list"
279
+ },
280
+ "os_template_id": {
281
+ "type": "integer",
282
+ "description": "OS template ID available for the selected instance type"
283
+ },
284
+ "name": {
285
+ "type": "string",
286
+ "description": "Instance name, unique among your instances. Letters, numbers, dashes and underscores only"
287
+ },
288
+ "public_keys": {
289
+ "type": "array",
290
+ "description": "SSH public keys to add to the instance",
291
+ "items": {
292
+ "type": "string",
293
+ "description": "public_keys parameter"
294
+ }
295
+ }
296
+ },
297
+ "required": [
298
+ "pool_instance_id",
299
+ "os_template_id",
300
+ "name"
301
+ ]
302
+ },
303
+ "security": [
304
+ {
305
+ "apiToken": []
306
+ }
307
+ ],
308
+ "group": "gpu"
309
+ },
310
+ {
311
+ "name": "gpu_instances_metrics",
312
+ "title": "Get instance metrics",
313
+ "annotations": {
314
+ "title": "Get instance metrics",
315
+ "readOnlyHint": true,
316
+ "destructiveHint": false
317
+ },
318
+ "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.",
319
+ "method": "GET",
320
+ "path": "/api/gpu/v1/instances/{instanceId}/metrics",
321
+ "inputSchema": {
322
+ "type": "object",
323
+ "properties": {
324
+ "instanceId": {
325
+ "type": "integer",
326
+ "description": "GPU instance ID"
327
+ }
328
+ },
329
+ "required": [
330
+ "instanceId"
331
+ ]
332
+ },
333
+ "security": [
334
+ {
335
+ "apiToken": []
336
+ }
337
+ ],
338
+ "group": "gpu"
339
+ },
54
340
  {
55
341
  "name": "gpu_catalog_pool-groups",
56
342
  "title": "Get pool groups",