MCP Server for FTP Access
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FTP_HOST | No | FTP server hostname or IP address | localhost |
| FTP_PORT | No | FTP server port | 21 |
| FTP_USER | No | FTP username (supports encryption) | anonymous |
| FTP_SECURE | No | Use secure FTP (FTPS), ignored when FTP_PROTOCOL=sftp | false |
| FTP_PASSWORD | No | FTP password (supports encryption) | |
| FTP_PROTOCOL | No | Protocol to use: ftp or sftp | ftp |
| FTP_PASSPHRASE | No | Passphrase for the SSH private key (supports encryption) | |
| FTP_ENCRYPTION_KEY | No | 64-character hex AES-256 key for decrypting credentials | (disabled) |
| FTP_PRIVATE_KEY_PATH | No | Path to SSH private key for SFTP | (auto-detect) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list-directory | List contents of an FTP directory |
| download-fileA | Download a file from the FTP server. Text files are returned as-is; binary files are returned base64-encoded. |
| upload-file | Upload a file to the FTP server. Pass encoding "base64" to upload binary content. |
| create-directoryA | Create a new directory on the FTP server |
| delete-fileB | Delete a file from the FTP server |
| delete-directory | Delete a directory from the FTP server |
| rename-fileA | Rename or move a file or directory on the FTP server |
| edit-fileA | Edit a text file on the FTP server by replacing an exact string, without re-uploading the whole file content. oldText must match exactly (including whitespace) and be unique in the file unless replaceAll is set. |
| append-fileA | Append content to the end of a file on the FTP server (creates the file if it does not exist). Pass encoding "base64" for binary content. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alxspiker/mcp-server-ftp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server