Skip to main content
Glama
woffko

codex-mcp-longrun

by woffko

Run a long command and wait locally

run_and_wait
Destructive

Execute a single approved command and return its bounded terminal result after completion, eliminating polling for builds and tests.

Instructions

Run one approved non-interactive process and return one bounded terminal result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdYesAbsolute working directory inside LONGRUN_ALLOWED_ROOTS.
argvYesCommand and arguments as an array. Shell and privilege-elevation commands are disabled.
tail_bytesNo
tail_linesNo
timeout_secNo
failure_containsNo
grace_period_secNo
success_containsNo
no_output_timeout_secNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdYes
tailNo
errorNo
stateYes
job_idYes
log_pathYes
exit_codeYes
duration_secYes
failure_matchNo
log_truncatedYes
metadata_pathYes
success_matchNo
started_at_utcYes
command_displayYes
finished_at_utcYes
output_bytes_seenYes
output_bytes_loggedYes

Tool Definition Quality

Score is being calculated. Check back soon.

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/woffko/codex-mcp-longrun'

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