Skip to content
Windsurf

SFTP for Windsurf

io.github.adverstm/sftp-mcp

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

client:Windsurf transport:stdio runtime:npm

Install SFTP in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "sftp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sftp-mcp"
      ],
      "env": {
        "SFTP_HOST": "<SFTP_HOST>",
        "SFTP_PORT": "<SFTP_PORT>",
        "SFTP_USER": "<SFTP_USER>",
        "SFTP_PASSWORD": "<SFTP_PASSWORD>",
        "SFTP_PRIVATE_KEY": "<SFTP_PRIVATE_KEY>",
        "SFTP_PASSPHRASE": "<SFTP_PASSPHRASE>",
        "SFTP_SERVERS_FILE": "<SFTP_SERVERS_FILE>",
        "SFTP_READ_ONLY": "<SFTP_READ_ONLY>",
        "SFTP_ALLOW_DESTRUCTIVE": "<SFTP_ALLOW_DESTRUCTIVE>",
        "SFTP_ALLOWED_WRITE_PREFIX": "<SFTP_ALLOWED_WRITE_PREFIX>",
        "SFTP_ALLOWED_READ_PREFIX": "<SFTP_ALLOWED_READ_PREFIX>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

SFTP in other clients