hostinger-api-mcp 1.49.0 → 1.51.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.
Files changed (55) hide show
  1. package/README.md +13 -2
  2. package/gemini-extension.json +1 -1
  3. package/package.json +1 -1
  4. package/server.json +2 -2
  5. package/src/core/runtime.js +3 -1
  6. package/src/core/runtime.ts +3 -1
  7. package/src/core/tools/agency-hosting.js +239 -0
  8. package/src/core/tools/agency-hosting.ts +239 -0
  9. package/src/core/tools/all.js +2367 -0
  10. package/src/core/tools/all.ts +2367 -0
  11. package/src/core/tools/billing.js +57 -0
  12. package/src/core/tools/billing.ts +57 -0
  13. package/src/core/tools/dns.js +50 -0
  14. package/src/core/tools/dns.ts +50 -0
  15. package/src/core/tools/domains.js +255 -0
  16. package/src/core/tools/domains.ts +255 -0
  17. package/src/core/tools/ecommerce.js +180 -0
  18. package/src/core/tools/ecommerce.ts +180 -0
  19. package/src/core/tools/horizons.js +12 -0
  20. package/src/core/tools/horizons.ts +12 -0
  21. package/src/core/tools/hosting.js +365 -0
  22. package/src/core/tools/hosting.ts +365 -0
  23. package/src/core/tools/mail.js +239 -0
  24. package/src/core/tools/mail.ts +239 -0
  25. package/src/core/tools/reach.js +306 -0
  26. package/src/core/tools/reach.ts +306 -0
  27. package/src/core/tools/vps.js +432 -0
  28. package/src/core/tools/vps.ts +432 -0
  29. package/src/core/tools/wordpress.js +232 -0
  30. package/src/core/tools/wordpress.ts +232 -0
  31. package/src/servers/agency-hosting.js +1 -1
  32. package/src/servers/agency-hosting.ts +1 -1
  33. package/src/servers/all.js +1 -1
  34. package/src/servers/all.ts +1 -1
  35. package/src/servers/billing.js +1 -1
  36. package/src/servers/billing.ts +1 -1
  37. package/src/servers/dns.js +1 -1
  38. package/src/servers/dns.ts +1 -1
  39. package/src/servers/domains.js +1 -1
  40. package/src/servers/domains.ts +1 -1
  41. package/src/servers/ecommerce.js +1 -1
  42. package/src/servers/ecommerce.ts +1 -1
  43. package/src/servers/horizons.js +1 -1
  44. package/src/servers/horizons.ts +1 -1
  45. package/src/servers/hosting.js +1 -1
  46. package/src/servers/hosting.ts +1 -1
  47. package/src/servers/mail.js +1 -1
  48. package/src/servers/mail.ts +1 -1
  49. package/src/servers/reach.js +1 -1
  50. package/src/servers/reach.ts +1 -1
  51. package/src/servers/vps.js +1 -1
  52. package/src/servers/vps.ts +1 -1
  53. package/src/servers/wordpress.js +1 -1
  54. package/src/servers/wordpress.ts +1 -1
  55. package/types.d.ts +25 -0
@@ -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.49.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.51.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.49.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.51.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.49.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.51.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.49.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.51.0', tools });
package/types.d.ts CHANGED
@@ -6906,6 +6906,31 @@ Use this endpoint to remove specific firewall rules.
6906
6906
  response: any; // Response structure will depend on the API
6907
6907
  };
6908
6908
 
6909
+ /**
6910
+ * Replaces all firewall rules within a specified firewall group with the provided set of rules
6911
+ in a single atomic operation, instead of creating or deleting rules one by one.
6912
+
6913
+ Any virtual machine using this firewall group will need to be synchronized after replacing rules;
6914
+ pass the "sync" query parameter to trigger synchronization immediately.
6915
+ */
6916
+ "VPS_replaceAllFirewallRulesInGroupV1": {
6917
+ params: {
6918
+ /**
6919
+ * Firewall ID
6920
+ */
6921
+ firewallId: number;
6922
+ /**
6923
+ * Synchronize the firewall group to all its virtual machines after replacing the rules
6924
+ */
6925
+ sync?: boolean;
6926
+ /**
6927
+ * The complete set of firewall rules that atomically replaces all existing rules in the group
6928
+ */
6929
+ rules: array;
6930
+ };
6931
+ response: any; // Response structure will depend on the API
6932
+ };
6933
+
6909
6934
  /**
6910
6935
  * Create new firewall rule for a specified firewall.
6911
6936