MCP Server for FTP Access
Features
- **List Directory Contents**: View files and folders on the FTP server
- **Download Files**: Retrieve file content from the FTP server
- **Upload Files**: Create new files or update existing ones
- **Create Directories**: Make new folders on the FTP server
- **Delete Files/Directories**: Remove files or directories
Installation
Installing via Smithery
Prerequisites
- Node.js 16 or higher
- Claude for Desktop (or other MCP-compatible client)
Building from Source
Linux/macOS
Windows
Configuration
MacOS/Linux
Windows
Troubleshooting Windows Build Issues
- Use the provided `build-windows.bat` script which handles common build issues
- Make sure Node.js and npm are properly installed
- Try running the TypeScript compiler directly: `npx tsc`
- If you still have issues, you can use the pre-compiled files in the `build` directory by running: ``` node path\to\mcp-server-ftp\build\index.js ```
Configuration Options
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
Usage
- "List the files in the /public directory on my FTP server"
- "Download the file /data/report.txt from the FTP server"
- "Upload this text as a file called notes.txt to the FTP server"
- "Create a new directory called 'backups' on the FTP server"
- "Delete the file obsolete.txt from the FTP server"
- "Remove the empty directory /old-project from the FTP server"
Available Tools
[object Object] | [object Object] |
[object Object] | [object Object] |
[object Object] | [object Object] |
[object Object] | [object Object] |
[object Object] | [object Object] |
[object Object] | [object Object] |
[object Object] | [object Object] |
Security Considerations
- FTP credentials are stored in the Claude configuration file. Ensure this file has appropriate permissions.
- Consider using FTPS (secure FTP) by setting `FTP_SECURE=true` if your server supports it.
- The server creates temporary files for uploads and downloads in your system's temp directory.