ssh_upload
Upload a local file to a remote server over SFTP, with local-path restrictions that block sensitive directories and return transfer path, bytes, and timing.
Instructions
Upload a local file to a server via SFTP (parallel fastPut). local_path must lie under os.tmpdir() or a configured localPathRoots dir; key dirs, ~/.ssh, ~/.claude, the MCP server repo/config and any .claude/.git dir, .mcp.json or CLAUDE.md are always refused. Returns one line: path, bytes, ms.
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": {
"server": "<server>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "ssh_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server alias from config.json (case-insensitive). Known aliases: (none configured) | |
| local_path | Yes | Local file path to upload | |
| remote_path | Yes | Remote destination (file path, or directory ending with /) |