hostinger-api-mcp 0.1.3 → 0.1.4
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 +2 -2
- package/package.json +1 -1
- package/server.js +5 -5
- package/server.ts +5 -5
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
|
|
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",
|
|
@@ -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.94
|
|
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.4",
|
|
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.4';
|
|
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",
|
|
@@ -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.94
|
|
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.4",
|
|
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.4';
|
|
2837
2837
|
|
|
2838
2838
|
return headers;
|
|
2839
2839
|
}
|