Rex SSH MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ssh_list_serversA | List configured SSH servers, optionally filtering by alias, host/IP fragment, or username. Returns only non-secret metadata and connection status. A unique result provides the exact alias required by all operation tools. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias. |
| ssh_execA | Execute a shell command on the selected remote Linux server. Timeout is in seconds (default 30, maximum 300); stdout and stderr are capped at 1 MiB each. Common destructive commands are blocked. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias. |
| ssh_read_fileA | Read a remote UTF-8 regular file through SFTP on the selected server, default 1 MiB, maximum 5 MiB. Oversized text is truncated and binary content is rejected. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias. |
| ssh_write_fileA | Write UTF-8 text through SFTP on the selected server using a temporary file and atomic rename. Existing files are backed up by default. Replacing symlinks is refused. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias. |
| ssh_list_dirA | List a remote directory through SFTP on the selected server, returning at most 10000 entries. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias. |
| ssh_statA | Inspect a remote path through SFTP lstat on the selected server. The final symlink is not followed. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias. |
| ssh_tail_fileA | Read the last lines of a remote log file on the selected server. Output is capped and the timeout is 30 seconds. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias. |
| ssh_upload_fileA | Upload a local file to the selected remote server through SFTP. The local path must be absolute; replacement is atomic and backed up by default. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias. |
| ssh_download_fileA | Download a remote file from the selected server through SFTP to an absolute local path. Existing local files are not overwritten by default. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias. |
| ssh_reconnectA | Reload and immediately validate the selected server configuration. Other server connections are not affected. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool targets a distinct operation: server listing/reconnect, command execution, file metadata, content reading, writing, directory listing, tailing, upload, and download. No two tools overlap in purpose, and edge cases like stat vs read_file vs tail_file are clearly differentiated.
All tools follow the ssh_ prefix with a consistent verb_noun pattern (list_servers, read_file, write_file, list_dir, upload_file, download_file, tail_file). The uniform style makes the tool surface predictable and easy to navigate.
Ten tools is well-scoped for an SSH/SFTP server management server. Each tool earns its place, covering connection management, remote execution, and file operations without redundant or excessive entries.
The core SSH/SFTP workflow is well covered: exec, read, write, list, stat, tail, upload, download. A notable gap is the lack of a delete/remove operation for remote files or directories, and no rename/mkdir, but most common administrative tasks can be completed with the existing surface.