Closed as duplicate of#613
Closed as duplicate of#613
Description
While developing a mcp server that wil run locally I want to use the sse protocal and not stdio. Because im running local i dont need any authentication, but the default RequireAuthMiddleware
will fail if if not isinstance(auth_user, AuthenticatedUser)
.
I want the solution to be
if not isinstance(auth_user, AuthenticatedUser) and self.required_scopes:
so if there are no required scopes I wont have to do anything and i can just connect to the server withtou any autherization
I submitted a pr #615
Metadata
Metadata
Assignees
Labels
No labels