secure_run_command
Execute restricted commands securely on the Code MCP Server, specifying working directory, timeout, and environment variables, with optional auto-commit functionality.
Instructions
Execute a command with security restrictions (only allowed commands)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Command to execute securely | |
commitMessage | No | Custom commit message if commitResult is true | |
commitResult | No | Auto-commit changes after successful execution | |
cwd | No | Working directory | |
env | No | Environment variables | |
timeout | No | Command timeout in milliseconds |