SSH

Provides an SSH-based MCP server to securely execute remote commands, transfer files, and query system status via a standardized protocol.
  • javascript

0

GitHub Stars

javascript

Language

4 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "zachflint-ssh-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-mcp-server",
        "--host",
        "192.168.1.1",
        "--port",
        "22",
        "--username",
        "root",
        "--privateKey",
        "~/.ssh/id_rsa"
      ],
      "env": {
        "SSH_HOST": "YOUR_HOST",
        "SSH_PORT": "22",
        "SSH_TIMEOUT": "30000",
        "SSH_PASSWORD": "your_password",
        "SSH_USERNAME": "YOUR_USER",
        "SSH_BLACKLIST": "^rm .*,^shutdown.*",
        "SSH_WHITELIST": "^ls( .*)?,^cat .*",
        "SSH_PASSPHRASE": "YOUR_PASSPHRASE",
        "SSH_PRIVATE_KEY": "~/.ssh/id_rsa",
        "SSH_SOCKS_PROXY": "YOUR_SOCKS_PROXY"
      }
    }
  }
}

Available tools

execute-command

Execute SSH commands with optional current working directory and sudo support, returning the command output and exit status.

execute-batch

Run multiple commands in sequence within a single MCP call, collecting results and execution times.

read-file

Read contents of a file on the remote server with optional line range support.

write-file

Write content to a file on the remote server with options to append or create directories.

upload

Upload local files to the remote server using SFTP.

download

Download files from the remote server via SFTP.

test-connection

Test SSH connectivity and retrieve server information.

get-status

Retrieve comprehensive system status information from the remote server.

check-port

Check if a specific port on the remote host is open and which service is listening.

list-servers

List all configured SSH connections available to the MCP server.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational