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) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list-directoryC | 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-fileB | Upload a file to the FTP server. Pass encoding "base64" to upload binary content. |
| upload-local-fileA | Upload a file from this computer to the FTP server by path, streamed, so file size is not limited by the request. Only files inside the directories listed in FTP_LOCAL_ROOTS can be uploaded. |
| download-to-localA | Download a file from the FTP server straight to a path on this computer, streamed, without returning its contents. Only paths inside the directories listed in FTP_LOCAL_ROOTS can be written. |
| create-directoryB | Create a new directory on the FTP server |
| delete-fileB | Delete a file from the FTP server |
| delete-directoryC | Delete a directory from the FTP server |
| rename-fileC | 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 | |
TDQS
Scored across 11 tools
Most tools target a distinct resource+action combination (create vs delete vs list vs rename). The only real overlap is between the content-based and local-path-based transfer pairs (upload-file/upload-local-file, download-file/download-to-local), but the descriptions explicitly clarify the streamed-vs-in-memory distinction. An agent should be able to choose correctly with a careful read.
Nine of eleven tools follow a clean verb_noun hyphenated pattern (delete-file, list-directory, rename-file, create-directory, edit-file, append-file). The two local-path transfer tools (upload-local-file, download-to-local) deviate with extra qualifiers, but the convention remains readable and predictable overall.
Eleven tools is well-scoped for an FTP server, and each earns its place: directory CRUD, file transfer both in-memory and streamed, plus targeted edit/append operations. Nothing feels redundant or padded.
The surface covers the core FTP lifecycle: create/delete/list directories, upload/download (both content and streamed), rename/move, edit and append. Gaps are minor but real: no stat/metadata or existence-check tool, no permission/chmod handling, and no recursive directory listing or search, which agents may need to verify operations.