hostinger-api-mcp 1.4.0 → 1.5.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.
package/README.md CHANGED
@@ -49,13 +49,13 @@ pnpm update -g hostinger-api-mcp
49
49
 
50
50
  This package installs the following MCP server commands:
51
51
 
52
- - `hostinger-api-mcp` — unified server with every tool (202 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (203 total)
53
53
  - `hostinger-billing-mcp` — 7 tools for billing
54
54
  - `hostinger-dns-mcp` — 8 tools for dns
55
55
  - `hostinger-domains-mcp` — 18 tools for domains
56
56
  - `hostinger-ecommerce-mcp` — 12 tools for ecommerce
57
57
  - `hostinger-horizons-mcp` — 2 tools for horizons
58
- - `hostinger-hosting-mcp` — 46 tools for hosting
58
+ - `hostinger-hosting-mcp` — 47 tools for hosting
59
59
  - `hostinger-reach-mcp` — 12 tools for reach
60
60
  - `hostinger-vps-mcp` — 62 tools for vps
61
61
  - `hostinger-wordpress-mcp` — 35 tools for wordpress
@@ -1055,6 +1055,19 @@ Log content may contain ANSI escape sequences (color codes).
1055
1055
  - **Method**: `GET`
1056
1056
  - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs`
1057
1057
 
1058
+ #### hosting_restartNode.jsApplicationV1
1059
+
1060
+ Restarts the Node.js server process for the website. Does not rebuild or redeploy the
1061
+ application. Use it to apply environment or configuration changes, or to recover a hung
1062
+ application.
1063
+
1064
+ Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static
1065
+ front-end apps (React, Vue, Vite) have no persistent server process, so restarting them
1066
+ has no effect. Returns success even when the website has no server process to restart.
1067
+
1068
+ - **Method**: `POST`
1069
+ - **Path**: `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart`
1070
+
1058
1071
  #### hosting_listOrdersV1
1059
1072
 
1060
1073
  Retrieve a paginated list of orders accessible to the authenticated client.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
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.4.0",
3
+ "version": "1.5.0",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
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.4.0",
9
+ "version": "1.5.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.4.0",
14
+ "version": "1.5.0",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
@@ -29,7 +29,7 @@ const SECURITY_SCHEMES = {
29
29
 
30
30
  /**
31
31
  * MCP Server for Hostinger API
32
- * Generated from OpenAPI spec version 1.4.0
32
+ * Generated from OpenAPI spec version 1.5.0
33
33
  */
34
34
  class MCPServer {
35
35
  constructor({ name, version, tools }) {
@@ -47,7 +47,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
47
47
 
48
48
  /**
49
49
  * MCP Server for Hostinger API
50
- * Generated from OpenAPI spec version 1.4.0
50
+ * Generated from OpenAPI spec version 1.5.0
51
51
  */
52
52
  class MCPServer {
53
53
  private readonly name: string;
@@ -2755,6 +2755,35 @@ export default [
2755
2755
  ],
2756
2756
  "group": "hosting"
2757
2757
  },
2758
+ {
2759
+ "name": "hosting_restartNode.jsApplicationV1",
2760
+ "description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
2761
+ "method": "POST",
2762
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
2763
+ "inputSchema": {
2764
+ "type": "object",
2765
+ "properties": {
2766
+ "username": {
2767
+ "type": "string",
2768
+ "description": "username parameter"
2769
+ },
2770
+ "domain": {
2771
+ "type": "string",
2772
+ "description": "Domain name"
2773
+ }
2774
+ },
2775
+ "required": [
2776
+ "username",
2777
+ "domain"
2778
+ ]
2779
+ },
2780
+ "security": [
2781
+ {
2782
+ "apiToken": []
2783
+ }
2784
+ ],
2785
+ "group": "hosting"
2786
+ },
2758
2787
  {
2759
2788
  "name": "hosting_listOrdersV1",
2760
2789
  "description": "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.",
@@ -2765,6 +2765,35 @@ const tools: OpenApiTool[] = [
2765
2765
  ],
2766
2766
  "group": "hosting"
2767
2767
  },
2768
+ {
2769
+ "name": "hosting_restartNode.jsApplicationV1",
2770
+ "description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
2771
+ "method": "POST",
2772
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
2773
+ "inputSchema": {
2774
+ "type": "object",
2775
+ "properties": {
2776
+ "username": {
2777
+ "type": "string",
2778
+ "description": "username parameter"
2779
+ },
2780
+ "domain": {
2781
+ "type": "string",
2782
+ "description": "Domain name"
2783
+ }
2784
+ },
2785
+ "required": [
2786
+ "username",
2787
+ "domain"
2788
+ ]
2789
+ },
2790
+ "security": [
2791
+ {
2792
+ "apiToken": []
2793
+ }
2794
+ ],
2795
+ "group": "hosting"
2796
+ },
2768
2797
  {
2769
2798
  "name": "hosting_listOrdersV1",
2770
2799
  "description": "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.",
@@ -1267,6 +1267,35 @@ export default [
1267
1267
  ],
1268
1268
  "group": "hosting"
1269
1269
  },
1270
+ {
1271
+ "name": "hosting_restartNode.jsApplicationV1",
1272
+ "description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
1273
+ "method": "POST",
1274
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
1275
+ "inputSchema": {
1276
+ "type": "object",
1277
+ "properties": {
1278
+ "username": {
1279
+ "type": "string",
1280
+ "description": "username parameter"
1281
+ },
1282
+ "domain": {
1283
+ "type": "string",
1284
+ "description": "Domain name"
1285
+ }
1286
+ },
1287
+ "required": [
1288
+ "username",
1289
+ "domain"
1290
+ ]
1291
+ },
1292
+ "security": [
1293
+ {
1294
+ "apiToken": []
1295
+ }
1296
+ ],
1297
+ "group": "hosting"
1298
+ },
1270
1299
  {
1271
1300
  "name": "hosting_listOrdersV1",
1272
1301
  "description": "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.",
@@ -1277,6 +1277,35 @@ const tools: OpenApiTool[] = [
1277
1277
  ],
1278
1278
  "group": "hosting"
1279
1279
  },
1280
+ {
1281
+ "name": "hosting_restartNode.jsApplicationV1",
1282
+ "description": "Restarts the Node.js server process for the website. Does not rebuild or redeploy the\napplication. Use it to apply environment or configuration changes, or to recover a hung\napplication.\n\nOnly applicable to server-side applications (Express, Next.js, NestJS, etc.). Static\nfront-end apps (React, Vue, Vite) have no persistent server process, so restarting them\nhas no effect. Returns success even when the website has no server process to restart.",
1283
+ "method": "POST",
1284
+ "path": "/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart",
1285
+ "inputSchema": {
1286
+ "type": "object",
1287
+ "properties": {
1288
+ "username": {
1289
+ "type": "string",
1290
+ "description": "username parameter"
1291
+ },
1292
+ "domain": {
1293
+ "type": "string",
1294
+ "description": "Domain name"
1295
+ }
1296
+ },
1297
+ "required": [
1298
+ "username",
1299
+ "domain"
1300
+ ]
1301
+ },
1302
+ "security": [
1303
+ {
1304
+ "apiToken": []
1305
+ }
1306
+ ],
1307
+ "group": "hosting"
1308
+ },
1280
1309
  {
1281
1310
  "name": "hosting_listOrdersV1",
1282
1311
  "description": "Retrieve a paginated list of orders accessible to the authenticated client.\n\nThis endpoint returns orders of your hosting accounts as well as orders\nof other client hosting accounts that have shared access with you.\n\nUse the available query parameters to filter results by order statuses\nor specific order IDs for more targeted results.",
@@ -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.4.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.5.0', 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.4.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.5.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.4.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.5.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.4.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.5.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.4.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.5.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.4.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.5.0', tools });
package/types.d.ts CHANGED
@@ -1828,6 +1828,29 @@ Log content may contain ANSI escape sequences (color codes).
1828
1828
  response: any; // Response structure will depend on the API
1829
1829
  };
1830
1830
 
1831
+ /**
1832
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the
1833
+ application. Use it to apply environment or configuration changes, or to recover a hung
1834
+ application.
1835
+
1836
+ Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static
1837
+ front-end apps (React, Vue, Vite) have no persistent server process, so restarting them
1838
+ has no effect. Returns success even when the website has no server process to restart.
1839
+ */
1840
+ "hosting_restartNode.jsApplicationV1": {
1841
+ params: {
1842
+ /**
1843
+ * username parameter
1844
+ */
1845
+ username: string;
1846
+ /**
1847
+ * Domain name
1848
+ */
1849
+ domain: string;
1850
+ };
1851
+ response: any; // Response structure will depend on the API
1852
+ };
1853
+
1831
1854
  /**
1832
1855
  * Retrieve a paginated list of orders accessible to the authenticated client.
1833
1856