Skip to main content
Glama

ssh_upload_and_execute

Upload and run scripts on remote servers via SSH to automate tasks and manage systems remotely.

Instructions

Upload a script file and execute it on the remote server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptYesScript content to upload and execute
filenameNoFilename for the script on remote servermcp_script.sh
interpreterNoScript interpreter (bash, python, etc.)bash
connectionIdNoConnection ID to usedefault
cleanupNoRemove script file after execution
timeoutNoExecution timeout in milliseconds

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/zibdie/SSH-MCP-Server'

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