SSH MCP Server
Click on "Deploy 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 MCP ServerCheck the disk space usage on my remote server"
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 MCP Server
This is a Model Context Protocol (MCP) server that provides SSH capabilities to your AI assistant. It allows the AI to upload files (including recursive directory uploads and archive extraction) and execute commands on remote servers.
You can submit your questions in the Issues section or send an email to mcpolawa@gmail.com
Features
File Upload: Upload text content directly to a remote file.
Local Path Upload: Recursively upload local files or directories to a remote server.
Upload & Extract: Upload a compressed archive (.zip, .tar.gz, .tar) and automatically extract it on the remote server.
Remote Command Execution: Execute standard Shell commands via SSH.
Related MCP server: SSH MCP Server
Configuration
ssh_config.py
HOST_DEFAULT = "YourServerIP" USERNAME_DEFAULT = "YourUsername" PASSWORD_DEFAULT = "YourPassword" PORT_DEFAULT = 22
Installation
Dependencies:
pip install mcp paramikoMCP Configuration: Add the server to your MCP client configuration file (e.g.,
mcp_config.json):"ssh-tools": { "command": "python", "args": ["c:/path/to/ssh_server.py"] }
Usage
Tools
ssh_exec_command(command): Run a command.ssh_upload_local_path(local_path, remote_path): Sync local files/folders.ssh_upload_and_extract(local_path, remote_path): Deploy archives.ssh_upload_file(remote_path, content): Quick text file creation.
Directory Structure
ssh_server.py: Entry point.ssh_config.py: Configuration.ssh_ops.py: Core logic implementation.ssh_client.py: SSH connection helper.
License
This project is licensed under the terms of the MIT License.
This server cannot be deployed
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server enabling AI assistants to securely operate remote servers via persistent SSH sessions, with tools for command execution, file transfer, directory listing, and system monitoring.4MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents SSH capabilities to execute commands, transfer files, and inspect remote systems through a preconfigured host list.51 npmMIT
- AlicenseAqualityCmaintenanceAn MCP server that lets an AI assistant run commands and transfer files over SSH without exposing connection details.5MIT
- AlicenseCqualityBmaintenanceAn MCP server that enables AI agents to establish and manage persistent SSH sessions with smart command execution, async support, and file operations.211MIT