execute_command
Run system commands securely on the MCP Filesystem Server. Validates inputs, enforces timeouts, and captures output for controlled, safe execution of basic operations within restricted directories.
Instructions
Execute a system command with security restrictions. Validates commands for safety and provides detailed output. Limited to basic system operations with security checks.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
captureOutput | No | Whether to capture and return command output | |
command | Yes | The command to execute | |
timeout | No | Maximum execution time in milliseconds (max 30s) | |
workingDir | No | Working directory for command execution |