vpsnet-mcp 1.0.1 → 1.0.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.
- package/README.md +5 -5
- package/build/index.js +3 -3
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# vpsnet-mcp
|
|
2
2
|
|
|
3
|
-
[Model Context Protocol](https://modelcontextprotocol.io) (MCP) server for managing [
|
|
3
|
+
[Model Context Protocol](https://modelcontextprotocol.io) (MCP) server for managing [VPSnet.com](https://www.vpsnet.com) virtual private servers. Gives AI assistants full control over your VPS infrastructure — start/stop servers, change plans, manage DNS, deploy SSH keys, order new servers, and more.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- **49 tools** covering the entire
|
|
7
|
+
- **49 tools** covering the entire VPSnet.com API
|
|
8
8
|
- Account & profile management
|
|
9
9
|
- VPS lifecycle (start, stop, restart, reinstall OS)
|
|
10
10
|
- Plan changes (free upgrades/downgrades)
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
## Requirements
|
|
18
18
|
|
|
19
19
|
- Node.js 18 or newer
|
|
20
|
-
- A [
|
|
20
|
+
- A [VPSnet.com](https://www.vpsnet.com) account with an API key
|
|
21
21
|
|
|
22
22
|
## Getting started
|
|
23
23
|
|
|
@@ -171,7 +171,7 @@ Follow the [Windsurf MCP documentation](https://docs.windsurf.com/windsurf/mcp).
|
|
|
171
171
|
|
|
172
172
|
| Variable | Required | Description |
|
|
173
173
|
|----------|----------|-------------|
|
|
174
|
-
| `VPSNET_API_KEY` | Yes | Your
|
|
174
|
+
| `VPSNET_API_KEY` | Yes | Your VPSnet.com API key |
|
|
175
175
|
| `VPSNET_API_URL` | No | API base URL (defaults to `https://api.vpsnet.com`) |
|
|
176
176
|
|
|
177
177
|
## Tools
|
|
@@ -274,7 +274,7 @@ Follow the [Windsurf MCP documentation](https://docs.windsurf.com/windsurf/mcp).
|
|
|
274
274
|
| Tool | Description |
|
|
275
275
|
|------|-------------|
|
|
276
276
|
| `get_pricing` | Get public pricing |
|
|
277
|
-
| `get_system_status` | Get
|
|
277
|
+
| `get_system_status` | Get VPSnet.com system status |
|
|
278
278
|
| `get_faq` | Get frequently asked questions |
|
|
279
279
|
|
|
280
280
|
## Getting an API key
|
package/build/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { z } from "zod";
|
|
|
5
5
|
import { apiRequest, formatJson } from "./api.js";
|
|
6
6
|
const server = new McpServer({ name: "vpsnet", version: "1.0.0" }, {
|
|
7
7
|
instructions: [
|
|
8
|
-
"This MCP server controls VPS (Virtual Private Server) services on
|
|
8
|
+
"This MCP server controls VPS (Virtual Private Server) services on VPSnet.com.",
|
|
9
9
|
"It manages VPS servers ONLY — not VDS or Dedicated Servers.",
|
|
10
10
|
"",
|
|
11
11
|
"## Ordering a new VPS",
|
|
@@ -644,7 +644,7 @@ server.registerTool("get_pricing", {
|
|
|
644
644
|
return { content: [{ type: "text", text: formatJson(data) }] };
|
|
645
645
|
});
|
|
646
646
|
server.registerTool("get_system_status", {
|
|
647
|
-
description: "Get
|
|
647
|
+
description: "Get VPSnet.com system status",
|
|
648
648
|
inputSchema: {},
|
|
649
649
|
}, async () => {
|
|
650
650
|
const { data } = await apiRequest("GET", "/public/status");
|
|
@@ -661,7 +661,7 @@ server.registerTool("get_faq", {
|
|
|
661
661
|
async function main() {
|
|
662
662
|
const transport = new StdioServerTransport();
|
|
663
663
|
await server.connect(transport);
|
|
664
|
-
console.error("
|
|
664
|
+
console.error("VPSnet MCP server running");
|
|
665
665
|
}
|
|
666
666
|
main().catch((error) => {
|
|
667
667
|
console.error("Fatal error:", error);
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vpsnet-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "MCP server for managing
|
|
5
|
+
"description": "MCP server for managing VPSnet.com virtual private servers",
|
|
6
6
|
"bin": {
|
|
7
7
|
"vpsnet-mcp": "./build/index.js"
|
|
8
8
|
},
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
"dev": "tsc --watch",
|
|
12
12
|
"prepublishOnly": "npm run build"
|
|
13
13
|
},
|
|
14
|
-
"files": [
|
|
14
|
+
"files": [
|
|
15
|
+
"build"
|
|
16
|
+
],
|
|
15
17
|
"repository": "github:bacarrdy/vpsnet-mcp",
|
|
16
18
|
"homepage": "https://github.com/bacarrdy/vpsnet-mcp",
|
|
17
19
|
"author": "bacarrdy",
|