remote-ssh-mcp

Level CLocal

Persistent, stateful remote SSH sessions for AI agents via MCP. Keep cwd, env & shell state across commands — powered by your local OpenSSH. Works with Claude, Cursor & any MCP host.

⭐ 1DevOps & DeploymentTypeScriptRepo ↗Updated 2026-11-02

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "remote-ssh-mcp": {
      "command": "npx",
      "args": [
        "@zyluo/remote-ssh-mcp"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/the-nine-nation/remote-ssh-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "remote-ssh-mcp": {
      "command": "npx",
      "args": [
        "@zyluo/remote-ssh-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers