MCP directory
S

SFTP

by github.com/AdversTM · v1.1.4 · updated Nov 12, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • SFTP_HOST

    SSH host (single-server mode).

  • SFTP_PORT

    SSH port.

  • SFTP_USER

    SSH username (single-server mode).

  • SFTP_PASSWORDsecret

    Password authentication.

  • SFTP_PRIVATE_KEY

    Path to a private key file.

  • SFTP_PASSPHRASEsecret

    Passphrase for the private key.

  • SFTP_SERVERS_FILE

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

  • SFTP_READ_ONLY

    Deny every remote mutation.

  • SFTP_ALLOW_DESTRUCTIVE

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

  • SFTP_ALLOWED_WRITE_PREFIX

    Absolute remote path prefix that mutations are limited to.

  • SFTP_ALLOWED_READ_PREFIX

    Absolute remote path prefix that reads are limited to.

More MCP servers