Skip to main content
Glama

secure_run_command_sequence

Execute multiple commands sequentially with security controls, working directory specification, timeout settings, and error handling options for safe automation.

Instructions

Execute multiple commands in sequence with security restrictions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandsYesArray of commands to execute in sequence
cwdNoWorking directory for all commands
timeoutNoTimeout per command in milliseconds
commitResultNoAuto-commit after successful sequence
commitMessageNoCustom commit message
stopOnErrorNoStop execution on first error (default: true)

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/block/vscode-mcp'

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