upload_file
Upload a local file to a remote server via SFTP for deploying configurations, scripts, or artifacts.
Instructions
Upload a local file (on the machine running this MCP server) to a remote server via SFTP.
When to use: Deploy configs, scripts, or artifacts to the remote. When NOT to use: Do not upload huge files blindly; verify size/permissions first.
Example: upload_file(connection_id="srv1", local_path="./config.yaml", remote_path="/etc/app/")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | No | Local file path to upload. Defaults to a path in ~/.config/remoteshell/uploads/ | |
| remote_path | Yes | Destination path on the remote server | |
| connection_id | Yes | Unique identifier of the server connection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||