execute_command_streaming
Run long shell commands and receive output incrementally, ideal for builds and tests, with automatic blacklist security.
Instructions
Execute a long-running command and return output incrementally.
Intended for commands that produce output over time (builds, tests, long scripts). Output is collected line by line and returned as a single string; for true streaming, the MCP client would use SSE.
The command is blocked if it matches the security blacklist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to execute with streaming output. | |
| working_directory | No | Working directory for the command. | |
| timeout_seconds | No | Overall timeout in seconds. 0 = use configured default. | |
| environment | No | Additional environment variables as a dict. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |