Guarded FTP, FTPS, and SFTP transfers for AI coding: list, download, preview, and verified upload
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
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 \ -- npx -y @jwjp/[email protected]
Environment
REMOTE_PROTOCOL (required): Transfer protocolREMOTE_HOST (required): Remote server hostname, without a URL schemeREMOTE_USER (required): Remote usernameREMOTE_PASSWORD (optional, not in the config above): FTP/FTPS password, or SFTP password when not using a private keyREMOTE_ROOT (required): Absolute remote project directory, for example /siteLOCAL_ROOT (required): Existing absolute local project directoryREMOTE_PORT (optional, not in the config above): Port; defaults to 21 (FTP/FTPS), 22 (SFTP), or 990 (implicit FTPS)SFTP_HOST_KEY_SHA256 (optional, not in the config above): Required for SFTP: trusted SSH host key fingerprint, SHA256:...SFTP_PRIVATE_KEY_FILE (optional, not in the config above): SFTP private key file outside LOCAL_ROOT, instead of a passwordSFTP_PASSPHRASE (optional, not in the config above): Passphrase for an encrypted SFTP private keySFTP_TIMEOUT_MS (optional, not in the config above): SFTP inactivity timeout in milliseconds (default 30000)REMOTE_EXCLUDE (optional, not in the config above): Comma-separated extra names or relative paths to excludeREMOTE_MAX_FILE_BYTES (optional, not in the config above): Per-file size limit in bytes (default 10 MiB, maximum 100 MiB)REMOTE_IDLE_TIMEOUT_MS (optional, not in the config above): How long an unused connection stays open, in milliseconds (default 30000; 0 disables reuse)REMOTE_ALLOW_DELETE (optional, not in the config above): true adds tools that delete one previewed remote file (default false)We don't run packages, so we can't list this server's tools.
Runs on your machine from a package. We don't run packages, so it isn't checked.