@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.
Files changed (43) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +66 -3
  3. package/gemini-extension.json +1 -1
  4. package/package.json +1 -1
  5. package/server.json +2 -2
  6. package/skills/headless/VERSION +1 -1
  7. package/src/core/runtime.js +1 -1
  8. package/src/core/runtime.ts +1 -1
  9. package/src/core/tools/all.js +249 -0
  10. package/src/core/tools/all.ts +249 -0
  11. package/src/core/tools/gpu.js +124 -0
  12. package/src/core/tools/gpu.ts +124 -0
  13. package/src/core/tools/reach.js +125 -0
  14. package/src/core/tools/reach.ts +125 -0
  15. package/src/servers/agency-hosting.js +1 -1
  16. package/src/servers/agency-hosting.ts +1 -1
  17. package/src/servers/agent-readiness.js +1 -1
  18. package/src/servers/agent-readiness.ts +1 -1
  19. package/src/servers/all.js +1 -1
  20. package/src/servers/all.ts +1 -1
  21. package/src/servers/billing.js +1 -1
  22. package/src/servers/billing.ts +1 -1
  23. package/src/servers/dns.js +1 -1
  24. package/src/servers/dns.ts +1 -1
  25. package/src/servers/domains.js +1 -1
  26. package/src/servers/domains.ts +1 -1
  27. package/src/servers/ecommerce.js +1 -1
  28. package/src/servers/ecommerce.ts +1 -1
  29. package/src/servers/gpu.js +1 -1
  30. package/src/servers/gpu.ts +1 -1
  31. package/src/servers/horizons.js +1 -1
  32. package/src/servers/horizons.ts +1 -1
  33. package/src/servers/hosting.js +1 -1
  34. package/src/servers/hosting.ts +1 -1
  35. package/src/servers/mail.js +1 -1
  36. package/src/servers/mail.ts +1 -1
  37. package/src/servers/reach.js +1 -1
  38. package/src/servers/reach.ts +1 -1
  39. package/src/servers/vps.js +1 -1
  40. package/src/servers/vps.ts +1 -1
  41. package/src/servers/wordpress.js +1 -1
  42. package/src/servers/wordpress.ts +1 -1
  43. package/types.d.ts +159 -0
package/CHANGELOG.md CHANGED
@@ -4,6 +4,33 @@ 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
+
20
+ ## v3.42.0 — 2026-11-13
21
+
22
+ ### Operations
23
+
24
+ - Added `gpu_exposed-services_delete` — Delete exposed service
25
+ - Added `gpu_exposed-services_list` — Get exposed services
26
+ - Added `gpu_exposed-services_create` — Create exposed service
27
+
28
+ ### Also in this release
29
+
30
+ - Documentation: `README.md`
31
+ - Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
32
+ - Build and packaging: `types.d.ts`
33
+
7
34
  ## v3.41.0 — 2026-11-13
8
35
 
9
36
  ### Operations
package/README.md CHANGED
@@ -78,18 +78,18 @@ 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 (419 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
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` — 10 operations for gpu
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
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
 
@@ -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.
@@ -3254,6 +3290,19 @@ unsubscribes use the campaign statistics endpoint. The email content is not incl
3254
3290
  - **Method**: `GET`
3255
3291
  - **Path**: `/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}`
3256
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
+
3257
3306
  #### reach_campaigns_list
3258
3307
 
3259
3308
  Get a paginated list of the campaigns in a profile.
@@ -3277,6 +3326,20 @@ finished and sent from the Reach interface.
3277
3326
  - **Method**: `POST`
3278
3327
  - **Path**: `/api/reach/v1/profiles/{profileUuid}/campaigns`
3279
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
+
3280
3343
  #### reach_campaigns_performance
3281
3344
 
3282
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.41.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.41.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.41.0",
20
+ "version": "3.42.1",
21
21
  "packages": [
22
22
  {
23
23
  "registryType": "npm",
24
24
  "identifier": "@hostinger/mcp",
25
- "version": "3.41.0",
25
+ "version": "3.42.1",
26
26
  "transport": {
27
27
  "type": "stdio"
28
28
  },
@@ -1,3 +1,3 @@
1
- version=3.41.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.15.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.15.0
99
+ * Generated from OpenAPI spec version 2.16.1
100
100
  */
101
101
  class MCPServer {
102
102
  private readonly name: string;
@@ -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",
@@ -12373,6 +12497,96 @@ export default [
12373
12497
  ],
12374
12498
  "group": "reach"
12375
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
+ },
12376
12590
  {
12377
12591
  "name": "reach_campaigns_list",
12378
12592
  "title": "List campaigns",
@@ -12505,6 +12719,41 @@ export default [
12505
12719
  ],
12506
12720
  "group": "reach"
12507
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
+ },
12508
12757
  {
12509
12758
  "name": "reach_campaigns_performance",
12510
12759
  "title": "Get campaign performance",