hostinger-api-mcp 1.38.1 → 1.39.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/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '1.38.1', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.39.0', 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: '1.38.1', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.39.0', 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: '1.38.1', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.39.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.38.1', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.39.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.38.1', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.39.0', tools });
package/types.d.ts CHANGED
@@ -344,6 +344,109 @@ archive types: .zip, .tar, .tar.gz, .tgz.
344
344
  response: any; // Response structure will depend on the API
345
345
  };
346
346
 
347
+ /**
348
+ * Lists every PHP extension available to an Agency Plan website and whether it is currently enabled.
349
+ */
350
+ "agency-hosting_listPHPExtensionsForAWebsiteV1": {
351
+ params: {
352
+ /**
353
+ * Agency Plan website UID
354
+ */
355
+ website_uid: string;
356
+ };
357
+ response: any; // Response structure will depend on the API
358
+ };
359
+
360
+ /**
361
+ * Replaces the set of PHP extensions enabled on an Agency Plan website with the ones provided. Any toggleable extension not in the request is disabled, so call the extensions endpoint first and send the full desired set. Extensions compiled into PHP, reported with the "built-in" state, are always active and are unaffected.
362
+ */
363
+ "agency-hosting_replaceWebsitePHPExtensionsV1": {
364
+ params: {
365
+ /**
366
+ * Agency Plan website UID
367
+ */
368
+ website_uid: string;
369
+ /**
370
+ * Extension names, exactly as returned by the extensions endpoint.
371
+ */
372
+ extensions: array;
373
+ };
374
+ response: any; // Response structure will depend on the API
375
+ };
376
+
377
+ /**
378
+ * Lists the php.ini directives that can be configured for an Agency Plan website, each with its default, the value currently in effect, and the values it accepts.
379
+ */
380
+ "agency-hosting_listPHPOptionsForAWebsiteV1": {
381
+ params: {
382
+ /**
383
+ * Agency Plan website UID
384
+ */
385
+ website_uid: string;
386
+ };
387
+ response: any; // Response structure will depend on the API
388
+ };
389
+
390
+ /**
391
+ * Replaces the custom php.ini values on an Agency Plan website with the ones provided. Any option not in the request is reset to its default, so call the options endpoint first and send the full desired set. Sending an empty array resets every option to its default.
392
+ */
393
+ "agency-hosting_replaceWebsitePHPOptionsV1": {
394
+ params: {
395
+ /**
396
+ * Agency Plan website UID
397
+ */
398
+ website_uid: string;
399
+ /**
400
+ * Option names and values. Each name must be one of the options returned by the options endpoint, and each value must satisfy that option's allowed_values when it declares them.
401
+ */
402
+ options: array;
403
+ };
404
+ response: any; // Response structure will depend on the API
405
+ };
406
+
407
+ /**
408
+ * Lists the PHP versions available to websites created under an Agency Plan order, determined by the server the order is hosted on. Use this before creating a website; for a website that already exists, call the website-scoped versions endpoint instead.
409
+ */
410
+ "agency-hosting_listAvailablePHPVersionsForAnOrderV1": {
411
+ params: {
412
+ /**
413
+ * Agency Plan order ID
414
+ */
415
+ order_id: number;
416
+ };
417
+ response: any; // Response structure will depend on the API
418
+ };
419
+
420
+ /**
421
+ * Lists the PHP versions an Agency Plan website can be switched to. The version the website is currently running is returned as settings.php.version by the website details endpoint.
422
+ */
423
+ "agency-hosting_listAvailablePHPVersionsForAWebsiteV1": {
424
+ params: {
425
+ /**
426
+ * Agency Plan website UID
427
+ */
428
+ website_uid: string;
429
+ };
430
+ response: any; // Response structure will depend on the API
431
+ };
432
+
433
+ /**
434
+ * Switches an Agency Plan website to a different PHP version. Call the available versions endpoint first to see which versions can be selected. The website restarts on the new version, so requests served during the switch may fail and code that is incompatible with the target version will break.
435
+ */
436
+ "agency-hosting_updateWebsitePHPVersionV1": {
437
+ params: {
438
+ /**
439
+ * Agency Plan website UID
440
+ */
441
+ website_uid: string;
442
+ /**
443
+ * PHP version to switch the website to, as major.minor. Must be one of the versions returned by the available versions endpoint.
444
+ */
445
+ version: string;
446
+ };
447
+ response: any; // Response structure will depend on the API
448
+ };
449
+
347
450
  /**
348
451
  * Provisions a new website on one of your Agency Plan hosting orders.
349
452