bash_pipe
Execute a sequence of Bash commands piped together on the MCP Filesystem Server. Combine commands for advanced processing, with results capturing both stdout and stderr.
Instructions
Execute a sequence of Bash commands piped together. Allows for powerful command combinations with pipes. Results include both stdout and stderr.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
commands | Yes | Array of commands to pipe together | |
env | No | Additional environment variables for the command | |
timeout | No | Maximum execution time in milliseconds (max 60s) | |
workingDir | No | Working directory for command execution |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"commands": {
"description": "Array of commands to pipe together",
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"env": {
"additionalProperties": {
"type": "string"
},
"description": "Additional environment variables for the command",
"type": "object"
},
"timeout": {
"default": 30000,
"description": "Maximum execution time in milliseconds (max 60s)",
"exclusiveMinimum": 0,
"maximum": 60000,
"type": "integer"
},
"workingDir": {
"description": "Working directory for command execution",
"type": "string"
}
},
"required": [
"commands"
],
"type": "object"
}