Back to Browse

Sftp MCP Server

File & StorageLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

SFTP-only file access for AI: browse, edit, transfer and sync files, no shell access needed.

About

SFTP-only file access for AI: browse, edit, transfer and sync files, no shell access needed.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (3 strong, 3 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

7 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

file_system

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

SSH host (single-server mode).Optional

Environment variable: SFTP_HOST

SSH port.Optional

Environment variable: SFTP_PORT

SSH username (single-server mode).Optional

Environment variable: SFTP_USER

Password authentication.Required

Environment variable: SFTP_PASSWORD

Path to a private key file.Optional

Environment variable: SFTP_PRIVATE_KEY

Passphrase for the private key.Required

Environment variable: SFTP_PASSPHRASE

Path to a JSON map of server id to connection, for multiple servers. Replaces the single-server variables.Optional

Environment variable: SFTP_SERVERS_FILE

Deny every remote mutation.Optional

Environment variable: SFTP_READ_ONLY

Set to false to deny delete, rmdir, rename and non-dry-run sync.Optional

Environment variable: SFTP_ALLOW_DESTRUCTIVE

Absolute remote path prefix that mutations are limited to.Optional

Environment variable: SFTP_ALLOWED_WRITE_PREFIX

Absolute remote path prefix that reads are limited to.Optional

Environment variable: SFTP_ALLOWED_READ_PREFIX

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "sftp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sftp-mcp@1.1.4"
      ],
      "env": {
        "SFTP_HOST": "your-sftp-host-here",
        "SFTP_PORT": "your-sftp-port-here",
        "SFTP_USER": "your-sftp-user-here",
        "SFTP_PASSWORD": "your-sftp-password-here",
        "SFTP_READ_ONLY": "your-sftp-read-only-here",
        "SFTP_PASSPHRASE": "your-sftp-passphrase-here",
        "SFTP_PRIVATE_KEY": "your-sftp-private-key-here",
        "SFTP_SERVERS_FILE": "your-sftp-servers-file-here",
        "SFTP_ALLOW_DESTRUCTIVE": "your-sftp-allow-destructive-here",
        "SFTP_ALLOWED_READ_PREFIX": "your-sftp-allowed-read-prefix-here",
        "SFTP_ALLOWED_WRITE_PREFIX": "your-sftp-allowed-write-prefix-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Reviews

No reviews yet

Be the first to review this server!