Skip to main content
Glama

MCP SSH Server with Streamable HTTP

by timetetng

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

# SSH to your server ssh root@your-server-ip # Set environment variables export GITHUB_TOKEN="your_github_token_here" export AUTH_TOKEN="your_secure_token_here" # One-click deployment with Streamable support curl -sSL https://raw.githubusercontent.com/timetetng/mcpssh-streamable/main/deploy-streamable.sh | sudo -E bash

🔧 Client Configuration

Standard HTTP (Traditional Clients):

claude mcp add --transport http mcp-ssh http://your-server-ip:3000/mcp --header "Authorization: Bearer YOUR_TOKEN"

Streamable HTTP (SSE Clients):

{ "mcpServers": { "mcpssh-streamable": { "url": "http://your-server-ip:3001/mcp" } } }

Available Tools

Tool

Description

Parameters

ssh_connect

Connect to SSH server

host, username, password, port?

ssh_execute

Execute command

connectionId, command

ssh_upload

Upload file to server

connectionId, localPath, remotePath

ssh_download

Download file from server

connectionId, remotePath, localPath

ssh_disconnect

Disconnect from server

connectionId

ssh_list_connections

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

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables remote server control via SSH through Claude, supporting command execution, file transfers, and multi-server management with both standard and streamable HTTP protocols.

  1. Features
    1. Quick Start
      1. 🚀 One-Click Streamable Deployment
      2. 🔧 Client Configuration
    2. Available Tools
      1. Architecture
        1. License

          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/timetetng/mcpssh-streamable'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server