@hostinger/mcp 3.42.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 CHANGED
@@ -4,6 +4,19 @@ 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.1 — 2026-11-13
8
+
9
+ ### Operations
10
+
11
+ - Added `reach_campaigns_update` — Update campaign
12
+ - Added `reach_campaigns_send` — Send campaign
13
+
14
+ ### Also in this release
15
+
16
+ - Documentation: `README.md`
17
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
18
+ - Build and packaging: `types.d.ts`
19
+
7
20
  ## v3.42.0 — 2026-11-13
8
21
 
9
22
  ### Operations
package/README.md CHANGED
@@ -78,7 +78,7 @@ 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 (422 total)
81
+ - `hostinger-api-mcp` — unified server over every operation (424 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
@@ -89,7 +89,7 @@ This package installs the following MCP server commands:
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
92
- - `hostinger-reach-mcp` — 71 operations for reach
92
+ - `hostinger-reach-mcp` — 73 operations for reach
93
93
  - `hostinger-vps-mcp` — 68 operations for vps
94
94
  - `hostinger-wordpress-mcp` — 41 operations for wordpress
95
95
 
@@ -3290,6 +3290,19 @@ unsubscribes use the campaign statistics endpoint. The email content is not incl
3290
3290
  - **Method**: `GET`
3291
3291
  - **Path**: `/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}`
3292
3292
 
3293
+ #### reach_campaigns_update
3294
+
3295
+ Update a campaign's content, sender, template and audience.
3296
+
3297
+ Only `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or
3298
+ already sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes
3299
+ replace rather than merge: `all_contacts: true` targets every contact of the profile, while
3300
+ `segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as
3301
+ it is. This does not send the campaign - use the send endpoint for that.
3302
+
3303
+ - **Method**: `PATCH`
3304
+ - **Path**: `/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}`
3305
+
3293
3306
  #### reach_campaigns_list
3294
3307
 
3295
3308
  Get a paginated list of the campaigns in a profile.
@@ -3313,6 +3326,20 @@ finished and sent from the Reach interface.
3313
3326
  - **Method**: `POST`
3314
3327
  - **Path**: `/api/reach/v1/profiles/{profileUuid}/campaigns`
3315
3328
 
3329
+ #### reach_campaigns_send
3330
+
3331
+ Send a campaign now to the audience stored on it.
3332
+
3333
+ This is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the
3334
+ customer before calling. The campaign needs a subject, sender, template and audience first - set
3335
+ them with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered:
3336
+ the campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow
3337
+ it. The request is rejected when the campaign has no recipients, its sender domain is not verified
3338
+ or is blocked, the plan's sending limits would be exceeded, or the campaign is already being sent.
3339
+
3340
+ - **Method**: `POST`
3341
+ - **Path**: `/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send`
3342
+
3316
3343
  #### reach_campaigns_performance
3317
3344
 
3318
3345
  Get the performance of a campaign: delivery, opens, clicks and unsubscribes, with the
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "3.42.0",
3
+ "version": "3.42.1",
4
4
  "description": "Hostinger API — manage domains, DNS, hosting, VPS, billing and more from Gemini CLI.",
5
5
  "mcpServers": {
6
6
  "hostinger": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostinger/mcp",
3
- "version": "3.42.0",
3
+ "version": "3.42.1",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
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.42.0",
20
+ "version": "3.42.1",
21
21
  "packages": [
22
22
  {
23
23
  "registryType": "npm",
24
24
  "identifier": "@hostinger/mcp",
25
- "version": "3.42.0",
25
+ "version": "3.42.1",
26
26
  "transport": {
27
27
  "type": "stdio"
28
28
  },
@@ -1,3 +1,3 @@
1
- version=3.42.0
1
+ version=3.42.1
2
2
  commit=1ce0eee3ab97
3
3
  built=2026-11-13
@@ -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.16.0
65
+ * Generated from OpenAPI spec version 2.16.1
66
66
  */
67
67
  class MCPServer {
68
68
  constructor({ name, version, tools, instructions, skills = [] }) {
@@ -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.16.0
99
+ * Generated from OpenAPI spec version 2.16.1
100
100
  */
101
101
  class MCPServer {
102
102
  private readonly name: string;
@@ -12497,6 +12497,96 @@ export default [
12497
12497
  ],
12498
12498
  "group": "reach"
12499
12499
  },
12500
+ {
12501
+ "name": "reach_campaigns_update",
12502
+ "title": "Update campaign",
12503
+ "annotations": {
12504
+ "title": "Update campaign",
12505
+ "readOnlyHint": false,
12506
+ "destructiveHint": true,
12507
+ "idempotentHint": true
12508
+ },
12509
+ "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.",
12510
+ "method": "PATCH",
12511
+ "path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}",
12512
+ "inputSchema": {
12513
+ "type": "object",
12514
+ "properties": {
12515
+ "profileUuid": {
12516
+ "type": "string",
12517
+ "description": "Profile uuid parameter"
12518
+ },
12519
+ "campaignUuid": {
12520
+ "type": "string",
12521
+ "description": "Campaign uuid parameter"
12522
+ },
12523
+ "title": {
12524
+ "type": "string",
12525
+ "description": "Name the campaign is listed under. Not shown to the recipients."
12526
+ },
12527
+ "subject": {
12528
+ "type": "string",
12529
+ "description": "Subject line of the email."
12530
+ },
12531
+ "sender_name": {
12532
+ "type": "string",
12533
+ "description": "From name shown to the recipients."
12534
+ },
12535
+ "sender_email": {
12536
+ "type": "string",
12537
+ "description": "From address of the campaign. Its domain has to be verified on the profile before\nthe campaign can be sent."
12538
+ },
12539
+ "template_uuid": {
12540
+ "type": "string",
12541
+ "description": "Template to send, as returned by the template endpoints."
12542
+ },
12543
+ "all_contacts": {
12544
+ "type": "boolean",
12545
+ "description": "`true` targets every contact of the profile, `false` targets only `segment_uuids`.\nRequired when `segment_uuids` or `excluded_segment_uuids` is sent."
12546
+ },
12547
+ "segment_uuids": {
12548
+ "type": "array",
12549
+ "description": "Segments to target. Replaces the segments currently targeted.",
12550
+ "items": {
12551
+ "type": "string",
12552
+ "description": "segment_uuids parameter"
12553
+ }
12554
+ },
12555
+ "excluded_segment_uuids": {
12556
+ "type": "array",
12557
+ "description": "Segments to leave out. Only allowed together with `all_contacts: true`.",
12558
+ "items": {
12559
+ "type": "string",
12560
+ "description": "excluded_segment_uuids parameter"
12561
+ }
12562
+ },
12563
+ "metadata": {
12564
+ "type": "object",
12565
+ "description": "Extra campaign fields. Any key outside the listed ones is rejected.",
12566
+ "properties": {
12567
+ "preheader": {
12568
+ "type": "string",
12569
+ "description": "Preview text shown after the subject line in the inbox."
12570
+ },
12571
+ "source": {
12572
+ "type": "string",
12573
+ "description": "Where the campaign was created from."
12574
+ }
12575
+ }
12576
+ }
12577
+ },
12578
+ "required": [
12579
+ "profileUuid",
12580
+ "campaignUuid"
12581
+ ]
12582
+ },
12583
+ "security": [
12584
+ {
12585
+ "apiToken": []
12586
+ }
12587
+ ],
12588
+ "group": "reach"
12589
+ },
12500
12590
  {
12501
12591
  "name": "reach_campaigns_list",
12502
12592
  "title": "List campaigns",
@@ -12629,6 +12719,41 @@ export default [
12629
12719
  ],
12630
12720
  "group": "reach"
12631
12721
  },
12722
+ {
12723
+ "name": "reach_campaigns_send",
12724
+ "title": "Send campaign",
12725
+ "annotations": {
12726
+ "title": "Send campaign",
12727
+ "readOnlyHint": false,
12728
+ "destructiveHint": false
12729
+ },
12730
+ "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.",
12731
+ "method": "POST",
12732
+ "path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send",
12733
+ "inputSchema": {
12734
+ "type": "object",
12735
+ "properties": {
12736
+ "profileUuid": {
12737
+ "type": "string",
12738
+ "description": "Profile uuid parameter"
12739
+ },
12740
+ "campaignUuid": {
12741
+ "type": "string",
12742
+ "description": "Campaign uuid parameter"
12743
+ }
12744
+ },
12745
+ "required": [
12746
+ "profileUuid",
12747
+ "campaignUuid"
12748
+ ]
12749
+ },
12750
+ "security": [
12751
+ {
12752
+ "apiToken": []
12753
+ }
12754
+ ],
12755
+ "group": "reach"
12756
+ },
12632
12757
  {
12633
12758
  "name": "reach_campaigns_performance",
12634
12759
  "title": "Get campaign performance",
@@ -12516,6 +12516,96 @@ const tools: OpenApiTool[] = [
12516
12516
  ],
12517
12517
  "group": "reach"
12518
12518
  },
12519
+ {
12520
+ "name": "reach_campaigns_update",
12521
+ "title": "Update campaign",
12522
+ "annotations": {
12523
+ "title": "Update campaign",
12524
+ "readOnlyHint": false,
12525
+ "destructiveHint": true,
12526
+ "idempotentHint": true
12527
+ },
12528
+ "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.",
12529
+ "method": "PATCH",
12530
+ "path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}",
12531
+ "inputSchema": {
12532
+ "type": "object",
12533
+ "properties": {
12534
+ "profileUuid": {
12535
+ "type": "string",
12536
+ "description": "Profile uuid parameter"
12537
+ },
12538
+ "campaignUuid": {
12539
+ "type": "string",
12540
+ "description": "Campaign uuid parameter"
12541
+ },
12542
+ "title": {
12543
+ "type": "string",
12544
+ "description": "Name the campaign is listed under. Not shown to the recipients."
12545
+ },
12546
+ "subject": {
12547
+ "type": "string",
12548
+ "description": "Subject line of the email."
12549
+ },
12550
+ "sender_name": {
12551
+ "type": "string",
12552
+ "description": "From name shown to the recipients."
12553
+ },
12554
+ "sender_email": {
12555
+ "type": "string",
12556
+ "description": "From address of the campaign. Its domain has to be verified on the profile before\nthe campaign can be sent."
12557
+ },
12558
+ "template_uuid": {
12559
+ "type": "string",
12560
+ "description": "Template to send, as returned by the template endpoints."
12561
+ },
12562
+ "all_contacts": {
12563
+ "type": "boolean",
12564
+ "description": "`true` targets every contact of the profile, `false` targets only `segment_uuids`.\nRequired when `segment_uuids` or `excluded_segment_uuids` is sent."
12565
+ },
12566
+ "segment_uuids": {
12567
+ "type": "array",
12568
+ "description": "Segments to target. Replaces the segments currently targeted.",
12569
+ "items": {
12570
+ "type": "string",
12571
+ "description": "segment_uuids parameter"
12572
+ }
12573
+ },
12574
+ "excluded_segment_uuids": {
12575
+ "type": "array",
12576
+ "description": "Segments to leave out. Only allowed together with `all_contacts: true`.",
12577
+ "items": {
12578
+ "type": "string",
12579
+ "description": "excluded_segment_uuids parameter"
12580
+ }
12581
+ },
12582
+ "metadata": {
12583
+ "type": "object",
12584
+ "description": "Extra campaign fields. Any key outside the listed ones is rejected.",
12585
+ "properties": {
12586
+ "preheader": {
12587
+ "type": "string",
12588
+ "description": "Preview text shown after the subject line in the inbox."
12589
+ },
12590
+ "source": {
12591
+ "type": "string",
12592
+ "description": "Where the campaign was created from."
12593
+ }
12594
+ }
12595
+ }
12596
+ },
12597
+ "required": [
12598
+ "profileUuid",
12599
+ "campaignUuid"
12600
+ ]
12601
+ },
12602
+ "security": [
12603
+ {
12604
+ "apiToken": []
12605
+ }
12606
+ ],
12607
+ "group": "reach"
12608
+ },
12519
12609
  {
12520
12610
  "name": "reach_campaigns_list",
12521
12611
  "title": "List campaigns",
@@ -12648,6 +12738,41 @@ const tools: OpenApiTool[] = [
12648
12738
  ],
12649
12739
  "group": "reach"
12650
12740
  },
12741
+ {
12742
+ "name": "reach_campaigns_send",
12743
+ "title": "Send campaign",
12744
+ "annotations": {
12745
+ "title": "Send campaign",
12746
+ "readOnlyHint": false,
12747
+ "destructiveHint": false
12748
+ },
12749
+ "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.",
12750
+ "method": "POST",
12751
+ "path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send",
12752
+ "inputSchema": {
12753
+ "type": "object",
12754
+ "properties": {
12755
+ "profileUuid": {
12756
+ "type": "string",
12757
+ "description": "Profile uuid parameter"
12758
+ },
12759
+ "campaignUuid": {
12760
+ "type": "string",
12761
+ "description": "Campaign uuid parameter"
12762
+ }
12763
+ },
12764
+ "required": [
12765
+ "profileUuid",
12766
+ "campaignUuid"
12767
+ ]
12768
+ },
12769
+ "security": [
12770
+ {
12771
+ "apiToken": []
12772
+ }
12773
+ ],
12774
+ "group": "reach"
12775
+ },
12651
12776
  {
12652
12777
  "name": "reach_campaigns_performance",
12653
12778
  "title": "Get campaign performance",
@@ -211,6 +211,96 @@ export default [
211
211
  ],
212
212
  "group": "reach"
213
213
  },
214
+ {
215
+ "name": "reach_campaigns_update",
216
+ "title": "Update campaign",
217
+ "annotations": {
218
+ "title": "Update campaign",
219
+ "readOnlyHint": false,
220
+ "destructiveHint": true,
221
+ "idempotentHint": true
222
+ },
223
+ "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.",
224
+ "method": "PATCH",
225
+ "path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}",
226
+ "inputSchema": {
227
+ "type": "object",
228
+ "properties": {
229
+ "profileUuid": {
230
+ "type": "string",
231
+ "description": "Profile uuid parameter"
232
+ },
233
+ "campaignUuid": {
234
+ "type": "string",
235
+ "description": "Campaign uuid parameter"
236
+ },
237
+ "title": {
238
+ "type": "string",
239
+ "description": "Name the campaign is listed under. Not shown to the recipients."
240
+ },
241
+ "subject": {
242
+ "type": "string",
243
+ "description": "Subject line of the email."
244
+ },
245
+ "sender_name": {
246
+ "type": "string",
247
+ "description": "From name shown to the recipients."
248
+ },
249
+ "sender_email": {
250
+ "type": "string",
251
+ "description": "From address of the campaign. Its domain has to be verified on the profile before\nthe campaign can be sent."
252
+ },
253
+ "template_uuid": {
254
+ "type": "string",
255
+ "description": "Template to send, as returned by the template endpoints."
256
+ },
257
+ "all_contacts": {
258
+ "type": "boolean",
259
+ "description": "`true` targets every contact of the profile, `false` targets only `segment_uuids`.\nRequired when `segment_uuids` or `excluded_segment_uuids` is sent."
260
+ },
261
+ "segment_uuids": {
262
+ "type": "array",
263
+ "description": "Segments to target. Replaces the segments currently targeted.",
264
+ "items": {
265
+ "type": "string",
266
+ "description": "segment_uuids parameter"
267
+ }
268
+ },
269
+ "excluded_segment_uuids": {
270
+ "type": "array",
271
+ "description": "Segments to leave out. Only allowed together with `all_contacts: true`.",
272
+ "items": {
273
+ "type": "string",
274
+ "description": "excluded_segment_uuids parameter"
275
+ }
276
+ },
277
+ "metadata": {
278
+ "type": "object",
279
+ "description": "Extra campaign fields. Any key outside the listed ones is rejected.",
280
+ "properties": {
281
+ "preheader": {
282
+ "type": "string",
283
+ "description": "Preview text shown after the subject line in the inbox."
284
+ },
285
+ "source": {
286
+ "type": "string",
287
+ "description": "Where the campaign was created from."
288
+ }
289
+ }
290
+ }
291
+ },
292
+ "required": [
293
+ "profileUuid",
294
+ "campaignUuid"
295
+ ]
296
+ },
297
+ "security": [
298
+ {
299
+ "apiToken": []
300
+ }
301
+ ],
302
+ "group": "reach"
303
+ },
214
304
  {
215
305
  "name": "reach_campaigns_list",
216
306
  "title": "List campaigns",
@@ -343,6 +433,41 @@ export default [
343
433
  ],
344
434
  "group": "reach"
345
435
  },
436
+ {
437
+ "name": "reach_campaigns_send",
438
+ "title": "Send campaign",
439
+ "annotations": {
440
+ "title": "Send campaign",
441
+ "readOnlyHint": false,
442
+ "destructiveHint": false
443
+ },
444
+ "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.",
445
+ "method": "POST",
446
+ "path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send",
447
+ "inputSchema": {
448
+ "type": "object",
449
+ "properties": {
450
+ "profileUuid": {
451
+ "type": "string",
452
+ "description": "Profile uuid parameter"
453
+ },
454
+ "campaignUuid": {
455
+ "type": "string",
456
+ "description": "Campaign uuid parameter"
457
+ }
458
+ },
459
+ "required": [
460
+ "profileUuid",
461
+ "campaignUuid"
462
+ ]
463
+ },
464
+ "security": [
465
+ {
466
+ "apiToken": []
467
+ }
468
+ ],
469
+ "group": "reach"
470
+ },
346
471
  {
347
472
  "name": "reach_campaigns_performance",
348
473
  "title": "Get campaign performance",
@@ -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.42.0', tools, instructions });
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.42.0', tools, instructions });
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.42.0', tools });
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.42.0', tools });
6
+ startServer({ name: 'hostinger-agent-readiness-mcp', version: '3.42.1', tools });
@@ -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.42.0', tools, instructions, skills });
8
+ startServer({ name: 'hostinger-api-mcp', version: '3.42.1', tools, instructions, skills });
@@ -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.42.0', tools, instructions, skills });
8
+ startServer({ name: 'hostinger-api-mcp', version: '3.42.1', tools, instructions, skills });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-billing-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/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-billing-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/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-dns-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/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-dns-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/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-domains-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/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-domains-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/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-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/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-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/gpu.js';
5
5
 
6
- startServer({ name: 'hostinger-gpu-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-gpu-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/gpu.js';
5
5
 
6
- startServer({ name: 'hostinger-gpu-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-gpu-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/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-horizons-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/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '3.42.1', tools });
@@ -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.42.0', tools, instructions });
7
+ startServer({ name: 'hostinger-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/hosting.js';
5
5
  import instructions from '../core/instructions.js';
6
6
 
7
- startServer({ name: 'hostinger-hosting-mcp', version: '3.42.0', tools, instructions });
7
+ startServer({ name: 'hostinger-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/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-mail-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/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-mail-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/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-reach-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/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-reach-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/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-vps-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/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-vps-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/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-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/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '3.42.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '3.42.1', tools });
package/types.d.ts CHANGED
@@ -7342,6 +7342,67 @@ unsubscribes use the campaign statistics endpoint. The email content is not incl
7342
7342
  response: any; // Response structure will depend on the API
7343
7343
  };
7344
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
+
7345
7406
  /**
7346
7407
  * Get a paginated list of the campaigns in a profile.
7347
7408
 
@@ -7429,6 +7490,30 @@ attached later, but the campaign cannot be sent without one.
7429
7490
  response: any; // Response structure will depend on the API
7430
7491
  };
7431
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
+
7432
7517
  /**
7433
7518
  * Get the performance of a campaign: delivery, opens, clicks and unsubscribes, with the
7434
7519
  matching rates.