OAuth Err
https://autorag.mcp.cloudflare.com/oauth/authorize?response_type=code&client_id=AftsgUpCUV7kjQAk&code_challenge=X__Sg-idGixZUBboYyxNJEixbjpcnd5lQP23nAO-094&code_challenge_method=S256&redirect_uri=http%3A%2F%2F127.0.0.1%3A49762%2Foauth%2Fcallback
I config mcp-remote into my Claude.app desktop file. The OAuth return 500 error: Internal Error.
I change rediect_uri port from 53300 to 3334.
Since I see npx mcp-remote logs below.
(fastmcp) ➜ fastmcp-server git:(develop) npx mcp-remote https://autorag.mcp.cloudflare.com/sse [32815] Using automatically selected callback port: 49762 [32815] [32815] Connecting to remote server: https://autorag.mcp.cloudflare.com/sse [32815] Using transport strategy: http-first [32815] Please authorize this client by visiting: https://autorag.mcp.cloudflare.com/oauth/authorize?response_type=code&client_id=AftsgUpCUV7kjQAk&code_challenge=X__Sg-idGixZUBboYyxNJEixbjpcnd5lQP23nAO-094&code_challenge_method=S256&redirect_uri=http%3A%2F%2F127.0.0.1%3A49762%2Foauth%2Fcallback [32815] Browser opened automatically. [32815] Authentication required. Initializing auth... [32815] Initializing auth coordination on-demand [32815] Another instance is handling authentication on port 3334 [32815] Waiting for authentication from the server on port 3334... [32815] Querying: http://127.0.0.1:3334/wait-for-auth [32815] Authentication still in progress [32815] Querying: http://127.0.0.1:3334/wait-for-auth [32815] Authentication still in progress [32815] Querying: http://127.0.0.1:3334/wait-for-auth [32815] Authentication still in progress [32815] Querying: http://127.0.0.1:3334/wait-for-auth [32815] Authentication still in progress [32815] Querying: http://127.0.0.1:3334/wait-for-auth [32815] Authentication still in progress [32815] Querying: http://127.0.0.1:3334/wait-for-auth
For now, clearing saved auth info using rm -rf ~/.mcp-auth should resolve the error, but this is a big issue
@geelen should we track on mcp-remote repo?
For now, clearing saved auth info using
rm -rf ~/.mcp-authshould resolve the error, but this is a big issue
My solution: change the redirect port to 3334, and re-enter this profile. Can solve this problem.
However, the autorag mcp tool: list_rags has internal problem. @irvinebroque @geelen https://github.com/cloudflare/mcp-server-cloudflare/issues/146