A secure Model Context Protocol (MCP) server for executing controlled command-line operations with robust security features like command whitelisting, path validation, and execution controls.
| Parameter | Description |
|---|---|
| Path to the repository and command to run* | Single value |
| ALLOWED_DIR* | Base directory for command execution |
| ALLOWED_COMMANDS* | Comma-separated list of allowed commands or 'all' |
| ALLOWED_FLAGS* | Comma-separated list of allowed flags or 'all' |
| MAX_COMMAND_LENGTH* | Maximum command string length |
| COMMAND_TIMEOUT* | Command execution timeout in seconds |
| Parameter | Description |
|---|---|
| Command to run the MCP server* | Single value |
| ALLOWED_DIR* | Base directory for command execution |
| ALLOWED_COMMANDS* | Comma-separated list of allowed commands or 'all' |
| ALLOWED_FLAGS* | Comma-separated list of allowed flags or 'all' |
| MAX_COMMAND_LENGTH* | Maximum command string length |
| COMMAND_TIMEOUT* | Command execution timeout in seconds |