Atlas / MCP servers / the-nine-nation / remote-ssh-mcp

remote-ssh-mcpBLOCK

mcp/the-nine-nation/remote-ssh-mcp

Persistent, stateful remote SSH sessions for AI agents via MCP. Keep cwd, env & shell state across commands — powered by your local OpenSSH. Works with Claude, Cursor & any MCP host.

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
7 6r · 1w · 0d
Transport
stdio
License
MIT
Stars
1
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Remote SSH MCP

Persistent, stateful remote Bash sessions for AI agents via the Model Context Protocol

Why · Features · How it works · Tools · Quick start · Config · Security · 简体中文

Read from source at commit 671caeecf41dOBSERVED · 2026-10-11
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code (npm)
claude mcp add remote-ssh-mcp -- npx -y @zyluo/[email protected]
03

Exposed tools (7)

6 read · 1 write · 0 destructive.

ToolRiskDescription
ssh_closeread
ssh_hostsread
ssh_interruptread
ssh_listread
ssh_openread
ssh_peekread
ssh_runwrite
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (3 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
found

Findings (12)

HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
src/index.ts:13
"remote-ssh-mcp: no exact SSH Host aliases discovered; add Host aliases to ~/.ssh/config or set SSH_MCP_ALLOWED_HOSTS",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
src/server.ts:37
"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
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
src/session-manager.ts:251
"OpenSSH client only. Private keys, IdentityFile paths, agent sockets, and ProxyCommand are never returned. Do not read ~/.ssh key files; call ssh_open with an alias instead.",
Why it matters. touches a credential store
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
test/protocol.test.ts:40
const token = "0123456789abcdef0123456789abcdef";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
test/protocol.test.ts:72
const token = "0123456789abcdef0123456789abcdef";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
test/protocol.test.ts:86
const token = "fedcba9876543210fedcba9876543210";
LOWInventory / provenance · inv.hidden_file · CWE-1104
assets/star-history/.star-history.sig
.star-history.sig
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.suspicious_name · CWE-1104
test/slim-payload.test.ts
slim-payload.test.ts
Why it matters. member named after an attack tool
Fix. remove or justify
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
test/config.test.ts:76
"  IdentityFile ~/.ssh/id_ed25519_prod",
Why it matters. touches a credential store
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
test/config.test.ts:77
"  CertificateFile ~/.ssh/id_ed25519_prod-cert.pub",
Why it matters. touches a credential store
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/server, zod, @modelcontextprotocol/client, @types/node, tsx, typescript
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
README.md:287
- Agents should call `ssh_open` with a Host alias and **must not** read `~/.ssh` private keys from disk
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-10-11 · audit v0.4.1 · source sha 671caeecf41dfull audit observations/trust-audit/mcp-server/the-nine-nation__remote-ssh-mcp.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-11671caeecf41dBLOCKD69first audit
06

Questions

What is the remote-ssh-mcp MCP server?

Persistent, stateful remote SSH sessions for AI agents via MCP. Keep cwd, env & shell state across commands — powered by your local OpenSSH. Works with Claude, Cursor & any MCP host.

What tools does remote-ssh-mcp expose?

7 in total: 6 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is remote-ssh-mcp safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 3 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does remote-ssh-mcp need?

No credential environment variables were found in its source, so it appears to need none.

How does remote-ssh-mcp run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @zyluo/remote-ssh-mcp at 0.2.2.

How current is this page?

The grade is for one exact copy of the source (671caeecf41d), read on 2026-10-11. The repository is watched and re-audited when it changes.

Advertisement