Skip to content
VS Code

SSH Fleet for VS Code

io.github.inhuman/mcp-ssh-fleet

Curated ssh_probe diagnostics and single-host ssh_exec over an allowlisted SSH fleet.

client:VS Code transport:stdio runtime:oci

Install SSH Fleet in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ssh-fleet-transport",
      "description": "SSH_FLEET_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ssh-fleet-cmd-timeout-seconds",
      "description": "SSH_FLEET_CMD_TIMEOUT_SECONDS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ssh-fleet-output-cap-bytes",
      "description": "SSH_FLEET_OUTPUT_CAP_BYTES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ssh-fleet-probe-concurrency",
      "description": "SSH_FLEET_PROBE_CONCURRENCY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ssh-fleet-probe-max-hosts",
      "description": "SSH_FLEET_PROBE_MAX_HOSTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ssh-fleet-auth-token",
      "description": "SSH_FLEET_AUTH_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "mcp-ssh-fleet": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/inhuman/mcp-ssh-fleet:0.1.5"
      ],
      "env": {
        "SSH_FLEET_TRANSPORT": "${input:ssh-fleet-transport}",
        "SSH_FLEET_CMD_TIMEOUT_SECONDS": "${input:ssh-fleet-cmd-timeout-seconds}",
        "SSH_FLEET_OUTPUT_CAP_BYTES": "${input:ssh-fleet-output-cap-bytes}",
        "SSH_FLEET_PROBE_CONCURRENCY": "${input:ssh-fleet-probe-concurrency}",
        "SSH_FLEET_PROBE_MAX_HOSTS": "${input:ssh-fleet-probe-max-hosts}",
        "SSH_FLEET_AUTH_TOKEN": "${input:ssh-fleet-auth-token}"
      }
    }
  }
}

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

SSH Fleet in other clients