Skip to main content
Glama

MCP SSH Server

by mahathirmuh

ssh_copy_file

Copy files between local and remote servers or between remote servers using SSH connections. Specify source and target paths with connection IDs to transfer files securely.

Instructions

Copy files between local and remote servers or between remote servers

Input Schema

NameRequiredDescriptionDefault
createDirectoriesNoCreate target directories if they don't exist
sourceConnectionIdYesSource SSH connection ID (use "local" for local files)
sourcePathYesSource file path
targetConnectionIdYesTarget SSH connection ID (use "local" for local files)
targetPathYesTarget file path

Input Schema (JSON Schema)

{ "properties": { "createDirectories": { "default": true, "description": "Create target directories if they don't exist", "type": "boolean" }, "sourceConnectionId": { "description": "Source SSH connection ID (use \"local\" for local files)", "type": "string" }, "sourcePath": { "description": "Source file path", "type": "string" }, "targetConnectionId": { "description": "Target SSH connection ID (use \"local\" for local files)", "type": "string" }, "targetPath": { "description": "Target file path", "type": "string" } }, "required": [ "sourceConnectionId", "sourcePath", "targetConnectionId", "targetPath" ], "type": "object" }

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

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