vpsnet-mcp 1.0.7 → 1.0.9

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
@@ -184,7 +184,7 @@ Open Cline MCP settings and add to your `cline_mcp_settings.json`:
184
184
  Use the Codex CLI:
185
185
 
186
186
  ```bash
187
- codex mcp add vpsnet npx "vpsnet-mcp"
187
+ codex mcp add vpsnet --env VPSNET_API_KEY=your_api_key_here -- npx -y vpsnet-mcp
188
188
  ```
189
189
 
190
190
  Or edit `~/.codex/config.toml`:
@@ -192,10 +192,19 @@ Or edit `~/.codex/config.toml`:
192
192
  ```toml
193
193
  [mcp_servers.vpsnet]
194
194
  command = "npx"
195
- args = ["vpsnet-mcp"]
195
+ args = ["-y", "vpsnet-mcp"]
196
+
197
+ [mcp_servers.vpsnet.env]
198
+ VPSNET_API_KEY = "your_api_key_here"
199
+ ```
200
+
201
+ **If your system's default Node.js is older than 18** (common with nvm — check with `node --version`), wrap the command so nvm loads the right version:
202
+
203
+ ```bash
204
+ codex mcp add vpsnet --env VPSNET_API_KEY=your_api_key_here -- bash -lc 'source ~/.nvm/nvm.sh >/dev/null 2>&1 && nvm use --silent 20 && npx -y vpsnet-mcp'
196
205
  ```
197
206
 
198
- Set `VPSNET_API_KEY` in your shell environment before running Codex.
207
+ > **Note:** Codex requires network access to install packages via npx. If you run Codex in a restricted sandbox without network, npx installs will fail.
199
208
 
200
209
  </details>
201
210
 
@@ -433,6 +442,18 @@ For Claude Code extension, environment variables **must** be in the `env` object
433
442
  - Keys are shown only once at creation — if lost, create a new one
434
443
  - Check that the key hasn't expired (Account > API Keys)
435
444
 
445
+ ### `deploy_ssh_key` succeeded but SSH still fails
446
+
447
+ - All VPSnet.com servers use `root` as the SSH username
448
+ - Key deployment is async — wait 15-30 seconds after deploying before attempting SSH
449
+
450
+ ### `fetch is not defined` or unexpected errors
451
+
452
+ This server requires **Node.js 18+** (uses the built-in `fetch` API). If your default `node` is older (common with nvm setups), either:
453
+
454
+ - Set Node 18+ as default: `nvm alias default 20`
455
+ - Or use the nvm wrapper shown in the [Codex](#codex) section
456
+
436
457
  ## License
437
458
 
438
459
  [MIT](LICENSE)
package/build/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vpsnet-mcp",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "type": "module",
5
5
  "description": "MCP server for managing VPSnet.com virtual private servers",
6
6
  "bin": {