Remote SSH MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 78 installs a week from npm. Last commit 7 Nov 2026.
Persistent stateful remote SSH sessions for AI agents via MCP + OpenSSH.
We read the source, 1 h ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
const child = spawn(config.sshPath, args, {
"remote-ssh-mcp: no exact SSH Host aliases discovered; add Host aliases to ~/.ssh/config or set SSH_MCP_ALLOWED_HOSTS",
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add remote-ssh-mcp -- npx -y @zyluo/remote-ssh-mcp
{
"mcpServers": {
"remote-ssh-mcp": {
"command": "npx",
"args": [
"-y",
"@zyluo/remote-ssh-mcp"
]
}
}
}
[mcp_servers.remote-ssh-mcp]
command = "npx"
args = ["-y", "@zyluo/remote-ssh-mcp"]
{
"mcpServers": {
"remote-ssh-mcp": {
"command": "npx",
"args": [
"-y",
"@zyluo/remote-ssh-mcp"
]
}
}
}
{
"servers": {
"remote-ssh-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@zyluo/remote-ssh-mcp"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
SSH_MCP_ALLOWED_HOSTS (Comma-separated additional SSH Host aliases to allow), SSH_MCP_CONFIG (Path to remote-ssh-mcp config.json).
Persistent memory for AI agents. Search, store, and recall across sessions.
Persistent memory for AI coding tools via MCP. Remembers across sessions and machines.
Structured session journals for AI agents. Persistent memory across sessions.
Personality Runtime for AI agents — persistent memory, personality, and relationships via MCP
MCP server for persistent, semantic memory across AI sessions
Persistent memory for AI agents. Store, recall, and share knowledge across sessions.
Persistent memory for AI assistants. Store, search, and recall across sessions.
MCP server for persistent, searchable memory for AI agents.
Answers built from our own checks of this server.