@hostinger/mcp 3.41.0 → 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.
- package/CHANGELOG.md +14 -0
- package/README.md +38 -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 +124 -0
- package/src/core/tools/all.ts +124 -0
- package/src/core/tools/gpu.js +124 -0
- package/src/core/tools/gpu.ts +124 -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 +74 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ 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.42.0 — 2026-11-13
|
|
8
|
+
|
|
9
|
+
### Operations
|
|
10
|
+
|
|
11
|
+
- Added `gpu_exposed-services_delete` — Delete exposed service
|
|
12
|
+
- Added `gpu_exposed-services_list` — Get exposed services
|
|
13
|
+
- Added `gpu_exposed-services_create` — Create exposed service
|
|
14
|
+
|
|
15
|
+
### Also in this release
|
|
16
|
+
|
|
17
|
+
- Documentation: `README.md`
|
|
18
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
19
|
+
- Build and packaging: `types.d.ts`
|
|
20
|
+
|
|
7
21
|
## v3.41.0 — 2026-11-13
|
|
8
22
|
|
|
9
23
|
### 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 (422 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` — 13 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
|
|
@@ -1857,6 +1857,42 @@ Use this endpoint to stop billing for a GPU instance you no longer need.
|
|
|
1857
1857
|
- **Method**: `DELETE`
|
|
1858
1858
|
- **Path**: `/api/gpu/v1/instances/{instanceId}`
|
|
1859
1859
|
|
|
1860
|
+
#### gpu_exposed-services_delete
|
|
1861
|
+
|
|
1862
|
+
Delete a specified exposed service of a GPU instance.
|
|
1863
|
+
|
|
1864
|
+
The service is removed asynchronously: a successful request returns immediately and the service
|
|
1865
|
+
stops being reachable from the internet shortly after.
|
|
1866
|
+
|
|
1867
|
+
Use this endpoint to close public access to a service on your GPU instance.
|
|
1868
|
+
|
|
1869
|
+
- **Method**: `DELETE`
|
|
1870
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId}`
|
|
1871
|
+
|
|
1872
|
+
#### gpu_exposed-services_list
|
|
1873
|
+
|
|
1874
|
+
Retrieve the services exposed on a specified GPU instance.
|
|
1875
|
+
|
|
1876
|
+
A newly created service is listed once it gets its public hostname and external port.
|
|
1877
|
+
|
|
1878
|
+
Use this endpoint to find the public address of services running on your GPU instance.
|
|
1879
|
+
|
|
1880
|
+
- **Method**: `GET`
|
|
1881
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}/exposed-services`
|
|
1882
|
+
|
|
1883
|
+
#### gpu_exposed-services_create
|
|
1884
|
+
|
|
1885
|
+
Expose a service running on a specified GPU instance to the internet.
|
|
1886
|
+
|
|
1887
|
+
The service is exposed asynchronously: a successful request returns immediately, and the service
|
|
1888
|
+
appears in the exposed services list once it gets its public hostname and external port.
|
|
1889
|
+
Fails when the instance already has the maximum of 4 exposed services.
|
|
1890
|
+
|
|
1891
|
+
Use this endpoint to make an application on your GPU instance publicly reachable.
|
|
1892
|
+
|
|
1893
|
+
- **Method**: `POST`
|
|
1894
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}/exposed-services`
|
|
1895
|
+
|
|
1860
1896
|
#### gpu_instances_list
|
|
1861
1897
|
|
|
1862
1898
|
Retrieve all GPU instances of your account.
|
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.42.0",
|
|
21
21
|
"packages": [
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "@hostinger/mcp",
|
|
25
|
-
"version": "3.
|
|
25
|
+
"version": "3.42.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.16.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.16.0
|
|
100
100
|
*/
|
|
101
101
|
class MCPServer {
|
|
102
102
|
private readonly name: string;
|
package/src/core/tools/all.js
CHANGED
|
@@ -6185,6 +6185,130 @@ export default [
|
|
|
6185
6185
|
],
|
|
6186
6186
|
"group": "gpu"
|
|
6187
6187
|
},
|
|
6188
|
+
{
|
|
6189
|
+
"name": "gpu_exposed-services_delete",
|
|
6190
|
+
"title": "Delete exposed service",
|
|
6191
|
+
"annotations": {
|
|
6192
|
+
"title": "Delete exposed service",
|
|
6193
|
+
"readOnlyHint": false,
|
|
6194
|
+
"destructiveHint": true,
|
|
6195
|
+
"idempotentHint": true
|
|
6196
|
+
},
|
|
6197
|
+
"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.",
|
|
6198
|
+
"method": "DELETE",
|
|
6199
|
+
"path": "/api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId}",
|
|
6200
|
+
"inputSchema": {
|
|
6201
|
+
"type": "object",
|
|
6202
|
+
"properties": {
|
|
6203
|
+
"instanceId": {
|
|
6204
|
+
"type": "integer",
|
|
6205
|
+
"description": "GPU instance ID"
|
|
6206
|
+
},
|
|
6207
|
+
"exposedServiceId": {
|
|
6208
|
+
"type": "integer",
|
|
6209
|
+
"description": "Exposed service ID"
|
|
6210
|
+
}
|
|
6211
|
+
},
|
|
6212
|
+
"required": [
|
|
6213
|
+
"instanceId",
|
|
6214
|
+
"exposedServiceId"
|
|
6215
|
+
]
|
|
6216
|
+
},
|
|
6217
|
+
"security": [
|
|
6218
|
+
{
|
|
6219
|
+
"apiToken": []
|
|
6220
|
+
}
|
|
6221
|
+
],
|
|
6222
|
+
"group": "gpu"
|
|
6223
|
+
},
|
|
6224
|
+
{
|
|
6225
|
+
"name": "gpu_exposed-services_list",
|
|
6226
|
+
"title": "Get exposed services",
|
|
6227
|
+
"annotations": {
|
|
6228
|
+
"title": "Get exposed services",
|
|
6229
|
+
"readOnlyHint": true,
|
|
6230
|
+
"destructiveHint": false
|
|
6231
|
+
},
|
|
6232
|
+
"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.",
|
|
6233
|
+
"method": "GET",
|
|
6234
|
+
"path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
|
|
6235
|
+
"inputSchema": {
|
|
6236
|
+
"type": "object",
|
|
6237
|
+
"properties": {
|
|
6238
|
+
"instanceId": {
|
|
6239
|
+
"type": "integer",
|
|
6240
|
+
"description": "GPU instance ID"
|
|
6241
|
+
}
|
|
6242
|
+
},
|
|
6243
|
+
"required": [
|
|
6244
|
+
"instanceId"
|
|
6245
|
+
]
|
|
6246
|
+
},
|
|
6247
|
+
"security": [
|
|
6248
|
+
{
|
|
6249
|
+
"apiToken": []
|
|
6250
|
+
}
|
|
6251
|
+
],
|
|
6252
|
+
"group": "gpu"
|
|
6253
|
+
},
|
|
6254
|
+
{
|
|
6255
|
+
"name": "gpu_exposed-services_create",
|
|
6256
|
+
"title": "Create exposed service",
|
|
6257
|
+
"annotations": {
|
|
6258
|
+
"title": "Create exposed service",
|
|
6259
|
+
"readOnlyHint": false,
|
|
6260
|
+
"destructiveHint": false
|
|
6261
|
+
},
|
|
6262
|
+
"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.",
|
|
6263
|
+
"method": "POST",
|
|
6264
|
+
"path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
|
|
6265
|
+
"inputSchema": {
|
|
6266
|
+
"type": "object",
|
|
6267
|
+
"properties": {
|
|
6268
|
+
"instanceId": {
|
|
6269
|
+
"type": "integer",
|
|
6270
|
+
"description": "GPU instance ID"
|
|
6271
|
+
},
|
|
6272
|
+
"name": {
|
|
6273
|
+
"type": "string",
|
|
6274
|
+
"description": "Service name, unique within the instance"
|
|
6275
|
+
},
|
|
6276
|
+
"internal_port": {
|
|
6277
|
+
"type": "integer",
|
|
6278
|
+
"description": "Port the service listens on inside the instance, unique within the instance"
|
|
6279
|
+
},
|
|
6280
|
+
"protocol": {
|
|
6281
|
+
"type": "string",
|
|
6282
|
+
"description": "protocol parameter",
|
|
6283
|
+
"enum": [
|
|
6284
|
+
"tcp",
|
|
6285
|
+
"udp"
|
|
6286
|
+
]
|
|
6287
|
+
},
|
|
6288
|
+
"type": {
|
|
6289
|
+
"type": "string",
|
|
6290
|
+
"description": "type parameter",
|
|
6291
|
+
"enum": [
|
|
6292
|
+
"http",
|
|
6293
|
+
"https"
|
|
6294
|
+
]
|
|
6295
|
+
}
|
|
6296
|
+
},
|
|
6297
|
+
"required": [
|
|
6298
|
+
"instanceId",
|
|
6299
|
+
"name",
|
|
6300
|
+
"internal_port",
|
|
6301
|
+
"protocol",
|
|
6302
|
+
"type"
|
|
6303
|
+
]
|
|
6304
|
+
},
|
|
6305
|
+
"security": [
|
|
6306
|
+
{
|
|
6307
|
+
"apiToken": []
|
|
6308
|
+
}
|
|
6309
|
+
],
|
|
6310
|
+
"group": "gpu"
|
|
6311
|
+
},
|
|
6188
6312
|
{
|
|
6189
6313
|
"name": "gpu_instances_list",
|
|
6190
6314
|
"title": "Get instances",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -6204,6 +6204,130 @@ const tools: OpenApiTool[] = [
|
|
|
6204
6204
|
],
|
|
6205
6205
|
"group": "gpu"
|
|
6206
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
|
+
},
|
|
6207
6331
|
{
|
|
6208
6332
|
"name": "gpu_instances_list",
|
|
6209
6333
|
"title": "Get instances",
|
package/src/core/tools/gpu.js
CHANGED
|
@@ -112,6 +112,130 @@ export default [
|
|
|
112
112
|
],
|
|
113
113
|
"group": "gpu"
|
|
114
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
|
+
},
|
|
115
239
|
{
|
|
116
240
|
"name": "gpu_instances_list",
|
|
117
241
|
"title": "Get instances",
|
package/src/core/tools/gpu.ts
CHANGED
|
@@ -131,6 +131,130 @@ const tools: OpenApiTool[] = [
|
|
|
131
131
|
],
|
|
132
132
|
"group": "gpu"
|
|
133
133
|
},
|
|
134
|
+
{
|
|
135
|
+
"name": "gpu_exposed-services_delete",
|
|
136
|
+
"title": "Delete exposed service",
|
|
137
|
+
"annotations": {
|
|
138
|
+
"title": "Delete exposed service",
|
|
139
|
+
"readOnlyHint": false,
|
|
140
|
+
"destructiveHint": true,
|
|
141
|
+
"idempotentHint": true
|
|
142
|
+
},
|
|
143
|
+
"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.",
|
|
144
|
+
"method": "DELETE",
|
|
145
|
+
"path": "/api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId}",
|
|
146
|
+
"inputSchema": {
|
|
147
|
+
"type": "object",
|
|
148
|
+
"properties": {
|
|
149
|
+
"instanceId": {
|
|
150
|
+
"type": "integer",
|
|
151
|
+
"description": "GPU instance ID"
|
|
152
|
+
},
|
|
153
|
+
"exposedServiceId": {
|
|
154
|
+
"type": "integer",
|
|
155
|
+
"description": "Exposed service ID"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"required": [
|
|
159
|
+
"instanceId",
|
|
160
|
+
"exposedServiceId"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"security": [
|
|
164
|
+
{
|
|
165
|
+
"apiToken": []
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"group": "gpu"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "gpu_exposed-services_list",
|
|
172
|
+
"title": "Get exposed services",
|
|
173
|
+
"annotations": {
|
|
174
|
+
"title": "Get exposed services",
|
|
175
|
+
"readOnlyHint": true,
|
|
176
|
+
"destructiveHint": false
|
|
177
|
+
},
|
|
178
|
+
"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.",
|
|
179
|
+
"method": "GET",
|
|
180
|
+
"path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
|
|
181
|
+
"inputSchema": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"properties": {
|
|
184
|
+
"instanceId": {
|
|
185
|
+
"type": "integer",
|
|
186
|
+
"description": "GPU instance ID"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"required": [
|
|
190
|
+
"instanceId"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"security": [
|
|
194
|
+
{
|
|
195
|
+
"apiToken": []
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"group": "gpu"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "gpu_exposed-services_create",
|
|
202
|
+
"title": "Create exposed service",
|
|
203
|
+
"annotations": {
|
|
204
|
+
"title": "Create exposed service",
|
|
205
|
+
"readOnlyHint": false,
|
|
206
|
+
"destructiveHint": false
|
|
207
|
+
},
|
|
208
|
+
"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.",
|
|
209
|
+
"method": "POST",
|
|
210
|
+
"path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
|
|
211
|
+
"inputSchema": {
|
|
212
|
+
"type": "object",
|
|
213
|
+
"properties": {
|
|
214
|
+
"instanceId": {
|
|
215
|
+
"type": "integer",
|
|
216
|
+
"description": "GPU instance ID"
|
|
217
|
+
},
|
|
218
|
+
"name": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"description": "Service name, unique within the instance"
|
|
221
|
+
},
|
|
222
|
+
"internal_port": {
|
|
223
|
+
"type": "integer",
|
|
224
|
+
"description": "Port the service listens on inside the instance, unique within the instance"
|
|
225
|
+
},
|
|
226
|
+
"protocol": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"description": "protocol parameter",
|
|
229
|
+
"enum": [
|
|
230
|
+
"tcp",
|
|
231
|
+
"udp"
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
"type": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"description": "type parameter",
|
|
237
|
+
"enum": [
|
|
238
|
+
"http",
|
|
239
|
+
"https"
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"required": [
|
|
244
|
+
"instanceId",
|
|
245
|
+
"name",
|
|
246
|
+
"internal_port",
|
|
247
|
+
"protocol",
|
|
248
|
+
"type"
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
"security": [
|
|
252
|
+
{
|
|
253
|
+
"apiToken": []
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"group": "gpu"
|
|
257
|
+
},
|
|
134
258
|
{
|
|
135
259
|
"name": "gpu_instances_list",
|
|
136
260
|
"title": "Get instances",
|
|
@@ -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.42.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.42.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.42.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.42.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.42.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.42.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.42.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.42.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
|
@@ -3406,6 +3406,80 @@ Use this endpoint to stop billing for a GPU instance you no longer need.
|
|
|
3406
3406
|
response: any; // Response structure will depend on the API
|
|
3407
3407
|
};
|
|
3408
3408
|
|
|
3409
|
+
/**
|
|
3410
|
+
* Delete a specified exposed service of a GPU instance.
|
|
3411
|
+
|
|
3412
|
+
The service is removed asynchronously: a successful request returns immediately and the service
|
|
3413
|
+
stops being reachable from the internet shortly after.
|
|
3414
|
+
|
|
3415
|
+
Use this endpoint to close public access to a service on your GPU instance.
|
|
3416
|
+
*/
|
|
3417
|
+
"gpu_exposed-services_delete": {
|
|
3418
|
+
params: {
|
|
3419
|
+
/**
|
|
3420
|
+
* GPU instance ID
|
|
3421
|
+
*/
|
|
3422
|
+
instanceId: number;
|
|
3423
|
+
/**
|
|
3424
|
+
* Exposed service ID
|
|
3425
|
+
*/
|
|
3426
|
+
exposedServiceId: number;
|
|
3427
|
+
};
|
|
3428
|
+
response: any; // Response structure will depend on the API
|
|
3429
|
+
};
|
|
3430
|
+
|
|
3431
|
+
/**
|
|
3432
|
+
* Retrieve the services exposed on a specified GPU instance.
|
|
3433
|
+
|
|
3434
|
+
A newly created service is listed once it gets its public hostname and external port.
|
|
3435
|
+
|
|
3436
|
+
Use this endpoint to find the public address of services running on your GPU instance.
|
|
3437
|
+
*/
|
|
3438
|
+
"gpu_exposed-services_list": {
|
|
3439
|
+
params: {
|
|
3440
|
+
/**
|
|
3441
|
+
* GPU instance ID
|
|
3442
|
+
*/
|
|
3443
|
+
instanceId: number;
|
|
3444
|
+
};
|
|
3445
|
+
response: any; // Response structure will depend on the API
|
|
3446
|
+
};
|
|
3447
|
+
|
|
3448
|
+
/**
|
|
3449
|
+
* Expose a service running on a specified GPU instance to the internet.
|
|
3450
|
+
|
|
3451
|
+
The service is exposed asynchronously: a successful request returns immediately, and the service
|
|
3452
|
+
appears in the exposed services list once it gets its public hostname and external port.
|
|
3453
|
+
Fails when the instance already has the maximum of 4 exposed services.
|
|
3454
|
+
|
|
3455
|
+
Use this endpoint to make an application on your GPU instance publicly reachable.
|
|
3456
|
+
*/
|
|
3457
|
+
"gpu_exposed-services_create": {
|
|
3458
|
+
params: {
|
|
3459
|
+
/**
|
|
3460
|
+
* GPU instance ID
|
|
3461
|
+
*/
|
|
3462
|
+
instanceId: number;
|
|
3463
|
+
/**
|
|
3464
|
+
* Service name, unique within the instance
|
|
3465
|
+
*/
|
|
3466
|
+
name: string;
|
|
3467
|
+
/**
|
|
3468
|
+
* Port the service listens on inside the instance, unique within the instance
|
|
3469
|
+
*/
|
|
3470
|
+
internal_port: number;
|
|
3471
|
+
/**
|
|
3472
|
+
* protocol parameter
|
|
3473
|
+
*/
|
|
3474
|
+
protocol: string;
|
|
3475
|
+
/**
|
|
3476
|
+
* type parameter
|
|
3477
|
+
*/
|
|
3478
|
+
type: string;
|
|
3479
|
+
};
|
|
3480
|
+
response: any; // Response structure will depend on the API
|
|
3481
|
+
};
|
|
3482
|
+
|
|
3409
3483
|
/**
|
|
3410
3484
|
* Retrieve all GPU instances of your account.
|
|
3411
3485
|
|