remote_session_open
Open a named persistent SSH shell or WinRM PowerShell runspace so working directory, exported variables, and reusable PowerShell state persist across commands.
Instructions
Open a named persistent SSH shell or WinRM PowerShell runspace.
Sessions remain alive until closed or until the MCP server process exits. SSH shell state such as cwd and exported variables persists. WinRM uses one reusable PSRP runspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| shell | No | ||
| profile | No | ||
| connection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||