pare-process
v0.24.2Pare Process — Run commands with structured output, timeout, and signal support as typed JSON.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run Process Run
Runs a command and returns structured output (stdout, stderr, exit code, duration, timeout status). **Security warning**: This tool executes arbitrary commands on the host system. Configure `PARE_PROCESS_ALLOWED_COMMANDS` (comma-separated list of allowed executables) to restrict which commands can be run. Without this configuration, ANY command is permitted. Configure `PARE_PROCESS_ALLOWED_ROOTS` to restrict working directories. **Shell mode**: The `shell` parameter enables shell-mode execution. When shell=true, the command string is passed through the system shell (e.g., /bin/sh or cmd.exe…
| Parameter | Type | Description |
|---|---|---|
command * | string | Executable name to run (e.g., 'node', 'python', 'echo'). This must be the executable only — pass arguments via the 'args' array. Do NOT include arguments here (e.g., 'echo hello' will fail). |
args | array | Arguments to pass to the command |
compact | boolean | Prefer compact output |
cwd | string | Working directory |
encoding | string | Output encoding for commands that produce non-UTF-8 output (default: utf-8) |
env | object | Additional environment variables as key-value pairs |
killSignal | string | Signal sent to the process on timeout (default: SIGTERM) |
maxBuffer | integer | Maximum combined stdout+stderr buffer size in bytes (default: 10MB, max: 100MB) |
maxOutputLines | integer | Truncate stdout/stderr to this many lines (more agent-friendly than byte-based maxBuffer) |
shell | boolean | Run the command through the system shell (enables glob expansion, piping, variable substitution). WARNING: shell=true exposes the command to shell injection risks. Only use when you trust the input. |
stdin | string | Input data to write to the command's stdin (e.g., for piping to jq, grep) |
stripEnv | boolean | Run with a minimal environment (only PATH + explicit env vars). Prevents leaking sensitive parent environment variables to the child process. |
timeout | integer | Timeout in milliseconds (default: 60000, max: 600000) |
reload Reload Server
Rebuilds the MCP server (or a specified project) and sends a `notifications/tools/list_changed` notification so the host re-fetches tool definitions. Useful during local development when code changes require a rebuild without restarting the session. Default build command: `pnpm build`. Override with `buildCommand` for custom setups. **Security warning**: The `buildCommand` parameter executes arbitrary commands. Configure `PARE_PROCESS_ALLOWED_COMMANDS` to restrict which executables are permitted. When not configured, any command is allowed.
| Parameter | Type | Description |
|---|---|---|
buildCommand | string | Build command to run (default: "pnpm build") |
path | string | Working directory |
timeout | integer | Build timeout in milliseconds (default: 120000, max: 600000) |