Skip to content

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.

Capabilityremote.remote_upload
AreaRemote, rooms and agents
Accesschanges files, remote
Reachesprocess, network
Rightsssh
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
hostrequiredstringHost alias or [user@]host[:port].
pathrequiredstringFile or folder of the workspace (relative to it, or absolute inside it).
intorequiredstringAbsolute folder on the host to copy into.
dry_runbooleanOnly 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.

Terminal window
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"
}