Skip to main content
Glama

execute-batch

Execute multiple commands sequentially on a remote SSH server to automate tasks, with options for error handling and timeout control.

Instructions

Execute multiple commands in sequence on connected server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandsYesArray of commands to execute in sequence
connectionNameNoSSH connection name (optional, default is 'default')
timeoutNoTimeout per command in milliseconds (optional, default is 30000ms)
stopOnErrorNoStop execution if a command fails (optional, default is false)

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

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