mcp-remote-ssh

v0.5.1
mcp-remote-ssh Checked 5 days ago Published 1 day ago

MCP server for remote SSH operations -- persistent sessions, structured command execution, SFTP file transfer, and port forwarding for AI agents.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add mcp-remote-ssh -- uvx mcp-remote-ssh==0.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-remote-ssh": {
      "args": [
        "mcp-remote-ssh==0.4.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-remote-ssh": {
      "args": [
        "mcp-remote-ssh==0.4.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-remote-ssh": {
      "args": [
        "mcp-remote-ssh==0.4.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-remote-ssh]
command = "uvx"
args = ["mcp-remote-ssh==0.4.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: ssh_connect, ssh_list_sessions, ssh_close_session, ssh_execute, ssh_sudo_execute, ssh_forward_port, ssh_list_forwards, ssh_close_forward, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json