Install guide · VS Code
Install FTP/SFTP workspace for VS Code
Workspace file .vscode/mcp.json uses the servers key. User settings can hold the same shape.
Add to Cursor: FTP/SFTP workspaceInstall in VS Code: FTP/SFTP workspaceInstall in VS Code Insiders: FTP/SFTP workspace
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open .vscode/mcp.json on macOS, .vscode/mcp.json on Windows, or .vscode/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "servers": { "jwjp-ftp-mcp": { "type": "stdio", "command": "npx", "args": [ "-y", "@jwjp/ftp-mcp@0.8.1" ], "env": { "REMOTE_PROTOCOL": "", "REMOTE_HOST": "", "REMOTE_USER": "", "REMOTE_PASSWORD": "YOUR_REMOTE_PASSWORD", "REMOTE_ROOT": "", "LOCAL_ROOT": "", "REMOTE_PORT": "", "SFTP_HOST_KEY_SHA256": "", "SFTP_PRIVATE_KEY_FILE": "", "SFTP_PASSPHRASE": "YOUR_SFTP_PASSPHRASE", "SFTP_TIMEOUT_MS": "", "REMOTE_EXCLUDE": "", "REMOTE_MAX_FILE_BYTES": "", "REMOTE_IDLE_TIMEOUT_MS": "", "REMOTE_ALLOW_DELETE": "false" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | .vscode/mcp.json |
| Windows | .vscode/mcp.json |
| Linux | .vscode/mcp.json |