hostinger-api-mcp 1.36.0 → 1.38.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.
@@ -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: '1.36.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.38.0', 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: '1.36.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.38.0', tools });
package/types.d.ts CHANGED
@@ -4424,6 +4424,92 @@ steps yet returns an empty list.
4424
4424
  response: any; // Response structure will depend on the API
4425
4425
  };
4426
4426
 
4427
+ /**
4428
+ * Get a single campaign with its sender, subject, template reference, targeting and delivery
4429
+ progress.
4430
+
4431
+ This describes how the campaign was set up and how far it has got. For opens, clicks and
4432
+ unsubscribes use the campaign statistics endpoint.
4433
+ */
4434
+ "reach_getCampaignDetailsV1": {
4435
+ params: {
4436
+ /**
4437
+ * Profile uuid parameter
4438
+ */
4439
+ profileUuid: string;
4440
+ /**
4441
+ * Campaign uuid parameter
4442
+ */
4443
+ campaignUuid: string;
4444
+ };
4445
+ response: any; // Response structure will depend on the API
4446
+ };
4447
+
4448
+ /**
4449
+ * Get a paginated list of the campaigns in a profile.
4450
+
4451
+ Each campaign carries its headline engagement rates. Filter by status to find drafts,
4452
+ scheduled, sending or sent campaigns, keeping in mind that a fully sent campaign has the
4453
+ status `publish`. By default only regular campaigns are returned - pass `type` to get the
4454
+ emails sent by automations or the double opt-in confirmations instead.
4455
+ */
4456
+ "reach_listCampaignsV1": {
4457
+ params: {
4458
+ /**
4459
+ * Profile uuid parameter
4460
+ */
4461
+ profileUuid: string;
4462
+ /**
4463
+ * Filter campaigns by status.
4464
+
4465
+ A fully sent campaign has the status `publish`. There is no `sent` status, and campaigns can
4466
+ be neither paused nor archived.
4467
+ */
4468
+ status?: string;
4469
+ /**
4470
+ * Filter campaigns by type.
4471
+
4472
+ Defaults to `campaign`, which leaves out the emails sent by automations and the double
4473
+ opt-in confirmations.
4474
+ */
4475
+ type?: string;
4476
+ /**
4477
+ * Order campaigns by creation date. Newest first unless set to `asc`.
4478
+ */
4479
+ sort_direction?: string;
4480
+ /**
4481
+ * Page number
4482
+ */
4483
+ page?: number;
4484
+ /**
4485
+ * Number of items per page
4486
+ */
4487
+ per_page?: number;
4488
+ };
4489
+ response: any; // Response structure will depend on the API
4490
+ };
4491
+
4492
+ /**
4493
+ * Get the performance of a campaign: delivery, opens, clicks and unsubscribes, with the
4494
+ matching rates.
4495
+
4496
+ Every count is unique contacts rather than raw events, so a contact who opens the same email
4497
+ five times is counted once.
4498
+ */
4499
+ "reach_getCampaignPerformanceV1": {
4500
+ params: {
4501
+ /**
4502
+ * Profile uuid parameter
4503
+ */
4504
+ profileUuid: string;
4505
+ /**
4506
+ * Campaign uuid parameter
4507
+ */
4508
+ campaignUuid: string;
4509
+ };
4510
+ response: any; // Response structure will depend on the API
4511
+ };
4512
+
4427
4513
  /**
4428
4514
  * Delete a contact with the specified UUID.
4429
4515
 
@@ -5254,6 +5340,72 @@ was created now or already existed.
5254
5340
  response: any; // Response structure will depend on the API
5255
5341
  };
5256
5342
 
5343
+ /**
5344
+ * Get a single form with the URL of its hosted template and the tags it applies to the contacts
5345
+ it captures.
5346
+
5347
+ There is no ready-made embed snippet in the response - either serve the template HTML yourself
5348
+ or build your own embed around the form uuid.
5349
+ */
5350
+ "reach_getFormDetailsV1": {
5351
+ params: {
5352
+ /**
5353
+ * Profile uuid parameter
5354
+ */
5355
+ profileUuid: string;
5356
+ /**
5357
+ * Form uuid parameter
5358
+ */
5359
+ formUuid: string;
5360
+ };
5361
+ response: any; // Response structure will depend on the API
5362
+ };
5363
+
5364
+ /**
5365
+ * Permanently delete a form together with its template.
5366
+
5367
+ A form that has already captured submissions cannot be deleted, so that the contacts it collected
5368
+ are never silently discarded - pause the form instead to stop it collecting new ones. Views alone
5369
+ do not block deletion.
5370
+ */
5371
+ "reach_deleteFormV1": {
5372
+ params: {
5373
+ /**
5374
+ * Profile uuid parameter
5375
+ */
5376
+ profileUuid: string;
5377
+ /**
5378
+ * Form uuid parameter
5379
+ */
5380
+ formUuid: string;
5381
+ };
5382
+ response: any; // Response structure will depend on the API
5383
+ };
5384
+
5385
+ /**
5386
+ * Get a paginated list of the signup forms in a profile.
5387
+
5388
+ Each form carries a reference to the template that renders it. Get the form details for a
5389
+ directly usable template URL and for the tags the form puts on the contacts it captures.
5390
+ */
5391
+ "reach_listFormsV1": {
5392
+ params: {
5393
+ /**
5394
+ * Profile uuid parameter
5395
+ */
5396
+ profileUuid: string;
5397
+ /**
5398
+ * Page number
5399
+ */
5400
+ page?: number;
5401
+ /**
5402
+ * Number of items per page
5403
+ */
5404
+ per_page?: number;
5405
+ };
5406
+ response: any; // Response structure will depend on the API
5407
+ };
5408
+
5257
5409
  /**
5258
5410
  * Retrieve the DNS configuration status for a profile's domain.
5259
5411
 
@@ -5270,6 +5422,25 @@ actual records found and the suggested records required for correct email delive
5270
5422
  response: any; // Response structure will depend on the API
5271
5423
  };
5272
5424
 
5425
+ /**
5426
+ * Get how much of the plan is left for the current period.
5427
+
5428
+ Two things to keep in mind before you build alerting on this. The period is a calendar month
5429
+ rather than a billing anniversary, so the counters reset on the 1st no matter when the
5430
+ subscription started. And usage is tracked per order, so every profile on the same order shares
5431
+ one pool and reports the same numbers here. Only the current period is available, past usage is
5432
+ not kept.
5433
+ */
5434
+ "reach_getRemainingPlanLimitsV1": {
5435
+ params: {
5436
+ /**
5437
+ * Profile uuid parameter
5438
+ */
5439
+ profileUuid: string;
5440
+ };
5441
+ response: any; // Response structure will depend on the API
5442
+ };
5443
+
5273
5444
  /**
5274
5445
  * This endpoint returns all profiles available to the client, including their basic information.
5275
5446
  */