mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-10-12 16:03:20 +02:00
The component manager's auth wrapper now builds its `RequireAuthMiddleware` with the same protected-resource metadata URL as the MCP endpoint, so a request without credentials receives a `WWW-Authenticate` challenge that includes `resource_metadata` for OAuth-backed servers that have a `base_url` or `resource_base_url`. Servers without one still return a plain 401. When the serving app is not a FastMCP app there is no known MCP path, so no metadata URL is added. Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_bulk_tool_caller.py | ||
| test_component_manager.py | ||
| test_mcp_mixin.py | ||