@hostinger/mcp 3.41.0 → 3.42.1
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 +27 -0
- package/README.md +66 -3
- 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 +249 -0
- package/src/core/tools/all.ts +249 -0
- package/src/core/tools/gpu.js +124 -0
- package/src/core/tools/gpu.ts +124 -0
- package/src/core/tools/reach.js +125 -0
- package/src/core/tools/reach.ts +125 -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 +159 -0
package/src/core/tools/reach.ts
CHANGED
|
@@ -230,6 +230,96 @@ const tools: OpenApiTool[] = [
|
|
|
230
230
|
],
|
|
231
231
|
"group": "reach"
|
|
232
232
|
},
|
|
233
|
+
{
|
|
234
|
+
"name": "reach_campaigns_update",
|
|
235
|
+
"title": "Update campaign",
|
|
236
|
+
"annotations": {
|
|
237
|
+
"title": "Update campaign",
|
|
238
|
+
"readOnlyHint": false,
|
|
239
|
+
"destructiveHint": true,
|
|
240
|
+
"idempotentHint": true
|
|
241
|
+
},
|
|
242
|
+
"description": "Update a campaign's content, sender, template and audience.\n\nOnly `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or\nalready sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes\nreplace rather than merge: `all_contacts: true` targets every contact of the profile, while\n`segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as\nit is. This does not send the campaign - use the send endpoint for that.",
|
|
243
|
+
"method": "PATCH",
|
|
244
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}",
|
|
245
|
+
"inputSchema": {
|
|
246
|
+
"type": "object",
|
|
247
|
+
"properties": {
|
|
248
|
+
"profileUuid": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"description": "Profile uuid parameter"
|
|
251
|
+
},
|
|
252
|
+
"campaignUuid": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"description": "Campaign uuid parameter"
|
|
255
|
+
},
|
|
256
|
+
"title": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"description": "Name the campaign is listed under. Not shown to the recipients."
|
|
259
|
+
},
|
|
260
|
+
"subject": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"description": "Subject line of the email."
|
|
263
|
+
},
|
|
264
|
+
"sender_name": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"description": "From name shown to the recipients."
|
|
267
|
+
},
|
|
268
|
+
"sender_email": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"description": "From address of the campaign. Its domain has to be verified on the profile before\nthe campaign can be sent."
|
|
271
|
+
},
|
|
272
|
+
"template_uuid": {
|
|
273
|
+
"type": "string",
|
|
274
|
+
"description": "Template to send, as returned by the template endpoints."
|
|
275
|
+
},
|
|
276
|
+
"all_contacts": {
|
|
277
|
+
"type": "boolean",
|
|
278
|
+
"description": "`true` targets every contact of the profile, `false` targets only `segment_uuids`.\nRequired when `segment_uuids` or `excluded_segment_uuids` is sent."
|
|
279
|
+
},
|
|
280
|
+
"segment_uuids": {
|
|
281
|
+
"type": "array",
|
|
282
|
+
"description": "Segments to target. Replaces the segments currently targeted.",
|
|
283
|
+
"items": {
|
|
284
|
+
"type": "string",
|
|
285
|
+
"description": "segment_uuids parameter"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"excluded_segment_uuids": {
|
|
289
|
+
"type": "array",
|
|
290
|
+
"description": "Segments to leave out. Only allowed together with `all_contacts: true`.",
|
|
291
|
+
"items": {
|
|
292
|
+
"type": "string",
|
|
293
|
+
"description": "excluded_segment_uuids parameter"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"metadata": {
|
|
297
|
+
"type": "object",
|
|
298
|
+
"description": "Extra campaign fields. Any key outside the listed ones is rejected.",
|
|
299
|
+
"properties": {
|
|
300
|
+
"preheader": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"description": "Preview text shown after the subject line in the inbox."
|
|
303
|
+
},
|
|
304
|
+
"source": {
|
|
305
|
+
"type": "string",
|
|
306
|
+
"description": "Where the campaign was created from."
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"required": [
|
|
312
|
+
"profileUuid",
|
|
313
|
+
"campaignUuid"
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
"security": [
|
|
317
|
+
{
|
|
318
|
+
"apiToken": []
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"group": "reach"
|
|
322
|
+
},
|
|
233
323
|
{
|
|
234
324
|
"name": "reach_campaigns_list",
|
|
235
325
|
"title": "List campaigns",
|
|
@@ -362,6 +452,41 @@ const tools: OpenApiTool[] = [
|
|
|
362
452
|
],
|
|
363
453
|
"group": "reach"
|
|
364
454
|
},
|
|
455
|
+
{
|
|
456
|
+
"name": "reach_campaigns_send",
|
|
457
|
+
"title": "Send campaign",
|
|
458
|
+
"annotations": {
|
|
459
|
+
"title": "Send campaign",
|
|
460
|
+
"readOnlyHint": false,
|
|
461
|
+
"destructiveHint": false
|
|
462
|
+
},
|
|
463
|
+
"description": "Send a campaign now to the audience stored on it.\n\nThis is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the\ncustomer before calling. The campaign needs a subject, sender, template and audience first - set\nthem with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered:\nthe campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow\nit. The request is rejected when the campaign has no recipients, its sender domain is not verified\nor is blocked, the plan's sending limits would be exceeded, or the campaign is already being sent.",
|
|
464
|
+
"method": "POST",
|
|
465
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send",
|
|
466
|
+
"inputSchema": {
|
|
467
|
+
"type": "object",
|
|
468
|
+
"properties": {
|
|
469
|
+
"profileUuid": {
|
|
470
|
+
"type": "string",
|
|
471
|
+
"description": "Profile uuid parameter"
|
|
472
|
+
},
|
|
473
|
+
"campaignUuid": {
|
|
474
|
+
"type": "string",
|
|
475
|
+
"description": "Campaign uuid parameter"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"required": [
|
|
479
|
+
"profileUuid",
|
|
480
|
+
"campaignUuid"
|
|
481
|
+
]
|
|
482
|
+
},
|
|
483
|
+
"security": [
|
|
484
|
+
{
|
|
485
|
+
"apiToken": []
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"group": "reach"
|
|
489
|
+
},
|
|
365
490
|
{
|
|
366
491
|
"name": "reach_campaigns_performance",
|
|
367
492
|
"title": "Get campaign performance",
|
|
@@ -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.1', 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.1', 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.1', 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.1', 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.1', 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.1', 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.1', 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.1', 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
|
|
|
@@ -7268,6 +7342,67 @@ unsubscribes use the campaign statistics endpoint. The email content is not incl
|
|
|
7268
7342
|
response: any; // Response structure will depend on the API
|
|
7269
7343
|
};
|
|
7270
7344
|
|
|
7345
|
+
/**
|
|
7346
|
+
* Update a campaign's content, sender, template and audience.
|
|
7347
|
+
|
|
7348
|
+
Only `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or
|
|
7349
|
+
already sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes
|
|
7350
|
+
replace rather than merge: `all_contacts: true` targets every contact of the profile, while
|
|
7351
|
+
`segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as
|
|
7352
|
+
it is. This does not send the campaign - use the send endpoint for that.
|
|
7353
|
+
*/
|
|
7354
|
+
"reach_campaigns_update": {
|
|
7355
|
+
params: {
|
|
7356
|
+
/**
|
|
7357
|
+
* Profile uuid parameter
|
|
7358
|
+
*/
|
|
7359
|
+
profileUuid: string;
|
|
7360
|
+
/**
|
|
7361
|
+
* Campaign uuid parameter
|
|
7362
|
+
*/
|
|
7363
|
+
campaignUuid: string;
|
|
7364
|
+
/**
|
|
7365
|
+
* Name the campaign is listed under. Not shown to the recipients.
|
|
7366
|
+
*/
|
|
7367
|
+
title?: string;
|
|
7368
|
+
/**
|
|
7369
|
+
* Subject line of the email.
|
|
7370
|
+
*/
|
|
7371
|
+
subject?: string;
|
|
7372
|
+
/**
|
|
7373
|
+
* From name shown to the recipients.
|
|
7374
|
+
*/
|
|
7375
|
+
sender_name?: string;
|
|
7376
|
+
/**
|
|
7377
|
+
* From address of the campaign. Its domain has to be verified on the profile before
|
|
7378
|
+
the campaign can be sent.
|
|
7379
|
+
*/
|
|
7380
|
+
sender_email?: string;
|
|
7381
|
+
/**
|
|
7382
|
+
* Template to send, as returned by the template endpoints.
|
|
7383
|
+
*/
|
|
7384
|
+
template_uuid?: string;
|
|
7385
|
+
/**
|
|
7386
|
+
* `true` targets every contact of the profile, `false` targets only `segment_uuids`.
|
|
7387
|
+
Required when `segment_uuids` or `excluded_segment_uuids` is sent.
|
|
7388
|
+
*/
|
|
7389
|
+
all_contacts?: boolean;
|
|
7390
|
+
/**
|
|
7391
|
+
* Segments to target. Replaces the segments currently targeted.
|
|
7392
|
+
*/
|
|
7393
|
+
segment_uuids?: array;
|
|
7394
|
+
/**
|
|
7395
|
+
* Segments to leave out. Only allowed together with `all_contacts: true`.
|
|
7396
|
+
*/
|
|
7397
|
+
excluded_segment_uuids?: array;
|
|
7398
|
+
/**
|
|
7399
|
+
* Extra campaign fields. Any key outside the listed ones is rejected.
|
|
7400
|
+
*/
|
|
7401
|
+
metadata?: object;
|
|
7402
|
+
};
|
|
7403
|
+
response: any; // Response structure will depend on the API
|
|
7404
|
+
};
|
|
7405
|
+
|
|
7271
7406
|
/**
|
|
7272
7407
|
* Get a paginated list of the campaigns in a profile.
|
|
7273
7408
|
|
|
@@ -7355,6 +7490,30 @@ attached later, but the campaign cannot be sent without one.
|
|
|
7355
7490
|
response: any; // Response structure will depend on the API
|
|
7356
7491
|
};
|
|
7357
7492
|
|
|
7493
|
+
/**
|
|
7494
|
+
* Send a campaign now to the audience stored on it.
|
|
7495
|
+
|
|
7496
|
+
This is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the
|
|
7497
|
+
customer before calling. The campaign needs a subject, sender, template and audience first - set
|
|
7498
|
+
them with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered:
|
|
7499
|
+
the campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow
|
|
7500
|
+
it. The request is rejected when the campaign has no recipients, its sender domain is not verified
|
|
7501
|
+
or is blocked, the plan's sending limits would be exceeded, or the campaign is already being sent.
|
|
7502
|
+
*/
|
|
7503
|
+
"reach_campaigns_send": {
|
|
7504
|
+
params: {
|
|
7505
|
+
/**
|
|
7506
|
+
* Profile uuid parameter
|
|
7507
|
+
*/
|
|
7508
|
+
profileUuid: string;
|
|
7509
|
+
/**
|
|
7510
|
+
* Campaign uuid parameter
|
|
7511
|
+
*/
|
|
7512
|
+
campaignUuid: string;
|
|
7513
|
+
};
|
|
7514
|
+
response: any; // Response structure will depend on the API
|
|
7515
|
+
};
|
|
7516
|
+
|
|
7358
7517
|
/**
|
|
7359
7518
|
* Get the performance of a campaign: delivery, opens, clicks and unsubscribes, with the
|
|
7360
7519
|
matching rates.
|