Skip to main content
Glama

SSH MCP Server

by widjis

ssh_copy_file

Facilitates file transfer between local and remote servers using specified SSH connections. Supports directory creation at the target path for efficient file management.

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

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