request_upload
Request user confirmation to upload a local file to a remote SSH host, using SCP or rsync with optional checksum verification.
Instructions
Create a local-file upload request for the user to confirm in the HTML page. File bytes are not sent through MCP or terminal history.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"local_path": "<local_path>",
"profile_name": "<profile_name>",
"remote_path": "<remote_path>"
},
"name": "request_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | scp | |
| checksum | No | Remote size is always verified after upload. Use sha256 for an additional checksum check. | none |
| if_exists | No | fail | |
| local_path | Yes | Local file path on the machine running this MCP server. | |
| remote_path | Yes | Destination path on the remote host. | |
| profile_name | Yes | Saved host/port/user profile name. Optional ProxyJump profiles are supported for uploads; full SSH command profiles are not. |