Skip to main content
Glama

process_run_script

Execute multi-line shell scripts by writing them to temporary files and running them, returning structured JSON output with execution results including success status, return codes, and output streams.

Instructions

[process] Run a multi-line shell script. Writes to a temp file and executes it. Returns JSON with: success, returncode, stdout, stderr, truncated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptYes
timeoutNo
cwdNo
interpreterNo
Install Server

Other Tools

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/0-co/agent-friend'

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