remote_port_forward_remote
Start a remote-to-local SSH tunnel, forwarding connections from a remote port to your local machine to expose local services.
Instructions
Start a REMOTE port forward (SSH -R style).
Listens on a port on the remote server and forwards connections back to your local machine. Requires SSH2 session type.
Example: Expose a local dev server to the remote:
remotePort: 8080
localPort: 3000 ā Remote server port 8080 forwards to your localhost:3000
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"remotePort": "<remotePort>",
"localPort": "<localPort>"
},
"name": "remote_port_forward_remote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localHost | No | Local host to forward to (default: localhost) | |
| localPort | Yes | Local port to forward to | |
| sessionId | No | Session ID (optional) | |
| remotePort | Yes | Remote port to listen on |