Skip to main content
Glama

transfer_file

Upload or download files between local and remote SSH servers with security policies, size limits, and required justifications for downloads.

Instructions

Upload or download a file to/from a remote host.

Enforces path policy, blocked extensions, and size limits. Downloads require a justification string. For uploads, provide local_path (the file to upload).

Pass session_id from ssh_connect to reuse a persistent connection.

Risk level: medium-high (requires user confirmation).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
host_idYes
directionYes
remote_pathYes
local_pathNo
justificationNo
session_idNo

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/bhayanak/ssh-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server