Claude Ssh
FreeNot checkedEnables Claude to connect to servers via SSH, execute commands, transfer files, and manage connections through natural language.
About
Enables Claude to connect to servers via SSH, execute commands, transfer files, and manage connections through natural language.
README
PyPI version npm version License: MIT
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-mcp
Or with npm:
npx -y claude-ssh-mcp
That'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 |
|---|---|
ssh_connect |
Connect to a server (new or saved) |
ssh_disconnect |
Close a connection |
ssh_list_sessions |
Show all connections and saved servers |
ssh_remove_server |
Delete a saved server |
ssh_execute |
Run a shell command |
ssh_upload |
Upload a local file (SFTP) |
ssh_download |
Download a remote file (SFTP) |
ssh_transfer |
Copy a file between two servers |
ssh_list_files |
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 build
Then 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.
Install Claude Ssh in Claude Desktop, Claude Code & Cursor
unyly install claude-ssh-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add claude-ssh-mcp -- npx -y claude-ssh-mcpFAQ
Is Claude Ssh MCP free?
Yes, Claude Ssh MCP is free — one-click install via Unyly at no cost.
Does Claude Ssh need an API key?
No, Claude Ssh runs without API keys or environment variables.
Is Claude Ssh hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Claude Ssh in Claude Desktop, Claude Code or Cursor?
Open Claude Ssh on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Claude Ssh with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
