Skip to main content
Glama

secure_run_command_sequence

Execute multiple commands in sequence with security restrictions, using a specific working directory, timeout, and error handling. Supports auto-commit with custom messages for successful operations.

Instructions

Execute multiple commands in sequence with security restrictions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandsYesArray of commands to execute in sequence
commitMessageNoCustom commit message
commitResultNoAuto-commit after successful sequence
cwdNoWorking directory for all commands
stopOnErrorNoStop execution on first error (default: true)
timeoutNoTimeout per command 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/block/vscode-mcp'

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