Skip to content

ImportError: BearerAuthProvider not found in fastmcp.server.auth #6

@andrew-lord-dev

Description

@andrew-lord-dev

magg 0.10.1 fails to start with both fastmcp 3.0.2 and 2.14.5.

Error:
File "magg/auth.py", line 11, in
from fastmcp.server.auth import BearerAuthProvider
ImportError: cannot import name 'BearerAuthProvider' from 'fastmcp.server.auth'

Tested on Windows 10, Python 3.13, installed via uv tool install.
Also tried installing from git+https://github.com/sitbon/magg.git — same error.

BearerAuthProvider doesn't appear to exist in either fastmcp 2.14.5 or 3.0.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions