Persistent stateful remote SSH sessions for AI agents via MCP + OpenSSH.
Connect Runs on your machine
claude mcp add remote-ssh-mcp -e SSH_MCP_ALLOWED_HOSTS=<SSH_MCP_ALLOWED_HOSTS> -e SSH_MCP_CONFIG=<SSH_MCP_CONFIG> -- npx -y @zyluo/[email protected]
{
"mcpServers": {
"remote-ssh-mcp": {
"command": "npx",
"args": [
"-y",
"@zyluo/[email protected]"
],
"env": {
"SSH_MCP_ALLOWED_HOSTS": "<SSH_MCP_ALLOWED_HOSTS>",
"SSH_MCP_CONFIG": "<SSH_MCP_CONFIG>"
}
}
}
}
{
"mcpServers": {
"remote-ssh-mcp": {
"command": "npx",
"args": [
"-y",
"@zyluo/[email protected]"
],
"env": {
"SSH_MCP_ALLOWED_HOSTS": "<SSH_MCP_ALLOWED_HOSTS>",
"SSH_MCP_CONFIG": "<SSH_MCP_CONFIG>"
}
}
}
}
{
"servers": {
"remote-ssh-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@zyluo/[email protected]"
],
"env": {
"SSH_MCP_ALLOWED_HOSTS": "<SSH_MCP_ALLOWED_HOSTS>",
"SSH_MCP_CONFIG": "<SSH_MCP_CONFIG>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
SSH_MCP_ALLOWED_HOSTSOptional | Comma-separated additional SSH Host aliases to allow |
SSH_MCP_CONFIGOptional | Path to remote-ssh-mcp config.json |
Details
| Package | @zyluo/[email protected] (NPM, stdio) |
| First published | 5 Aug 2026 |
| Last updated | 5 Aug 2026 |
| Registry name | io.github.the-nine-nation/remote-ssh-mcp |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
