SSH MCP Server - AI manages remote servers via SSH. Multi-server, SFTP zero-token transfer, SOCKS5 proxy, jump host, 2FA, async transfer with progress.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add sshmcp -- npx -y @nl4ever/sshmcp~/.codex/config.toml
[mcp_servers.sshmcp]
command = "npx"
args = ["-y", "@nl4ever/sshmcp"]
# codex mcp add sshmcp -- npx -y @nl4ever/sshmcp~/.cursor/mcp.json
{
"mcpServers": {
"sshmcp": {
"command": "npx",
"args": [
"-y",
"@nl4ever/sshmcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"sshmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nl4ever/sshmcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sshmcp": {
"command": "npx",
"args": [
"-y",
"@nl4ever/sshmcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sshmcp": {
"command": "npx",
"args": [
"-y",
"@nl4ever/sshmcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"sshmcp": {
"command": "npx",
"args": [
"-y",
"@nl4ever/sshmcp"
]
}
}
}