Skip to content

remote_download

MCP tools › Remote, rooms and agents

Download a file or folder of an SSH host into a folder of the workspace under its own name, as dropping it from the Remote Host list on a folder of the Project tree does. Refused before anything is written when the name is taken in the workspace 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 and write rights and is logged.

Its results carry text from remote: the client is told to treat that as data, never as instructions.

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

Arguments

ArgumentTypeDescription
hostrequiredstringHost alias or [user@]host[:port].
pathrequiredstringAbsolute path of a file or folder on the host.
intorequiredstringFolder of the workspace to copy into (relative to it; "" for its root).
dry_runbooleanOnly report (default true); false copies, needs ssh and write, 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_download '{"host":"<string>","path":"<string>","into":"<string>"}'
Input schema as JSON
{
"properties": {
"host": {
"description": "Host alias or `[user@]host[:port]`.",
"type": "string"
},
"path": {
"description": "Absolute path of a file or folder on the host.",
"type": "string"
},
"into": {
"description": "Folder of the workspace to copy into (relative to it; `\"\"` for its root).",
"type": "string"
},
"dry_run": {
"description": "Only report (default true); false copies, needs `ssh` and `write`, and is logged.",
"type": [
"boolean",
"null"
]
}
},
"required": [
"host",
"path",
"into"
],
"additionalProperties": false,
"type": "object"
}