ssh-mcp for Claude Code
io.github.gelse/ssh-mcp
MCP gateway for controlled SSH access with per-client auth, command policies, and audit logging.
client:Claude Code
transport:stdio
runtime:oci
Install ssh-mcp in Claude Code
run in your project directory
claude mcp add ssh-mcp -e CONFIG_DIR=<CONFIG_DIR> -e LOG_DIR=<LOG_DIR> -e CONFIG_API_ENABLED=<CONFIG_API_ENABLED> -e CONFIG_API_TOKEN=<CONFIG_API_TOKEN> -- docker run -i --rm ghcr.io/gelse/ssh-mcp:0.3.0
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs