# YawLabs/ssh-mcp

Source: https://glimind.com/server/github%2Fyawlabs%2Fssh-mcp
Registry id: `github/yawlabs/ssh-mcp`
Status: unknown

## Tools (21)

- `ssh_agent_ensure`: Ensure ssh-agent is running. Starts one if needed and sets env vars.
- `ssh_config_lookup`: Resolve the effective SSH config for a host (hostname, user, port, proxy, identity files).
- `ssh_delete`: Delete a file or empty directory via SFTP. Symlinks are unlinked.
- `ssh_diagnose`: Full SSH environment diagnostic. Checks agent, keys, config, known_hosts, and connectivity.
- `ssh_download`: Download a file from a remote host to local filesystem.
- `ssh_exec`: Execute a command on a remote host. Returns exit code, stderr, stdout.
- `ssh_find`: Search for files remotely with structured parameters (name, type, size, depth, newer).
- `ssh_git_check`: Test Git-over-SSH auth to GitHub, GitLab, Bitbucket, etc.
- `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_known_hosts_fix`: Remove a stale host key and re-scan. Fixes host key verification failed errors.
- `ssh_ls`: List files in a directory on a remote host.
- `ssh_mkdir`: Create a directory via SFTP. Set recursive: true for mkdir -p behavior.
- `ssh_multi_exec`: Run a command on multiple hosts in parallel. Returns results per host.
- `ssh_read_file`: Read a file from a remote host via SFTP (whole file up to 10 MB).
- `ssh_service_status`: Check systemd service status (active, PID, uptime, description).
- `ssh_stat`: Get metadata for a file or directory (size, mode, uid/gid, mtime/atime).
- `ssh_tail`: Read the last N lines of a file, optionally filtered by a grep pattern.
- `ssh_test`: Quick connectivity test with timing and actionable error details.
- `ssh_upload`: Upload a local file to a remote host via SFTP.
- `ssh_write_file`: Write content to a file on a remote host via SFTP.

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