SSH Remote MCP Server
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., "@SSH Remote MCP ServerConnect to my production server at 10.0.1.5 as user deploy with SSH key"
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.
SSH Remote MCP Server
SSH remote access for MCP-compatible clients through Model Context Protocol (MCP).
Quick Start
Install:
pip install -r requirements.txtAdd the MCP in Claude Desktop or Claude Code:
Use your MCP config and set the command to:
python3 adremote-mcp/ssh_mcp_server.pyor
python.exe adremote-mcp/ssh_mcp_server.pyAdd the MCP in Codex:
Add the same server to your Codex MCP config:
python3 adremote-mcp/ssh_mcp_server.pyAutomatic setup:
Download this repo, run Claude or Codex, and ask it to add this folder as a global MCP server. After that, you can use it directly from chat.
Features
Works with MCP-compatible clients on Windows and Linux
Connect to remote servers via SSH
Native SSH jump-host / bastion support
Execute commands remotely
Upload/download files via SFTP
Manage multiple connections
Health monitoring
Usage Examples
Connect with password:
Connect to 192.168.1.100 with username ubuntu and password mypassor in shorter form:
ssh 192.168.1.100:22 ubuntu mypassThe MCP first tests the SSH connection with your username and password. If the login works, it generates or installs an SSH key, saves the key-based credential locally, and does not save the password. The password is only used the first time.
Connect with password for a one-off session:
ssh 192.168.1.100:22 ubuntu mypass, save_credentials falseThis keeps the live connection only. No reusable credential is saved and no automatic key bootstrap is attempted.
Connect later using the saved name:
ssh saved-nameAfter the first successful setup, just use the saved credential name to connect again.
Connect through a jump host:
Use the jump_host object on ssh_connect or ssh_save_credentials:
{
"hostname": "10.0.2.15",
"username": "ubuntu",
"private_key_path": "~/.ssh/id_ed25519",
"jump_host": {
"hostname": "203.0.113.10",
"username": "bastion",
"private_key_path": "~/.ssh/id_ed25519",
"port": 22
}
}This uses a native SSH tunnel to the target host and saved credentials retain the same jump-host configuration.
For reusable saved credentials, the jump host must use private_key_path rather than a password.
Execute commands:
List files in /home directory on my server
Run 'top' command on the remote server
Execute script.py and monitor its logFile transfers:
Upload local file.txt to /home/user/ on the server
Download /var/log/app.log from the serverConnection health and inventory:
Check health of all SSH connections
Show me all active SSH connectionsRequirements
Python 3.10+
paramiko
mcp
Latest Update
Version 1.0.1 adds safer and more practical day-to-day SSH workflows:
Direct logins still save reusable credentials by default, but
save_credentials=falsenow cleanly opts out for password sessions tooSaved credential flows now include connect, save, list, delete, and manual key setup helpers
Host trust and file transfer rules are stricter, with local root restrictions and trust-on-first-use host pinning
Native jump-host connections are supported for both live sessions and saved credentials
Saved credentials are key-based, so no master password is required for normal use
Manually saved private key paths are validated when you save them, not later on first connect
Support
Contact me to collaborate.
This server cannot be installed
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/nqmn/adremote-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server