Skip to content
Cline

SSH Session MCP for Cline

io.github.zw-awa/ssh-session-mcp

Shared SSH PTY runtime for MCP clients with viewer, input lock, async tracking, and policy rules.

client:Cline transport:stdio runtime:npm

Install SSH Session MCP in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "ssh-session-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-session-mcp"
      ],
      "env": {
        "SSH_MCP_CONFIG": "<SSH_MCP_CONFIG>",
        "SSH_MCP_INSTANCE": "<SSH_MCP_INSTANCE>",
        "VIEWER_PORT": "<VIEWER_PORT>",
        "VIEWER_HOST": "<VIEWER_HOST>",
        "AUTO_OPEN_TERMINAL": "<AUTO_OPEN_TERMINAL>",
        "SSH_MCP_MODE": "<SSH_MCP_MODE>",
        "SSH_MCP_LOCAL": "<SSH_MCP_LOCAL>",
        "SSH_MCP_DEBUG": "<SSH_MCP_DEBUG>",
        "SSH_HOST": "<SSH_HOST>",
        "SSH_PORT": "<SSH_PORT>",
        "SSH_USER": "<SSH_USER>",
        "SSH_PASSWORD": "<SSH_PASSWORD>",
        "SSH_KEY": "<SSH_KEY>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

SSH Session MCP in other clients