Skip to main content
Glama

execute-command

Execute SSH commands on remote servers to run scripts, manage systems, and retrieve output results securely through a controlled interface.

Instructions

Execute command on connected server and get output result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cmdStringYesCommand to execute
connectionNameNoSSH connection name (optional, default is 'default')
timeoutNoCommand execution timeout in milliseconds (optional, default is 30000ms)
cwdNoWorking directory to execute the command in (optional)
sudoNoExecute command with sudo privileges (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