MCP.so
Sign In

sftp-ssh-mcp

@gradyyoung

About sftp-ssh-mcp

MCP server exposing SSH and SFTP control for Linux and Windows systems via Model Context Protocol.

Basic information

Category

Developer Tools

License

MIT

Runtime

node

Transports

stdio

Publisher

gradyyoung

Submitted by

GradyYoung

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "sftp-ssh-mcp": {
      "command": "npx",
      "args": [
        "sftp-ssh-mcp",
        "-y",
        "--",
        "--host=1.2.3.4",
        "--port=22",
        "--user=root",
        "--password=pass",
        "--key=path/to/key"
      ]
    }
  }
}

Tools

4

Upload a file to remote server via SFTP

Download a file from remote server via SFTP

List files in a remote directory via SFTP

Execute a shell command on the remote SSH server and return the output.

Overview

What is sftp-ssh-mcp?

sftp-ssh-mcp is a local Model Context Protocol (MCP) server that exposes SFTP‑SSH control for Linux and Windows systems, enabling LLMs and other MCP clients to execute shell commands securely via SSH.

How to use sftp-ssh-mcp?

Configure it in Claude Desktop by adding a JSON entry under mcpServers with the required arguments: --host, --port, --user, and optionally --password or --key. Run the server using npx sftp-ssh-mcp with the -y flag and the configuration flags.

Key features of sftp-ssh-mcp

  • Executes shell commands on remote servers via SSH
  • Supports both Linux and Windows target systems
  • Authenticates with password or private SSH key
  • Configurable host, port, username, and credentials
  • Integrates as a local MCP server with Claude Desktop
  • Lightweight, run via npx without installation

Use cases of sftp-ssh-mcp

  • Execute ad‑hoc SSH commands from an LLM chat interface
  • Automate server maintenance tasks using natural language prompts
  • Securely manage remote servers without leaving a conversation
  • Enable MCP clients to run scripts on Linux or Windows hosts

FAQ from sftp-ssh-mcp

Comments

More Developer Tools MCP servers