Skip to main content
Glama
sftp-mcp
by AdversTM

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SFTP_HOSTNoSSH host. Required in single-server mode.
SFTP_PORTNoSSH port.22
SFTP_USERNoSSH username. Required in single-server mode.
SFTP_SERVERSNoJSON map of server id to connection, passed inline. Alternative to SFTP_SERVERS_FILE.
SFTP_LOG_FILENoAlso append logs to this file, for clients that hide stderr. Its directory must exist.
SFTP_PASSWORDNoPassword authentication.
SFTP_READ_ONLYNoDeny every remote mutation.false
SFTP_CHUNK_SIZENoTransfer chunk size in bytes (minimum 1024).32768
SFTP_PASSPHRASENoPassphrase for the private key.
SFTP_PRIVATE_KEYNoPath to a private key file.
SFTP_SERVERS_FILENoPath to a file containing the JSON map of server id to connection. Alternative to SFTP_SERVERS.
SFTP_READY_TIMEOUTNoSSH handshake timeout, in ms.20000
SFTP_DISABLED_TOOLSNoComma-separated tool names to hide from the client.
SFTP_MAX_READ_BYTESNoSize limit for sftp_read. Larger files must use sftp_download.1048576
SFTP_MAX_CONCURRENCYNoDefault parallelism of the batch tools.8
SFTP_ALLOW_DESTRUCTIVENofalse denies delete, rmdir, rename and non-dry-run sync.true
SFTP_ALLOWED_READ_PREFIXNoAbsolute path prefix for reads (single-server mode).
SFTP_ALLOWED_WRITE_PREFIXNoAbsolute path prefix for mutations (single-server mode).
SFTP_TRANSFER_CONCURRENCYNoIn-flight requests per file transfer.64

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources