Skip to content
VS Code

VPS Ops for VS Code

io.github.koller-nexus/vps-ops-mcp

Stdio MCP server that inspects and (with confirmation) mutates one VPS over SSH.

client:VS Code transport:stdio runtime:npm

Install VPS Ops in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "vps-ssh-key-path",
      "description": "VPS_SSH_KEY_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vps-host",
      "description": "VPS_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vps-user",
      "description": "VPS_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vps-port",
      "description": "VPS_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vps-compose-dir",
      "description": "VPS_COMPOSE_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vps-command-timeout-ms",
      "description": "VPS_COMMAND_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vps-log-max-bytes",
      "description": "VPS_LOG_MAX_BYTES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vps-allow-mutations",
      "description": "VPS_ALLOW_MUTATIONS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vps-ssh-key-passphrase",
      "description": "VPS_SSH_KEY_PASSPHRASE",
      "password": true
    }
  ],
  "servers": {
    "vps-ops-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@koller-nexus/vps-ops-mcp"
      ],
      "env": {
        "VPS_SSH_KEY_PATH": "${input:vps-ssh-key-path}",
        "VPS_HOST": "${input:vps-host}",
        "VPS_USER": "${input:vps-user}",
        "VPS_PORT": "${input:vps-port}",
        "VPS_COMPOSE_DIR": "${input:vps-compose-dir}",
        "VPS_COMMAND_TIMEOUT_MS": "${input:vps-command-timeout-ms}",
        "VPS_LOG_MAX_BYTES": "${input:vps-log-max-bytes}",
        "VPS_ALLOW_MUTATIONS": "${input:vps-allow-mutations}",
        "VPS_SSH_KEY_PASSPHRASE": "${input:vps-ssh-key-passphrase}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

VPS Ops in other clients