Back to Home
BlockSecCA icon

generic-ssh-mcp

Verified Safe

by BlockSecCA

Overview

Execute commands on remote SSH servers with configurable wrappers for sandboxing, timeouts, or direct execution, integrated into Claude Desktop.

Installation

Run Command
node server/index.js --host <SSH_HOST> --user <SSH_USER> --key <SSH_PRIVATE_KEY_PATH> --timeout <TIMEOUT_SECONDS> --wrapper "<COMMAND_WRAPPER>" --tool-name "<TOOL_NAME>"

Security Notes

The server uses the `ssh2` library for persistent connections, and incorporates features like interactive command rejection to enhance security. No 'eval' or obfuscation found. Critical security depends heavily on user configuration, especially when using the `srt` wrapper. The documentation explicitly warns that the default `srt` configuration is vulnerable to sandbox escape if `~/.srt-settings.json` is not explicitly protected (denied read/write access), which is a manual user step. SSH private key management (storage and permissions) is external to the MCP server. Misconfiguration of the `srt` wrapper is the primary potential security weakness.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-11-21

Tags

SSHRemote ExecutionCommand WrapperSandboxingPersistent ConnectionClaude Desktop