@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/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
|
|
|
@@ -5602,9 +5700,16 @@ is lost, set a new one with the `Set PocketBase superuser` endpoint.
|
|
|
5602
5700
|
|
|
5603
5701
|
The instance sleeps when idle and wakes on the first request, so `asleep` is a normal state
|
|
5604
5702
|
and the first call to a sleeping instance can take a few seconds. `starting`, `running` and
|
|
5605
|
-
`stopping` are healthy
|
|
5606
|
-
|
|
5607
|
-
|
|
5703
|
+
`stopping` are healthy.
|
|
5704
|
+
|
|
5705
|
+
`failed` means the last start did not succeed. Hostinger starts it again on its own after
|
|
5706
|
+
`retry_after_seconds`, and the data is intact: wait and call again, do not delete the
|
|
5707
|
+
backend. `failure_reason` says why: `process_limit` means the hosting account has no free
|
|
5708
|
+
process slots, usually because its Node.js apps are running.
|
|
5709
|
+
|
|
5710
|
+
`unregistered` means the instance is broken. `missing` means its files are gone from the
|
|
5711
|
+
server, and creating the PocketBase backend again sets up a new, empty one. `state` is null
|
|
5712
|
+
when the server could not be reached; retry later.
|
|
5608
5713
|
|
|
5609
5714
|
PocketBase is rolling out gradually: an account without access yet gets 422.
|
|
5610
5715
|
*/
|
|
@@ -5707,10 +5812,16 @@ authentication, file storage and a realtime REST API, served from the website's
|
|
|
5707
5812
|
domain. An empty list means no website of the account has a PocketBase backend.
|
|
5708
5813
|
|
|
5709
5814
|
States: `asleep` is normal (the instance sleeps when idle and wakes on the first request);
|
|
5710
|
-
`starting`, `running` and `stopping` are healthy
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5815
|
+
`starting`, `running` and `stopping` are healthy.
|
|
5816
|
+
|
|
5817
|
+
`failed` means the last start did not succeed. Hostinger starts it again on its own after
|
|
5818
|
+
`retry_after_seconds`, and the data is intact: wait and call again, do not delete the
|
|
5819
|
+
backend. `failure_reason` says why: `process_limit` means the hosting account has no free
|
|
5820
|
+
process slots, usually because its Node.js apps are running.
|
|
5821
|
+
|
|
5822
|
+
`unregistered` means the instance is broken. `missing` means its files are gone from the
|
|
5823
|
+
server, and creating the PocketBase backend again sets up a new, empty one. `state` is null
|
|
5824
|
+
when the server could not be reached; retry later.
|
|
5714
5825
|
|
|
5715
5826
|
PocketBase is rolling out gradually: an account without access yet gets 422.
|
|
5716
5827
|
*/
|