# bastion-k8s-mcp

Source: https://glimind.com/server/npm%2Fbastion-k8s-mcp
Registry id: `npm/bastion-k8s-mcp`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "bastion-k8s-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bastion-k8s-mcp"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add bastion-k8s-mcp -- npx -y bastion-k8s-mcp
```

## Tools (12)

- `bastion_check`: Short Hop1 SSH probe (reachable / latencyMs; not kubectl)
- `bastion_exec`: Run shell on bastion
- `k8s_exec`: Run command in pod container
- `k8s_list_pods`: List pods (kubectl get pods)
- `k8s_logs`: Pod stdout/stderr (kubectl logs)
- `remote_copy_cancel`: Cancel async copy job
- `remote_copy_file`: Sync copy between local/bastion/pod/host (Hop1 SFTP: file/dir, skipIfComplete / totalTimeoutMs / progress)
- `remote_copy_start`: Async copy job — returns transferId immediately (prefer for >256MB or ETA>2min)
- `remote_copy_status`: Poll async copy job progress
- `remote_ps`: List processes on bastion/pod/host
- `remote_read_file`: Read file head/tail (mode=head|tail) on bastion/pod/host
- `ssh_exec`: SSH from bastion to remote host

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
