--- title: auth sidebarTitle: auth --- # `fastmcp.utilities.auth` Authentication utility helpers. ## Functions ### `parse_scopes` ```python parse_scopes(value: Any) -> list[str] | None ``` Parse scopes from environment variables or settings values. Accepts either a JSON array string, a comma- or space-separated string, a list of strings, or ``None``. Returns a list of scopes or ``None`` if no value is provided.