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.
| Capability | remote.remote_project_close |
|---|---|
| Area | Remote, rooms and agents |
| Access | changes files, ide |
| Reaches | network |
| Rights | ssh, write, quit |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
hostrequired | string | Host the project was opened on. |
folderrequired | string | Its folder. |
dry_run | boolean | Only list unsaved files and pending edits (default true). |
unsaved | string | refuse (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.
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" ] } }}