"""Environment-driven configuration for the DICOM MCP server."""

import os

# PII filtering: set DICOM_MCP_PII_FILTER=true to redact patient tags
PII_FILTER_ENABLED: bool = os.environ.get("DICOM_MCP_PII_FILTER", "").lower() in (
    "true",
    "1",
    "yes",
)

# Safety limit for directory scans
MAX_FILES: int = int(os.environ.get("DICOM_MCP_MAX_FILES", "1000"))
