Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging level for the server (error, warn, info, debug). | |
| KNOWN_HOSTS_PATH | No | Custom path to the known_hosts file for host key verification. | |
| SSH_DEFAULT_KEY_DIR | No | Custom directory to search for SSH keys. | |
| STRICT_HOST_KEY_CHECKING | No | Enable strict host key checking. Set to 'true' and optionally provide KNOWN_HOSTS_PATH to enforce verification. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ssh_open_session | Opens a new SSH session with authentication |
| ssh_close_session | Closes an SSH session |
| proc_exec | Executes a command on the remote system |
| proc_sudo | Executes a command with sudo privileges |
| fs_read | Reads a file from the remote system |
| fs_write | Writes data to a file on the remote system |
| fs_stat | Gets file or directory statistics |
| fs_list | Lists directory contents |
| fs_mkdirp | Creates directories recursively |
| fs_rmrf | Removes files or directories recursively |
| fs_rename | Renames or moves a file/directory |
| ensure_package | Ensures a package is installed or removed |
| ensure_service | Ensures a service is in the desired state |
| ensure_lines_in_file | Ensures specific lines are present or absent in a file |
| patch_apply | Applies a patch to a file |
| os_detect | Detects operating system and environment information |
| ssh_list_sessions | Lists all active SSH sessions with their details |
| ssh_ping | Checks if an SSH session is still alive and responsive |
| ssh_list_configured_hosts | Lists all hosts configured in ~/.ssh/config |
| ssh_resolve_host | Resolves a host alias from ~/.ssh/config to connection parameters |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |