remote_upload
MCP tools › Remote, rooms and agents
Upload a file or folder of the workspace into a folder of an SSH host under its own name, as dropping it from the Project tree on the Remote Host list does. Refused before anything is written when the name is taken on the host, a file is over 10 MiB or the copy holds over 1000 entries; links are left out, nothing is replaced. dry_run (default true) lists the steps; dry_run=false needs the user-granted ssh right and is logged.
| Capability | remote.remote_upload |
|---|---|
| Area | Remote, rooms and agents |
| Access | changes files, remote |
| Reaches | process, network |
| Rights | ssh |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
hostrequired | string | Host alias or [user@]host[:port]. |
pathrequired | string | File or folder of the workspace (relative to it, or absolute inside it). |
intorequired | string | Absolute folder on the host to copy into. |
dry_run | boolean | Only report (default true); false copies, needs ssh and is logged. |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project remote_upload '{"host":"<string>","path":"<string>","into":"<string>"}'Input schema as JSON
{ "properties": { "host": { "description": "Host alias or `[user@]host[:port]`.", "type": "string" }, "path": { "description": "File or folder of the workspace (relative to it, or absolute inside it).", "type": "string" }, "into": { "description": "Absolute folder on the host to copy into.", "type": "string" }, "dry_run": { "description": "Only report (default true); false copies, needs `ssh` and is logged.", "type": [ "boolean", "null" ] } }, "required": [ "host", "path", "into" ], "additionalProperties": false, "type": "object"}