Skip to content

remote_project_close

MCP tools › Remote, rooms and agents

Close a remote project (SPEC-0317, Experimental). dry_run defaults to true and lists the unsaved remote files and pending edits. A real close takes unsaved: refuse (default: nothing happens while files are unsaved), save (saves them on the host first; needs the user-granted write right) or discard (needs quit, as losing unsaved work does); the backend ends when no client is left. Logged.

Capabilityremote.remote_project_close
AreaRemote, rooms and agents
Accesschanges files, ide
Reachesnetwork
Rightsssh, write, quit
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
hostrequiredstringHost the project was opened on.
folderrequiredstringIts folder.
dry_runbooleanOnly list unsaved files and pending edits (default true).
unsavedstringrefuse (default), save (needs write) or discard (needs quit).

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_project_close '{"host":"<string>","folder":"<string>"}'
Input schema as JSON
{
"type": "object",
"required": [
"host",
"folder"
],
"properties": {
"host": {
"description": "Host the project was opened on.",
"type": "string"
},
"folder": {
"description": "Its folder.",
"type": "string"
},
"dry_run": {
"description": "Only list unsaved files and pending edits (default true).",
"type": [
"boolean",
"null"
]
},
"unsaved": {
"description": "`refuse` (default), `save` (needs `write`) or `discard` (needs `quit`).",
"type": [
"string",
"null"
]
}
}
}