Skip to main content

FTP/SFTP workspace

io.github.jwjp/ftp-mcp

v0.8.0Updated Dec 5, 2026stdio · npm

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

Install

Replace 5 placeholders with your own values.

Run in your terminal. Replace 5 placeholders.

claude mcp add ftp-mcp -e 'REMOTE_PROTOCOL=<your-remote-protocol>' -e 'REMOTE_HOST=<your-remote-host>' -e 'REMOTE_USER=<your-remote-user>' -e 'REMOTE_ROOT=<your-remote-root>' -e 'LOCAL_ROOT=<your-local-root>' -e REMOTE_ALLOW_DELETE=false -- npx -y @jwjp/[email protected]

Configuration

15 settings.

  • REMOTE_PROTOCOL
    Env var· required
    Transfer protocol
  • REMOTE_HOST
    Env var· required
    Remote server hostname, without a URL scheme
  • REMOTE_USER
    Env var· required
    Remote username
  • REMOTE_ROOT
    Env var· required
    Absolute remote project directory, for example /site
  • LOCAL_ROOT
    Env var· required
    Existing absolute local project directory
  • REMOTE_PASSWORD
    Env var· optional· secret
    FTP/FTPS password, or SFTP password when not using a private key
Show 9 more
  • SFTP_PASSPHRASE
    Env var· optional· secret
    Passphrase for an encrypted SFTP private key
  • REMOTE_PORT
    Env var· optional
    Port; defaults to 21 (FTP/FTPS), 22 (SFTP), or 990 (implicit FTPS)
  • SFTP_HOST_KEY_SHA256
    Env var· optional
    Required for SFTP: trusted SSH host key fingerprint, SHA256:...
  • SFTP_PRIVATE_KEY_FILE
    Env var· optional
    SFTP private key file outside LOCAL_ROOT, instead of a password
  • SFTP_TIMEOUT_MS
    Env var· optional
    SFTP inactivity timeout in milliseconds (default 30000)
  • REMOTE_EXCLUDE
    Env var· optional
    Comma-separated extra names or relative paths to exclude
  • REMOTE_MAX_FILE_BYTES
    Env var· optional
    Per-file size limit in bytes (default 10 MiB, maximum 100 MiB)
  • REMOTE_IDLE_TIMEOUT_MS
    Env var· optional
    How long an unused connection stays open, in milliseconds (default 30000; 0 disables reuse)
  • REMOTE_ALLOW_DELETE
    Env var· optional
    true adds tools that delete one previewed remote file (default false)Default: false

Listed in the official MCP Registry since Dec 5, 2026. Mirrored daily; last checked Dec 5, 2026.