sftp-ssh-mcp

by gradyyoung

8 stars
378 downloads
Not rated
GitHub

About

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

Details

Author
gradyyoung
GitHub stars
8
Downloads
378
Categories
Developer Tools

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name sftp-ssh-mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

sftp_upload

Upload a file to remote server via SFTP

sftp_download

Download a file from remote server via SFTP

sftp_list

List files in a remote directory via SFTP

exec

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

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "sftp-ssh-mcp": {
            "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"
                ]
            }
        }
    }
}

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"
        ]
    }
}

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"
            ]
        }
    }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.