Scan your whole stack
Latest version: v0.20.0
SSH MCP Server was last scanned on 23 Nov 2026 at version 0.20.0. Risk score 0 of 100. High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 0.20.0 LATEST | 23 Nov 2026 | 1 rule fired |
| 0.19.0 | 21 Nov 2026 | 1 rule fired |
| 0.18.6 | 16 Nov 2026 | 1 rule fired |
| 0.18.5 | 16 Nov 2026 | Not shown |
| 0.18.4 | 16 Nov 2026 | Not shown |
Findings for v0.20.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.
HIGHThe score describes 0.20.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
One click adds this to your local Yaw MCP config so it's available in every Yaw Terminal session. Tested with Yaw MCP 1.1.13 or newer. Or install manually below.
Make SSH work for AI tools. MCP server that manages your SSH environment, diagnoses what's broken, fixes it, and gives your agent remote access to anything.
Built and maintained by Yaw Labs.
AI CLI tools run in subprocesses where SSH is constantly broken. The agent tries to git pull and gets Permission denied (publickey). It tries to SSH into a server and the agent socket is stale. It tries to deploy and the host key changed because the instance was recreated. Every time, the AI has no idea what's wrong and spirals.
This happens across every situation that needs SSH keys:
npm install, pip install, go get, cargo, composer from private reposssh-mcp fixes this. It manages the SSH agent, loads keys, diagnoses failures with actionable fix commands, and provides remote operations — all as MCP tools your AI agent can call.
Add to your MCP client config:
{
"mcpServers": {
"ssh": {
"command": "npx",
"args": ["-y", "@yawlabs/ssh-mcp@latest"]
}
}
}
On Windows wrap with cmd /c since Node 20+ can't spawn .cmd files directly:
{
"mcpServers": {
"ssh": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@yawlabs/ssh-mcp@latest"]
}
}
}
The @latest tag makes npx re-resolve against the registry on every spawn, so each MCP session uses the newest published version. Or install globally if you'd rather pin (no auto-update):
npm install -g @yawlabs/ssh-mcp
# then in client config: "command": "ssh-mcp"
Tools that fix your local SSH setup so everything else — git, deploys, tunnels — stops breaking.
| Tool | Description |
|---|---|
ssh_agent_ensure |
Ensure ssh-agent is running. Starts one if needed and sets env vars for the session. |
ssh_key_list |
List all SSH keys in ~/.ssh/ with type, fingerprint, and agent status. |
ssh_key_load |
Load a key into the running agent. Ensures the agent is started first. |
ssh_config_lookup |
Resolve the effective SSH config for a host (hostname, user, port, proxy, identity files). |
ssh_known_hosts_fix |
Remove a stale host key and re-scan. Fixes "host key verification failed" errors. |
ssh_git_check |
Test Git-over-SSH auth to GitHub, GitLab, Bitbucket, etc. |
ssh_test |
Quick connectivity test with timing and actionable error details. |
| Tool | Description |
|---|---|
ssh_diagnose |
Full SSH environment diagnostic. Checks agent, keys, config, known_hosts, and connectivity. Returns exact fix commands for every failure. |
| Tool | Description |
|---|---|
ssh_exec |
Execute a command on a remote host. Returns up to three content blocks, status first: [exit code: N] (plus [signal: NAME] with code: -1 when the channel closed signal-only, and a flag when a stream hit the 10 MB cap), then [stderr], then [stdout]. Status leads so a proxy that cuts long results — Yaw MCP keeps about 100 KB by default — never drops the exit code. A non-zero exit or a signal is reported as a normal result, not a tool error (isError is not set): read the [exit code: N] block. Optional env param sets per-call environment variables (POSIX-safe prefix, works regardless of sshd's AcceptEnv). Subject to command policy if configured. |
ssh_read_file |
Read a file from a remote host via SFTP (whole file up to 10 MB). Optional offset and length (bytes) read one page and return a [bytes A-B of SIZE; next offset: N] status block before the text — use them for a large file, or behind a proxy that caps results. A file that reports size 0 (/proc, a device, a FIFO) pages as of unknown size. |
ssh_write_file |
Write content to a file on a remote host via SFTP. |
ssh_upload |
Upload a local file to a remote host via SFTP. |
ssh_download |
Download a file from a remote host to local filesystem. |
ssh_ls |
List files in a directory on a remote host. |
ssh_stat |
Get metadata for a file or directory (size, mode in octal, uid/gid, mtime/atime, path type (file / directory / symlink -> target kind)). Use instead of parsing ls -la. |
ssh_mkdir |
Create a directory via SFTP. Set recursive: true for mkdir -p behavior. Unlike the other SFTP tools, the path may be relative — it resolves against the SFTP working directory (normally the remote user's home). ~ is not expanded; SFTP has no shell. |
ssh_delete |
Delete a file or empty directory via SFTP. Auto-dispatches unlink vs rmdir based on the path's own type (lstat), so a symlink is always unlinked — never followed — including a dangling one or one pointing at a directory. Recursive directory delete is intentionally NOT supported -- use ssh_exec rm -rf if you need it. |
Tools that wrap common patterns agents build with ssh_exec — faster and less error-prone.
| Tool | Description |
|---|---|
ssh_multi_exec |
Run a command on multiple hosts in parallel. Returns results per host, and flags the whole call isError when any host errored or exited non-zero (unlike ssh_exec). Optional env param sets per-call environment variables (same POSIX-safe prefix as ssh_exec, applied once and sent to every host). Subject to command policy if configured (policy is checked once, against the env-prefixed command, before fan-out). |
ssh_find |
Search for files remotely with structured parameters (name, type, size, depth, newer — match files modified more recently than a reference path). |
ssh_tail |
Read the last N lines of a file, optionally filtered by a grep pattern. |
ssh_service_status |
Check systemd service status (active, PID, uptime, description). Flags isError only when the unit could not be found / queried, not when an existing unit is intentionally stopped. |
When any remote operation fails, ssh-mcp automatically runs diagnostics and includes the results in the error response. Your agent doesn't need to call ssh_diagnose separately — it gets told what's wrong and how to fix it right in the error message.
The diagnostics are matched to the kind of failure, so the real cause is not buried under checks that cannot explain it:
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.