Skip to main content
Glama

SSH Remote MCP Server

by nqmn

SSH Remote MCP Server

SSH remote access for Claude Code through Model Context Protocol (MCP).

Quick Start

  1. Install:

    pip install -r requirements.txt
  2. Configure Claude Desktop:

    For Claude Desktop App: Add to %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (Mac):

    { "mcpServers": { "ssh-remote": { "command": "python", "args": ["/absolute/path/to/ssh_mcp_server.py"] } } }

    For Claude Code: Add to your Claude Code MCP config:

    { "ssh-remote": { "command": "python", "args": ["/path/to/ssh_mcp_server.py"] } }
  3. Restart Claude Desktop and test:

    Just chat naturally with Claude:

    • "Connect to my server at 192.168.1.100 with username ubuntu and password mypass"

    • "List files in the home directory on my server"

    • "Upload file.txt to /home/ubuntu/ on the server"

    • "Run 'htop' command on my remote server"

Features

  • Connect to remote servers via SSH

  • Execute commands remotely

  • Upload/download files via SFTP

  • Manage multiple connections

  • Health monitoring

Configuration Example

{ "mcpServers": { "ssh-remote": { "command": "python", "args": ["/absolute/path/to/ssh_mcp_server.py"] } } }

Usage Examples

Connect with password:

Connect to 192.168.1.100 with username ubuntu and password mypass

Connect with SSH key:

Connect to myserver.com using SSH key ~/.ssh/id_rsa as user admin

Execute commands:

List files in /home directory on my server Run 'top' command on the remote server

File transfers:

Upload local file.txt to /home/user/ on the server Download /var/log/app.log from the server

Requirements

  • Python 3.7+

  • paramiko

  • mcp

Security

  • Automatic host key acceptance

  • Supports password and key authentication

  • Connection timeouts enforced

-
security - not tested
A
license - permissive license
-
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 SSH remote access to servers through Claude, allowing users to execute commands, transfer files via SFTP, and manage multiple remote connections using natural language.

  1. Quick Start
    1. Features
      1. Configuration Example
        1. Usage Examples
          1. Connect with password:
          2. Connect with SSH key:
          3. Execute commands:
          4. File transfers:
        2. Requirements
          1. Security

            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