MCPVault

ssh_list_remote_files

MCP tool from Ssh MCP Server by uarlouski

List files in a remote directory via SFTP.

How to use it

ssh_list_remote_files is exposed by the Ssh MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the ssh_list_remote_files tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Ssh MCP Server

$npm install -g @uarlouski/ssh-mcp-server
FULL SSH MCP SERVER LISTING

Other tools in Ssh MCP Server (26)

command

(string, required): Command to execute

commandTimeout

(number, optional): Command execution timeout in milliseconds (overrides global commandTimeout)

connectionName

(string, required): Name of the server from your config

id

(string, required): Unique ID of the active port forward to close

localPath

(string, required): Local file path to upload

localPort

(number, optional): Local port to bind to (random if omitted)

pattern

(string, optional): Glob pattern to filter files (e.g., ".log", ".json")

permissions

(string, optional): File permissions in octal format (e.g., "0644", "0755")

remoteHost

(string, required): Remote host to forward to

remotePath

(string, required): Remote destination path

remotePort

(number, required): Remote port to forward to

serviceName

(string, required): Name of the service from portForwardingServices config

ssh_close_port_forward

Close an active port forward.

ssh_delete_remote_file

Delete a file on the remote server via SFTP.

ssh_download_file

Download a file from remote server to local system via SFTP.

ssh_execute_command

Execute commands on remote servers.

ssh_execute_template

Execute a pre-configured command template with variable substitution.

ssh_list_port_forwards

List all active port forwards across all connections.

ssh_list_servers

List all available SSH servers configured in your config file.

ssh_list_templates

List all available command templates with their descriptions and variables.

ssh_port_forward

Set up SSH port forwarding to access remote services.

ssh_port_forward_service

Start a pre-configured named port forwarding service from your config.

ssh_restart_port_forward

Restart an active port forward using its unique ID.

ssh_upload_file

Upload a file from local system to remote server via SFTP.

templateName

(string, required): Name of the command template

variables

(object, optional): Key-value pairs for variable substitution