Describe the requirement
When the MCP server returns an unauthorized error find the authorization server using ,well-known endpoint and then start a OAUTH2 code flow with DCR to obtain a access token OR if the access token exists, call the token endpoint to refresh the token.
Describe the requirement
When the MCP server returns an unauthorized error find the authorization server using ,well-known endpoint and then start a OAUTH2 code flow with DCR to obtain a access token OR if the access token exists, call the token endpoint to refresh the token.