diff --git a/packages/mcp/config/mcp.php b/packages/mcp/config/mcp.php index adc92880a..af080f6d2 100644 --- a/packages/mcp/config/mcp.php +++ b/packages/mcp/config/mcp.php @@ -22,8 +22,8 @@ 'queue:status', 'queue:failed', ], - // Lets run_console_command run an allowed command whose definition declares a `force` flag (db:reset, - // db:rollback, db:seed...). Off by default: the agent can pass --force itself, so the flag is no guard. + // Lets run_console_command run an allowed command marked #[Command(destructive: true)] (db:reset, + // cache:clear, queue:clear...). Off by default: the agent can pass --force itself, so that is no guard. 'allow_destructive' => Env::bool('MCP_ALLOW_DESTRUCTIVE', false), ], 'database' => [