Install guide · Cursor
Install FTP/SFTP workspace for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
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 ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "jwjp-ftp-mcp": { "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 | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |