Skip to main content

SFTP

io.github.AdversTM/sftp-mcp

v1.1.4Updated Nov 12, 2026stdio · npm

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add sftp-mcp -e SFTP_PORT=22 -e SFTP_READ_ONLY=false -e SFTP_ALLOW_DESTRUCTIVE=true -- npx -y [email protected]

Configuration

11 settings.

  • SFTP_PASSWORD
    Env var· optional· secret
    Password authentication.
  • SFTP_PASSPHRASE
    Env var· optional· secret
    Passphrase for the private key.
  • SFTP_HOST
    Env var· optional
    SSH host (single-server mode).
  • SFTP_PORT
    Env var· optional
    SSH port.Default: 22
  • SFTP_USER
    Env var· optional
    SSH username (single-server mode).
  • SFTP_PRIVATE_KEY
    Env var· optional
    Path to a private key file.
Show 5 more
  • SFTP_SERVERS_FILE
    Env var· optional
    Path to a JSON map of server id to connection, for multiple servers. Replaces the single-server variables.
  • SFTP_READ_ONLY
    Env var· optional
    Deny every remote mutation.Default: false
  • SFTP_ALLOW_DESTRUCTIVE
    Env var· optional
    Set to false to deny delete, rmdir, rename and non-dry-run sync.Default: true
  • SFTP_ALLOWED_WRITE_PREFIX
    Env var· optional
    Absolute remote path prefix that mutations are limited to.
  • SFTP_ALLOWED_READ_PREFIX
    Env var· optional
    Absolute remote path prefix that reads are limited to.

Listed in the official MCP Registry since Nov 12, 2026. Mirrored daily; last checked Nov 26, 2026.