ftpmcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ftpmcplist files in /public_html on the website host"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🗃️ftpmcp🗃️
A focused Model Context Protocol server for FTP and FTPS file operations. It deliberately does not implement SFTP: SSH-based transfers belong in an SSH MCP instead of duplicating credentials and transport logic here.
Features
Plain FTP, explicit FTPS and implicit FTPS
Any number of named FTP hosts in one MCP process
Remote operations restricted to each host's
rootLocal uploads and downloads restricted to each host's
local_root, including symlink checksRead-only mode and separately guarded deletion
Structured MCP results and errors
No credential values in tool responses
Related MCP server: filemanager-mcp-server
Installation
npm install -g @vielhuber/ftpmcpConfiguration
{
"hosts": [
{
"host": "website",
"hostname": "ftp.example.com",
"protocol": "ftps",
"port": 21,
"username": "user",
"password": "your_password",
"root": "/public_html",
"local_root": "/host/data",
"read_only": false,
"allow_delete": false,
"tls_reject_unauthorized": true,
"timeout": 30000
}
]
}Pass the file to the server:
export FTP_CONFIG_FILE=/path/to/ftp-hosts.jsonprotocol accepts ftp, ftps and ftps-implicit. Prefer FTPS whenever the server supports it. Plain FTP sends credentials and content without transport encryption.
root is the visible remote root for every tool path on that host. Configure the FTP account itself with an equivalent server-side chroot: FTP cannot reliably prevent a server-provided symbolic link from pointing outside a merely client-side path boundary.
local_root restricts local uploads and downloads. Both relative paths and absolute paths below that directory are accepted.
read_only: true blocks uploads, directory creation, renames and deletion. Deletion additionally requires allow_delete: true.
Every operation except list_hosts requires the selected host alias.
MCP client
{
"mcpServers": {
"ftp": {
"command": "ftpmcp",
"env": {
"FTP_CONFIG_FILE": "/path/to/ftp-hosts.json"
}
}
}
}Tools
Tool | Purpose |
| List every configured host without credentials |
| Verify the configured connection and login |
| List one remote directory |
| Download a remote file below the selected host's |
| Upload a local file without overwriting by default |
| Create a remote directory |
| Rename or move a remote file or directory |
| Delete one file when deletion is enabled |
| Delete an empty or explicitly recursive directory when deletion is enabled |
Development
npm install
npm test
npm run format:checkLicense
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Browse and manage files in your Moxt AI workspace from any MCP client.
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server for performing filesystem operations, enabling file management and manipulation through natural language.MIT
- AlicenseCqualityCmaintenanceA file management MCP server enabling complete file and directory operations, including advanced editing, templates, and batch processing through natural language.199 npm3ISC
- AlicenseAqualityAmaintenanceAn MCP server that enables AI coding agents to deploy files to FTP/FTPS/SFTP servers, with path jail, read-only mode, and dry-run capabilities.10MIT
- AlicenseBqualityAmaintenanceA secure file management MCP server enabling file operations like listing, reading, creating, renaming, moving, copying, deleting, and searching within a restricted workspace.10MIT