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 +15 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +29 -0
- package/src/core/tools/all.ts +29 -0
- package/src/core/tools/hosting.js +29 -0
- package/src/core/tools/hosting.ts +29 -0
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +23 -0
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 (
|
|
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` —
|
|
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.
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
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.
|
|
9
|
+
"version": "1.5.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.5.0",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
package/src/core/tools/all.js
CHANGED
|
@@ -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.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -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.",
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
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
|
|