
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
@nl4ever/sshmcp
Advanced tools
SSH MCP Server — Let AI manage remote servers via SSH with zero-token SFTP file transfer, proxy support, and multi-server management using Model Context Protocol
Let AI manage your remote servers. A Model Context Protocol (MCP) server that gives AI assistants full SSH access — execute commands, transfer files, manage multiple servers, all through natural conversation.
You: "Deploy the latest build to production server"
AI: connects → uploads build → restarts service → verifies status
npm install -g @nl4ever/sshmcp
claude mcp add sshmcp sshmcp
Edit claude_desktop_config.json:
{
"mcpServers": {
"sshmcp": {
"command": "npx",
"args": ["-y", "@nl4ever/sshmcp"]
}
}
}
Go to Settings → MCP Servers → Add:
{
"sshmcp": {
"command": "npx",
"args": ["-y", "@nl4ever/sshmcp"]
}
}
| Tool | Description |
|---|---|
list_servers | List all configured servers |
get_server | View server config details |
add_server | Add/update server config (password, key, agent, OTP) |
delete_server | Remove a server |
connect | Connect to a configured server |
quick_connect | Temporary connection without saving config |
disconnect | Disconnect current session |
test_connection | Test connectivity without affecting current connection |
| Tool | Description |
|---|---|
execute | Run shell commands on remote server (with configurable timeout) |
| Tool | Description |
|---|---|
write_file | Write text content to remote file |
upload_file | Upload local file to remote (supports async mode) |
upload_directory | Upload directory with auto compress → transfer → decompress |
download_file | Download remote file to local (supports async mode) |
transfer_status | Check progress of async transfers (size/speed/ETA) |
| Tool | Description |
|---|---|
list_proxies | List all SOCKS proxy presets |
add_proxy | Add SOCKS4/5 proxy preset |
delete_proxy | Remove a proxy preset |
For large files, enable background transfer mode to avoid blocking:
AI: upload_file("big.tar.gz", "/remote/path", async_transfer=true)
→ "Background upload started: tf_1"
AI: transfer_status("tf_1")
→ "🔄 Uploading: 638.2 MB / 1.2 GB (53.2%) — 12.4 MB/s, ETA 46s"
AI: transfer_status("tf_1")
→ "✅ Upload complete: 1.2 GB, 98s, 12.3 MB/s"
Small files use synchronous mode by default — no config needed.
AI: add_server(server_id="prod", name="Production", host="10.0.0.1", username="deploy", password="***")
AI: connect("prod")
AI: execute("systemctl status nginx")
AI: add_server(server_id="aws", name="AWS EC2", host="ec2-xx.compute.amazonaws.com", username="ubuntu", private_key="~/.ssh/id_rsa")
AI: quick_connect(host="192.168.1.100", username="root", password="***")
AI: execute("df -h")
AI: disconnect()
AI: add_proxy(proxy_id="tunnel", name="SSH Tunnel", host="127.0.0.1", port=1080, type="5")
AI: add_server(server_id="internal", ..., proxy="tunnel")
AI: add_server(server_id="bastion", name="Bastion", host="bastion.example.com", username="admin", private_key="~/.ssh/id_rsa")
AI: add_server(server_id="internal", name="Internal DB", host="10.0.0.5", username="dbadmin", password="***", jump_host="bastion")
Server and proxy configurations are stored in:
~/.ssh-mcp/config.json
Passwords are stored in plaintext. For production use, prefer private key authentication.
MIT
FAQs
SSH MCP Server — Let AI manage remote servers via SSH with zero-token SFTP file transfer, proxy support, and multi-server management using Model Context Protocol
The npm package @nl4ever/sshmcp receives a total of 108 weekly downloads. As such, @nl4ever/sshmcp popularity was classified as not popular.
We found that @nl4ever/sshmcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.