ssh_get_local_info
Retrieve OS, home directory, current working directory, and path style (Windows or POSIX) of the MCP server to determine the correct local_path format for file transfers.
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 |