mcpField
S
sftp-ssh-mcp

sftp-ssh-mcp

Local
github.com/gradyyoungDeveloper Tools8Updated 77w ago

About sftp-ssh-mcp

sftp-ssh-mcp is a local MCP server for SSH and SFTP control of Linux and Windows systems. It lets LLMs and other MCP clients run shell commands over SSH, with password or key-based authentication.

Key features

  1. 01Run shell commands over SSH
  2. 02Connect to Linux and Windows hosts
  3. 03Control systems through SFTP
  4. 04Authenticate with password or private key

Use cases

  1. 01Run remote shell commands from an MCP client
  2. 02Configure an SSH connection with a password
  3. 03Connect to a system using a private key

MCP support

The MCP server exposes SSH and SFTP control to LLMs and other MCP clients, including execution of shell commands over SSH.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"sftp-ssh": {
"command": "npx",
"args": [
"-y",
"sftp-ssh-mcp"
]
}
}
}
Run commandnpx -y sftp-ssh-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmsftp-ssh-mcp

Tools

4

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
localPathstringYesLocal file path to upload
remotePathstringYesRemote path to save the file

Details

From the project README

SFTP-SSH MCP Server 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.

Client Setup

You can configure Claude Desktop to use this MCP Server.

  • host: Hostname or IP of the Linux or Windows server
  • port: SSH port (default: 22)
  • user: SSH username
  • password: SSH password (or use key for key-based auth) (optional)
  • key: Path to private SSH key (optional)
{
    "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"
            ]
        }
    }
}

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.