MCP directory
FW

FTP/SFTP workspace

by github.com/jwjp · v0.8.1 · updated Dec 5, 2026

Guarded FTP, FTPS, and SFTP transfers for AI coding: list, download, preview, and verified upload

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @jwjp/[email protected]

Environment variables

  • REMOTE_PROTOCOLrequired

    Transfer protocol

  • REMOTE_HOSTrequired

    Remote server hostname, without a URL scheme

  • REMOTE_USERrequired

    Remote username

  • REMOTE_PASSWORDsecret

    FTP/FTPS password, or SFTP password when not using a private key

  • REMOTE_ROOTrequired

    Absolute remote project directory, for example /site

  • LOCAL_ROOTrequired

    Existing absolute local project directory

  • REMOTE_PORT

    Port; defaults to 21 (FTP/FTPS), 22 (SFTP), or 990 (implicit FTPS)

  • SFTP_HOST_KEY_SHA256

    Required for SFTP: trusted SSH host key fingerprint, SHA256:...

  • SFTP_PRIVATE_KEY_FILE

    SFTP private key file outside LOCAL_ROOT, instead of a password

  • SFTP_PASSPHRASEsecret

    Passphrase for an encrypted SFTP private key

  • SFTP_TIMEOUT_MS

    SFTP inactivity timeout in milliseconds (default 30000)

  • REMOTE_EXCLUDE

    Comma-separated extra names or relative paths to exclude

  • REMOTE_MAX_FILE_BYTES

    Per-file size limit in bytes (default 10 MiB, maximum 100 MiB)

  • REMOTE_IDLE_TIMEOUT_MS

    How long an unused connection stays open, in milliseconds (default 30000; 0 disables reuse)

  • REMOTE_ALLOW_DELETE

    true adds tools that delete one previewed remote file (default false)

More MCP servers