Safety Validator
class SafetyValidator(allowedCommands: List<String>, maxEntitiesPerCommand: Int, maxBlocksPerCommand: Int)(source)
Validates Minecraft commands against a whitelist and safety rules.
All checks are pure regex/string operations with no Minecraft dependencies, so this class can live in src/main/ and be reused by both client and server MCP tools.