FrancescoCastaldi commented on issue #45492: URL: https://github.com/apache/superset/issues/45492#issuecomment-6524019889
### Root Cause Analysis & Solution In `superset/mcp_service/auth.py` and `superset/mcp_service/mcp_config.py`, the fallback configuration for `MCP_API_KEY_CREATE_URL` is hardcoded as `"/profile/"`. In Superset 7.x, user API key management is served from `"/user_info/"`. When an unauthenticated MCP request is received, the generated 401 response directs the user to a nonexistent `/profile/` route resulting in a 404 error. #### Solution Update the default fallback URL in both `auth.py` and `mcp_config.py` from `"/profile/"` to `"/user_info/"`. Committed to branch `fix/community-unanswered-issues` (commit `39188c68083`) at https://github.com/FrancescoCastaldi/superset/tree/fix/community-unanswered-issues. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
