MCP server giving AI agents full SSH access with secret-safe environment variable injection. Supports persistent sessions, structured command execution, SFTP file transfer, port forwarding, and automatic output redaction that prevents secrets from reaching the LLM.
Tools
ssh_connect
ssh_list_sessions
ssh_close_session
ssh_execute
ssh_sudo_execute
ssh_forward_port
ssh_list_forwards
ssh_close_forward
ssh_load_env_file
ssh_clear_secrets
ssh_upload_file
ssh_download_file
ssh_read_remote_file
ssh_write_remote_file
ssh_list_remote_dir
ssh_shell_open
ssh_shell_send
ssh_shell_read
ssh_shell_send_control
ssh_shell_wait
Server Config
{
"mcpServers": {
"remote-ssh": {
"command": "uvx",
"args": [
"mcp-remote-ssh"
]
}
}
}