SFTP-only file access for AI: browse, edit, transfer and sync files, no shell access needed.
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 sftp-mcp \ -- npx -y [email protected]
Environment
SFTP_HOST (optional, not in the config above): SSH host (single-server mode).SFTP_PORT (optional, not in the config above): SSH port.SFTP_USER (optional, not in the config above): SSH username (single-server mode).SFTP_PASSWORD (optional, not in the config above): Password authentication.SFTP_PRIVATE_KEY (optional, not in the config above): Path to a private key file.SFTP_PASSPHRASE (optional, not in the config above): Passphrase for the private key.SFTP_SERVERS_FILE (optional, not in the config above): Path to a JSON map of server id to connection, for multiple servers. Replaces the single-server variables.SFTP_READ_ONLY (optional, not in the config above): Deny every remote mutation.SFTP_ALLOW_DESTRUCTIVE (optional, not in the config above): Set to false to deny delete, rmdir, rename and non-dry-run sync.SFTP_ALLOWED_WRITE_PREFIX (optional, not in the config above): Absolute remote path prefix that mutations are limited to.SFTP_ALLOWED_READ_PREFIX (optional, not in the config above): Absolute remote path prefix that reads are limited to.We don't run packages, so we can't list this server's tools.