# io.github.the-nine-nation/remote-ssh-mcp (npm · @zyluo/remote-ssh-mcp)

Persistent stateful remote SSH sessions for AI agents via MCP + OpenSSH.

- Trust score: 66/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-07

## Components

- npm · `@zyluo/remote-ssh-mcp`: 66/100 (this document), [markdown](https://verifymcp.io/servers/the-nine-nation-remote-ssh-mcp/zyluo-remote-ssh-mcp.md), [page](https://verifymcp.io/servers/the-nine-nation-remote-ssh-mcp/zyluo-remote-ssh-mcp)

## Channel facts

- Registry: `npm`
- Package: `@zyluo/remote-ssh-mcp`
- Version: `0.2.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-07.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 0 of 3 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 0 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 895 tokens (~127/item across 7 items; 7 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 67/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add the-nine-nation-remote-ssh-mcp -- npx -y @zyluo/remote-ssh-mcp
```

### Codex

```bash
codex mcp add the-nine-nation-remote-ssh-mcp -- npx -y @zyluo/remote-ssh-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "the-nine-nation-remote-ssh-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@zyluo/remote-ssh-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add the-nine-nation-remote-ssh-mcp --command npx --arg -y --arg @zyluo/remote-ssh-mcp
```

### Hermes

```yaml
mcp_servers:
  the-nine-nation-remote-ssh-mcp:
    command: "npx"
    args: ["-y", "@zyluo/remote-ssh-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "the-nine-nation-remote-ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zyluo/remote-ssh-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-07 (score 66, +3)

- [functional improvement] Dependency health: 0.00 → 1.00

### 2026-08-06 (score 63, +43)

- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] MCP protocol: unverified → pass
- [functional] First check of Tool coverage: 0
- [functional] First check of Schema quality: excellent
- [functional] First check of Schema quality: fail
- [functional] First check of Schema quality: fail

### 2026-08-05 (score 20)

First indexed and scored.

## MCP tools (7)

### `ssh_hosts` (~94 tokens)

List allowed SSH Host aliases

List allowed OpenSSH Host aliases discovered from the local ssh_config (and explicit allowlist). Returns only safe connection metadata: alias, hostname, user, port, proxy_jump. Never returns private keys, IdentityFile paths, agent sockets, or ProxyCommand. Pass reload=true after editing ~/.ssh/config to re-parse without restarting the MCP server. Use an alias from this list with ssh_open.

Input parameters:

- `reload` (boolean)

### `ssh_open` (~82 tokens)

Open persistent SSH session

Open a new persistent remote bash shell for an allowed ssh_config Host alias from ssh_hosts. Each call creates a clean session with a new id. Credentials come only from local OpenSSH configuration/agent; passwords and private keys are never accepted as arguments and must not be read from disk by the model.

Input parameters:

- `host` (string, required)
- `name` (string)

### `ssh_run` (~189 tokens)

Run command in persistent SSH session

Start a non-interactive command in the same persistent shell identified by id. cwd and environment changes persist. The call waits at most wait_sec (default 10 seconds); if the command is still active it returns status=running without stopping it. Commands have no automatic execution timeout by default. Only an explicitly provided timeout_sec sends Ctrl-C at that deadline. Never retry a running command: poll with ssh_peek(wait_sec=...) so the MCP call blocks until idle or the wait expires; do not spam peeks with wait_sec=0. Call ssh_interrupt to stop it, or open another session for concurrent work. Only one foreground command may run per id. Do not use vim, top, password prompts, or other interactive TUI/input flows.

Input parameters:

- `command` (string, required)
- `id` (string, required)
- `timeout_sec` (number)
- `wait_sec` (number)

### `ssh_peek` (~149 tokens)

Peek at SSH command output

Observe the current foreground command and its latest output without starting another command. When status=running, optional wait_sec (default 0) long-polls this MCP call until the command finishes or the wait expires—prefer a positive wait_sec over busy-looping. wait_sec never stops the remote command. Returns the newest lines in chronological order, limited independently for stdout and stderr; lines defaults to 50 and is capped to protect model context. Use after ssh_run returns status=running. When idle, returns immediately with cwd, last exit code, and the latest lines from the completed command.

Input parameters:

- `id` (string, required)
- `lines` (integer)
- `wait_sec` (number)

### `ssh_interrupt` (~50 tokens)

Interrupt SSH foreground command

Send Ctrl-C to the current foreground process group and wait for the shell protocol to recover. The session is kept only when recovery is confirmed. Returns nothing_to_interrupt when idle.

Input parameters:

- `id` (string, required)

### `ssh_list` (~46 tokens)

List persistent SSH sessions

List all live sessions with host, cwd, state, last exit code, idle time, idle-reap countdown, and connection capacity. Use this to recover valid ids; never invent one.

### `ssh_close` (~47 tokens)

Close persistent SSH session

Close the remote shell and SSH connection, clean its private temporary directory, and invalidate the id. Close a dirty session and call ssh_open for a clean environment.

Input parameters:

- `id` (string, required)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/the-nine-nation-remote-ssh-mcp/zyluo-remote-ssh-mcp#diagnostics

## Score history

- 2026-08-07: 66
- 2026-08-06: 63
- 2026-08-05: 20

## Links

- npm package: https://www.npmjs.com/package/@zyluo/remote-ssh-mcp
- Socket report: https://socket.dev/npm/package/@zyluo/remote-ssh-mcp
- Repository: https://github.com/the-nine-nation/remote-ssh-mcp
- Changelog RSS feed: https://verifymcp.io/servers/the-nine-nation-remote-ssh-mcp/zyluo-remote-ssh-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/the-nine-nation-remote-ssh-mcp/zyluo-remote-ssh-mcp.json
- HTML version of this page: https://verifymcp.io/servers/the-nine-nation-remote-ssh-mcp/zyluo-remote-ssh-mcp
