ssh_get_local_info
Retrieves local OS, home directory, cwd, and path style to determine correct path format before SSH file uploads or downloads.
Instructions
Return OS, home directory, cwd, and path style of the machine running the MCP server.
Call this before ssh_upload_file or ssh_download_file to discover the correct local_path format (Windows backslash vs POSIX forward-slash).
Args: response_format: 'json' (default) or 'markdown'.
Returns: OS info including: os, home, cwd, path_style ('windows' or 'posix').
Examples: - Before uploading: ssh_get_local_info() → learn that local_path needs Windows format - Debugging path errors: confirm the server's working directory
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |