MCP SSH Server with Streamable HTTP
A Model Context Protocol (MCP) HTTP server that enables Claude Code to control remote servers via SSH for automated deployment, testing, and operations.
β‘ New Feature: Streamable HTTP Support
This fork adds Streamable HTTP support for SSE-compatible clients while maintaining backward compatibility with standard HTTP.
Features
SSH Connection Management: Connect to multiple SSH servers simultaneously
Command Execution: Execute commands on remote servers
File Transfer: Upload and download files via SFTP
Dual Protocol Support: Standard HTTP + Streamable HTTP
SSE Client Compatible: Works with Streamable HTTP clients
MCP HTTP Protocol: Full compatibility with Claude Code
Bearer Token Authentication: Secure API access
Auto-restart: Systemd service with automatic recovery
Quick Start
π One-Click Streamable Deployment
π§ Client Configuration
Standard HTTP (Traditional Clients):
Streamable HTTP (SSE Clients):
Available Tools
Tool | Description | Parameters |
| Connect to SSH server | host, username, password, port? |
| Execute command | connectionId, command |
| Upload file to server | connectionId, localPath, remotePath |
| Download file from server | connectionId, remotePath, localPath |
| Disconnect from server | connectionId |
| List active connections | - |
Architecture
Port 3000: Standard HTTP MCP Server
Port 3001: Streamable HTTP MCP Server
Backward Compatible: Existing clients continue to work
Dual Service: Independent services for better reliability
License
ISC
This server cannot be installed