Skip to content

Configuration

VariableDefaultDescription
KICK_ENABLEDfalseEnable/disable all Kick functionality
KICK_TOKEN-Primary authentication token
KICK_PREFIXkickURL prefix for endpoints
KICK_MCP_ENABLEDtrueEnable/disable MCP server
KICK_SCRUBBER_ENABLEDtrueEnable/disable PII scrubbing

Configure tokens with different scopes in config/kick.php:

'tokens' => [
env('KICK_TOKEN') => ['*'], // Full access
env('KICK_READONLY_TOKEN') => ['health:read', 'stats:read', 'logs:read'],
env('KICK_MONITOR_TOKEN') => ['health:read', 'queue:read'],
],
ScopeAccess
*All endpoints
health:readHealth checks
stats:readSystem statistics
logs:readRead log files
queue:readView queue status
queue:retryRetry failed jobs
artisan:listList commands
artisan:executeExecute commands

Only whitelisted commands can be executed:

'allowed_commands' => [
'about',
'route:list',
'migrate:status',
'cache:clear',
'config:cache',
'queue:retry',
'horizon:status',
],