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-mcp
Or with npm (if you have Node.js):
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 |
License
MIT — free and open source.
Metadata
Release files for claude-ssh-mcp 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| claude_ssh_mcp-1.0.1.tar.gz | 5.3 kB | Without provenance | Details for claude_ssh_mcp-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| claude_ssh_mcp-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for claude_ssh_mcp-1.0.1-py3-none-any.whl |
Total release size: 11.0 kB
Release files / claude_ssh_mcp-1.0.1.tar.gz
| Download URL | claude_ssh_mcp-1.0.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42f97dc87e44a28568d5f0d23c4a0a462d6226f7732f786897a015da27c7cfbe
|
|
BLAKE2b-256 checksum How to use checksums |
2c6a16ae6b8d174d07427b87148ed224c0185c7fa307bb72858c57f8ecee0fdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / claude_ssh_mcp-1.0.1-py3-none-any.whl
| Download URL | claude_ssh_mcp-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
681a69ad6eff89479434750aad03c03ef5d8185555d9af3fb4e530ed24f460fa
|
|
BLAKE2b-256 checksum How to use checksums |
a5102c4b6628d3192401f696573455977c2256fdd873c474b8148627c2665234
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for claude-ssh-mcp 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.