hostinger-api-mcp 0.1.3 → 0.1.5
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 +6 -6
- package/package.json +1 -1
- package/server.js +9 -9
- package/server.ts +9 -9
package/README.md
CHANGED
|
@@ -680,7 +680,7 @@ Use this to inspect project settings, review the compose file, or check the over
|
|
|
680
680
|
- `virtualMachineId`: Virtual Machine ID (required)
|
|
681
681
|
- `projectName`: Docker Compose project name using alphanumeric characters, dashes, and underscores only (required)
|
|
682
682
|
|
|
683
|
-
###
|
|
683
|
+
### VPS_deleteProjectV1
|
|
684
684
|
|
|
685
685
|
Completely removes a Docker Compose project from the virtual machine, stopping all containers and cleaning up
|
|
686
686
|
associated resources including networks, volumes, and images.
|
|
@@ -712,7 +712,7 @@ Use this to get an overview of all Docker projects on your VPS instance.
|
|
|
712
712
|
|
|
713
713
|
- `virtualMachineId`: Virtual Machine ID (required)
|
|
714
714
|
|
|
715
|
-
###
|
|
715
|
+
### VPS_createNewProjectV1
|
|
716
716
|
|
|
717
717
|
Deploy new project from docker-compose.yaml contents or download contents from URL.
|
|
718
718
|
|
|
@@ -747,7 +747,7 @@ Use this for debugging, monitoring application behavior, and troubleshooting iss
|
|
|
747
747
|
- `virtualMachineId`: Virtual Machine ID (required)
|
|
748
748
|
- `projectName`: Docker Compose project name using alphanumeric characters, dashes, and underscores only (required)
|
|
749
749
|
|
|
750
|
-
###
|
|
750
|
+
### VPS_restartProjectV1
|
|
751
751
|
|
|
752
752
|
Restarts all services in a Docker Compose project by stopping and starting containers in the correct dependency order.
|
|
753
753
|
|
|
@@ -763,7 +763,7 @@ Use this to apply configuration changes or recover from service failures.
|
|
|
763
763
|
- `virtualMachineId`: Virtual Machine ID (required)
|
|
764
764
|
- `projectName`: Docker Compose project name using alphanumeric characters, dashes, and underscores only (required)
|
|
765
765
|
|
|
766
|
-
###
|
|
766
|
+
### VPS_startProjectV1
|
|
767
767
|
|
|
768
768
|
Starts all services in a Docker Compose project that are currently stopped.
|
|
769
769
|
|
|
@@ -779,7 +779,7 @@ Use this to resume a project that was previously stopped or to start services af
|
|
|
779
779
|
- `virtualMachineId`: Virtual Machine ID (required)
|
|
780
780
|
- `projectName`: Docker Compose project name using alphanumeric characters, dashes, and underscores only (required)
|
|
781
781
|
|
|
782
|
-
###
|
|
782
|
+
### VPS_stopProjectV1
|
|
783
783
|
|
|
784
784
|
Stops all running services in a Docker Compose project while preserving container configurations and data volumes.
|
|
785
785
|
|
|
@@ -795,7 +795,7 @@ Use this to temporarily halt a project without removing data or configurations.
|
|
|
795
795
|
- `virtualMachineId`: Virtual Machine ID (required)
|
|
796
796
|
- `projectName`: Docker Compose project name using alphanumeric characters, dashes, and underscores only (required)
|
|
797
797
|
|
|
798
|
-
###
|
|
798
|
+
### VPS_updateProjectV1
|
|
799
799
|
|
|
800
800
|
Updates a Docker Compose project by pulling the latest image versions and recreating containers with new configurations.
|
|
801
801
|
|
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -1103,7 +1103,7 @@ const TOOLS = [
|
|
|
1103
1103
|
]
|
|
1104
1104
|
},
|
|
1105
1105
|
{
|
|
1106
|
-
"name": "
|
|
1106
|
+
"name": "VPS_deleteProjectV1",
|
|
1107
1107
|
"description": "Completely removes a Docker Compose project from the virtual machine, stopping all containers and cleaning up \nassociated resources including networks, volumes, and images. \n\nThis operation is irreversible and will delete all project data. \n\nUse this when you want to permanently remove a project and free up system resources.",
|
|
1108
1108
|
"method": "DELETE",
|
|
1109
1109
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/down",
|
|
@@ -1154,7 +1154,7 @@ const TOOLS = [
|
|
|
1154
1154
|
]
|
|
1155
1155
|
},
|
|
1156
1156
|
{
|
|
1157
|
-
"name": "
|
|
1157
|
+
"name": "VPS_createNewProjectV1",
|
|
1158
1158
|
"description": "Deploy new project from docker-compose.yaml contents or download contents from URL. \n\nURL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to \ndocker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents.\n\nIf project already exists, it will be replaced.",
|
|
1159
1159
|
"method": "POST",
|
|
1160
1160
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker",
|
|
@@ -1215,7 +1215,7 @@ const TOOLS = [
|
|
|
1215
1215
|
]
|
|
1216
1216
|
},
|
|
1217
1217
|
{
|
|
1218
|
-
"name": "
|
|
1218
|
+
"name": "VPS_restartProjectV1",
|
|
1219
1219
|
"description": "Restarts all services in a Docker Compose project by stopping and starting containers in the correct dependency order. \n\nThis operation preserves data volumes and network configurations while refreshing the running containers. \n\nUse this to apply configuration changes or recover from service failures.",
|
|
1220
1220
|
"method": "POST",
|
|
1221
1221
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/restart",
|
|
@@ -1243,7 +1243,7 @@ const TOOLS = [
|
|
|
1243
1243
|
]
|
|
1244
1244
|
},
|
|
1245
1245
|
{
|
|
1246
|
-
"name": "
|
|
1246
|
+
"name": "VPS_startProjectV1",
|
|
1247
1247
|
"description": "Starts all services in a Docker Compose project that are currently stopped. \n\nThis operation brings up containers in the correct dependency order as defined in the compose file. \n\nUse this to resume a project that was previously stopped or to start services after a system reboot.",
|
|
1248
1248
|
"method": "POST",
|
|
1249
1249
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/start",
|
|
@@ -1271,7 +1271,7 @@ const TOOLS = [
|
|
|
1271
1271
|
]
|
|
1272
1272
|
},
|
|
1273
1273
|
{
|
|
1274
|
-
"name": "
|
|
1274
|
+
"name": "VPS_stopProjectV1",
|
|
1275
1275
|
"description": "Stops all running services in a Docker Compose project while preserving container configurations and data volumes. \n\nThis operation gracefully shuts down containers in reverse dependency order. \n\nUse this to temporarily halt a project without removing data or configurations.",
|
|
1276
1276
|
"method": "POST",
|
|
1277
1277
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/stop",
|
|
@@ -1299,7 +1299,7 @@ const TOOLS = [
|
|
|
1299
1299
|
]
|
|
1300
1300
|
},
|
|
1301
1301
|
{
|
|
1302
|
-
"name": "
|
|
1302
|
+
"name": "VPS_updateProjectV1",
|
|
1303
1303
|
"description": "Updates a Docker Compose project by pulling the latest image versions and recreating containers with new configurations. \n\nThis operation preserves data volumes while applying changes from the compose file. \n\nUse this to deploy application updates, apply configuration changes, or refresh container images to their latest versions.",
|
|
1304
1304
|
"method": "POST",
|
|
1305
1305
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/update",
|
|
@@ -2769,7 +2769,7 @@ const SECURITY_SCHEMES = {
|
|
|
2769
2769
|
|
|
2770
2770
|
/**
|
|
2771
2771
|
* MCP Server for Hostinger API
|
|
2772
|
-
* Generated from OpenAPI spec version 0.0.
|
|
2772
|
+
* Generated from OpenAPI spec version 0.0.95
|
|
2773
2773
|
*/
|
|
2774
2774
|
class MCPServer {
|
|
2775
2775
|
constructor() {
|
|
@@ -2787,7 +2787,7 @@ class MCPServer {
|
|
|
2787
2787
|
this.server = new Server(
|
|
2788
2788
|
{
|
|
2789
2789
|
name: "hostinger-api-mcp",
|
|
2790
|
-
version: "0.1.
|
|
2790
|
+
version: "0.1.5",
|
|
2791
2791
|
},
|
|
2792
2792
|
{
|
|
2793
2793
|
capabilities: {
|
|
@@ -2812,7 +2812,7 @@ class MCPServer {
|
|
|
2812
2812
|
});
|
|
2813
2813
|
}
|
|
2814
2814
|
|
|
2815
|
-
headers['User-Agent'] = 'hostinger-mcp-server/0.1.
|
|
2815
|
+
headers['User-Agent'] = 'hostinger-mcp-server/0.1.5';
|
|
2816
2816
|
|
|
2817
2817
|
return headers;
|
|
2818
2818
|
}
|
package/server.ts
CHANGED
|
@@ -1120,7 +1120,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1120
1120
|
]
|
|
1121
1121
|
},
|
|
1122
1122
|
{
|
|
1123
|
-
"name": "
|
|
1123
|
+
"name": "VPS_deleteProjectV1",
|
|
1124
1124
|
"description": "Completely removes a Docker Compose project from the virtual machine, stopping all containers and cleaning up \nassociated resources including networks, volumes, and images. \n\nThis operation is irreversible and will delete all project data. \n\nUse this when you want to permanently remove a project and free up system resources.",
|
|
1125
1125
|
"method": "DELETE",
|
|
1126
1126
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/down",
|
|
@@ -1171,7 +1171,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1171
1171
|
]
|
|
1172
1172
|
},
|
|
1173
1173
|
{
|
|
1174
|
-
"name": "
|
|
1174
|
+
"name": "VPS_createNewProjectV1",
|
|
1175
1175
|
"description": "Deploy new project from docker-compose.yaml contents or download contents from URL. \n\nURL can be Github repository url in format https://github.com/[user]/[repo] and it will be automatically resolved to \ndocker-compose.yaml file in master branch. Any other URL provided must return docker-compose.yaml file contents.\n\nIf project already exists, it will be replaced.",
|
|
1176
1176
|
"method": "POST",
|
|
1177
1177
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker",
|
|
@@ -1232,7 +1232,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1232
1232
|
]
|
|
1233
1233
|
},
|
|
1234
1234
|
{
|
|
1235
|
-
"name": "
|
|
1235
|
+
"name": "VPS_restartProjectV1",
|
|
1236
1236
|
"description": "Restarts all services in a Docker Compose project by stopping and starting containers in the correct dependency order. \n\nThis operation preserves data volumes and network configurations while refreshing the running containers. \n\nUse this to apply configuration changes or recover from service failures.",
|
|
1237
1237
|
"method": "POST",
|
|
1238
1238
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/restart",
|
|
@@ -1260,7 +1260,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1260
1260
|
]
|
|
1261
1261
|
},
|
|
1262
1262
|
{
|
|
1263
|
-
"name": "
|
|
1263
|
+
"name": "VPS_startProjectV1",
|
|
1264
1264
|
"description": "Starts all services in a Docker Compose project that are currently stopped. \n\nThis operation brings up containers in the correct dependency order as defined in the compose file. \n\nUse this to resume a project that was previously stopped or to start services after a system reboot.",
|
|
1265
1265
|
"method": "POST",
|
|
1266
1266
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/start",
|
|
@@ -1288,7 +1288,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1288
1288
|
]
|
|
1289
1289
|
},
|
|
1290
1290
|
{
|
|
1291
|
-
"name": "
|
|
1291
|
+
"name": "VPS_stopProjectV1",
|
|
1292
1292
|
"description": "Stops all running services in a Docker Compose project while preserving container configurations and data volumes. \n\nThis operation gracefully shuts down containers in reverse dependency order. \n\nUse this to temporarily halt a project without removing data or configurations.",
|
|
1293
1293
|
"method": "POST",
|
|
1294
1294
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/stop",
|
|
@@ -1316,7 +1316,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1316
1316
|
]
|
|
1317
1317
|
},
|
|
1318
1318
|
{
|
|
1319
|
-
"name": "
|
|
1319
|
+
"name": "VPS_updateProjectV1",
|
|
1320
1320
|
"description": "Updates a Docker Compose project by pulling the latest image versions and recreating containers with new configurations. \n\nThis operation preserves data volumes while applying changes from the compose file. \n\nUse this to deploy application updates, apply configuration changes, or refresh container images to their latest versions.",
|
|
1321
1321
|
"method": "POST",
|
|
1322
1322
|
"path": "/api/vps/v1/virtual-machines/{virtualMachineId}/docker/{projectName}/update",
|
|
@@ -2786,7 +2786,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
|
|
|
2786
2786
|
|
|
2787
2787
|
/**
|
|
2788
2788
|
* MCP Server for Hostinger API
|
|
2789
|
-
* Generated from OpenAPI spec version 0.0.
|
|
2789
|
+
* Generated from OpenAPI spec version 0.0.95
|
|
2790
2790
|
*/
|
|
2791
2791
|
class MCPServer {
|
|
2792
2792
|
private server: Server;
|
|
@@ -2808,7 +2808,7 @@ class MCPServer {
|
|
|
2808
2808
|
this.server = new Server(
|
|
2809
2809
|
{
|
|
2810
2810
|
name: "hostinger-api-mcp",
|
|
2811
|
-
version: "0.1.
|
|
2811
|
+
version: "0.1.5",
|
|
2812
2812
|
},
|
|
2813
2813
|
{
|
|
2814
2814
|
capabilities: {
|
|
@@ -2833,7 +2833,7 @@ class MCPServer {
|
|
|
2833
2833
|
});
|
|
2834
2834
|
}
|
|
2835
2835
|
|
|
2836
|
-
headers['User-Agent'] = 'hostinger-mcp-server/0.1.
|
|
2836
|
+
headers['User-Agent'] = 'hostinger-mcp-server/0.1.5';
|
|
2837
2837
|
|
|
2838
2838
|
return headers;
|
|
2839
2839
|
}
|