Remote SSH MCP v0.2.0
Persistent, stateful remote Bash sessions for AI agents via the Model Context Protocol.
Highlights
- Persistent sessions — stable IDs keep
cwd, env vars, and shell side effects - Native OpenSSH — reuses
~/.ssh/config, agent, ProxyJump, hardware keys - Long-running friendly —
ssh_runcan returnrunning; poll withssh_peek - 7 MCP tools —
ssh_hosts,ssh_open,ssh_run,ssh_peek,ssh_interrupt,ssh_list,ssh_close - Safety — Host-alias allowlist, credential-safe host listing, audit log, denylist
Install
git clone https://github.com/the-nine-nation/remote-ssh-mcp.git
cd remote-ssh-mcp
npm install && npm run build
node dist/index.jsOr once published on npm:
npx remote-ssh-mcpDocs
Full Changelog: https://github.com/the-nine-nation/remote-ssh-mcp/commits/v0.2.0