hostinger-api-mcp 1.6.1 → 1.6.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
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-api-mcp",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
@@ -40,7 +40,7 @@
40
40
  "axios": "^1.8.0",
41
41
  "cors": "^2.8.5",
42
42
  "dotenv": "^17.4.2",
43
- "express": "^4.21.2",
43
+ "express": "^5.2.1",
44
44
  "minimist": "^1.2.8",
45
45
  "tus-js-client": "^4.1.0"
46
46
  },
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/hostinger/api-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "1.6.1",
9
+ "version": "1.6.2",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.6.1",
14
+ "version": "1.6.2",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
@@ -2016,7 +2016,7 @@ class MCPServer {
2016
2016
  });
2017
2017
 
2018
2018
  // Set up CORS for all routes
2019
- app.options("*", (req, res) => {
2019
+ app.options("/{*splat}", (req, res) => {
2020
2020
  res.header("Access-Control-Allow-Origin", "*");
2021
2021
  res.header("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS");
2022
2022
  res.header("Access-Control-Allow-Headers", "Content-Type, Authorization, x-session-id");
@@ -2059,7 +2059,7 @@ class MCPServer {
2059
2059
  });
2060
2060
 
2061
2061
  // Set up CORS for all routes
2062
- app.options("*", (req, res) => {
2062
+ app.options("/{*splat}", (req, res) => {
2063
2063
  res.header("Access-Control-Allow-Origin", "*");
2064
2064
  res.header("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS");
2065
2065
  res.header("Access-Control-Allow-Headers", "Content-Type, Authorization, x-session-id");
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.6.2', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.6.2', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.6.2', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.6.2', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.6.2', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.6.2', 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: '1.6.1', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.6.2', 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.6.1', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.6.2', 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.6.1', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.6.2', 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.6.1', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.6.2', 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.6.1', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.6.2', tools });