remote_port_close
MCP tools › Remote, rooms and agents
Close a port forward of a remote project (SPEC-0318, Experimental): the local listener stops and the host side closes its connections. Returns whether one was open.
| Capability | remote.remote_port_close |
|---|---|
| Area | Remote, rooms and agents |
| Access | changes ide, network |
| Reaches | network |
| Rights | ports |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
hostrequired | string | Host the remote project was opened on. |
folderrequired | string | Its folder. |
forwardrequired | string | The forward's id (remote_ports). |
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_port_close '{"host":"<string>","folder":"<string>","forward":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "host", "folder", "forward" ], "properties": { "host": { "description": "Host the remote project was opened on.", "type": "string" }, "folder": { "description": "Its folder.", "type": "string" }, "forward": { "description": "The forward's id (`remote_ports`).", "type": "string" } }}