Safe Ssh Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Safe Ssh Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A secure and scoped SSH MCP server for executing read-only diagnostic commands over SSH. In this project, "safe" refers specifically to host safety: the server is designed to prevent modifications to the remote system and reduce the risk of operational harm. It does NOT attempt to guarantee that command output cannot be misused by external agents.
The core philosophy behind this MCP server is safety first. Instead of providing an AI agent with an unrestricted bash shell, this server exposes only carefully curated, read-only commands for system diagnostics and monitoring.
df -hfind <path> -mindepth 1 -maxdepth 1 -exec du -sh -- {} + 2>/dev/null | sort -rh | head -n 20dmesguptimedatecat /etc/os-releasesystemctl list-units --all --no-pagersystemctl list-units --state=failed --no-pagersystemctl list-timers --no-pagercrontab -lsystemctl status {daemon}top -b -n 1 -cClick to open full list of available tools
okay, could u check disk usage on /root/ path with help of safe-ssh-mcp server on a remote myserver.mydomain.pro using root and /Users/myUser/.ssh/id_rsa to login?
The server supports SSH account-password authentication and private-key authentication. Configure the private-key passphrase source in mcp_config.ini:
# ENV_VAR (SSH_KEY_PASSPHRASE) or KEYCHAIN (ssh-agent)
ssh_key_passphrase_method=ENV_VARpassword to the MCP tool. Do not use thisfor a private-key passphrase.
key_path. The default ENV_VAR setting alsosupports unprotected keys; SSH_KEY_PASSPHRASE is not required.
ssh_key_passphrase_method=ENV_VAR, set SSH_KEY_PASSPHRASE in the environment that starts the MCP server, and provide key_path.
export SSH_KEY_PASSPHRASE='your-key-passphrase'
safe-ssh-mcpssh_key_passphrase_method=KEYCHAIN, then unlock the key in the same user session that starts the MCP server. The server receives SSH signatures from ssh-agent; it does not read the key passphrase or the key_path.
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
# Optional: make the loaded identity expire after one hour.
ssh-add -t 1h ~/.ssh/id_ed25519
# Remove one identity, or clear every loaded identity.
ssh-add -d ~/.ssh/id_ed25519
ssh-add -DKEYCHAIN (recommended). You canrun ssh-add from any Terminal window; it updates the SSH agent for your macOS login session, so Cursor does not need to be started from that Terminal.
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
ssh-add -lAfter changing mcp_config.ini, restart the MCP server in Cursor (or fully quit and reopen Cursor). When invoking a tool in KEYCHAIN mode, omit key_path; the agent selects from its loaded identities.
If you must use ENV_VAR, set it in the macOS launchd session before opening Cursor from the Dock, then fully quit and reopen Cursor:
launchctl setenv SSH_KEY_PASSPHRASE 'your-key-passphrase'This value lasts only for the current login session, and putting a passphrase directly in a command may save it in shell history. Prefer KEYCHAIN.
For KEYCHAIN, the MCP server must inherit SSH_AUTH_SOCK from that user session. This is normally automatic for a stdio server started from a desktop application. ENV_VAR stores the passphrase in the server process environment, so restrict access to the process and avoid putting it in source control.
Tested manually on Python3.11 running on MacOS against remote Ubuntu server Autotested with Python 3.11 3.12 3.13 3.14
mcp-name: io.github.Areso/safe-ssh-mcp
This project is licensed under the GNU AGPLv3 License.
This server acts as core infrastructure and contains no business logic. By using the AGPL license, we ensure that any security improvements, bug fixes, or new diagnostic tools added to the server are shared back with the open-source community.
Because MCP clients communicate with this server via standard Inter-Process Communication (IPC) or network protocols (like HTTP/SSE), the AGPL license does not "infect" or restrict the client applications connecting to it. You can safely connect proprietary, closed-source, or permissively licensed (e.g., MIT, Apache 2.0) AI agents to this server without violating the license terms.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.