claude-ssh-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-ssh-mcprundf -hon production"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-ssh-mcp
MCP addon for Claude Desktop — gives Claude SSH access to your servers.
Install
With pip (auto-installs Node.js if needed):
pip install claude-ssh-mcp
claude-ssh-mcpOr with npm:
npx -y claude-ssh-mcpThat's it. Restart Claude Desktop and you're ready.
Usage
Just talk to Claude naturally:
"Connect to 192.168.1.100 as root with password mypass, call it production"
"Run
ls -la /var/wwwon production""Upload C:\Users\me\app.zip to /tmp/app.zip on production"
"Download /var/log/error.log from production"
"Connect to 10.0.0.5 as deploy with key at C:\Users\me.ssh\id_rsa, name it staging"
"Transfer /var/log/app.log from production to /tmp/app.log on staging"
"List my servers"
"Remove staging"
Features
Auto-install — one command adds it to Claude Desktop
Auto-installs Node.js — pip version handles everything
Servers are saved — connect once, reconnect by name
SSH keepalive — connections stay alive during long sessions
Auto-reconnect — recovers from network interruptions
Auto-update — checks for updates every 2 hours
Saved Servers
When you tell Claude to connect, the server is saved to ~/.mcp-ssh/servers.json. Next time just say "connect to production".
Edit manually if you prefer:
{
"production": {
"host": "192.168.1.100",
"port": 22,
"username": "root",
"password": "mypass"
},
"staging": {
"host": "10.0.0.5",
"port": 22,
"username": "deploy",
"privateKeyPath": "C:\\Users\\me\\.ssh\\id_rsa"
}
}Tools
Tool | What it does |
| Connect to a server (new or saved) |
| Close a connection |
| Show all connections and saved servers |
| Delete a saved server |
| Run a shell command |
| Upload a local file (SFTP) |
| Download a remote file (SFTP) |
| Copy a file between two servers |
| List remote directory contents |
Building from Source
git clone https://github.com/MaraBank/mcp-ssh-server.git
cd mcp-ssh-server
npm install
npm run buildThen in Claude Desktop config (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"ssh": {
"command": "node",
"args": ["C:\\path\\to\\mcp-ssh-server\\build\\index.js"]
}
}
}License
MIT — free and open source.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaraBank/mcp-ssh-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server