Skip to main content
Glama
alxspiker

MCP Server for FTP Access

by alxspiker

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FTP_HOSTNoFTP server hostname or IP addresslocalhost
FTP_PORTNoFTP server port21
FTP_USERNoFTP username (supports encryption)anonymous
FTP_SECURENoUse secure FTP (FTPS), ignored when FTP_PROTOCOL=sftpfalse
FTP_PASSWORDNoFTP password (supports encryption)
FTP_PROTOCOLNoProtocol to use: ftp or sftpftp
FTP_PASSPHRASENoPassphrase for the SSH private key (supports encryption)
FTP_ENCRYPTION_KEYNo64-character hex AES-256 key for decrypting credentials(disabled)
FTP_PRIVATE_KEY_PATHNoPath to SSH private key for SFTP(auto-detect)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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