-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When attempting to use the logintool somewhere hosted remote, I get:
2026-01-06T21:00:48.0082663Z warn: MCPify.Tools.LoginTool[0]
2026-01-06T21:00:48.0082895Z Failed to open browser automatically.
2026-01-06T21:00:48.0082935Z System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'xdg-open' with working directory '/home/site/wwwroot'. No such file or directory
It then takes about 2 minutes until i get a timeout:
2026-01-06T21:02:48.8722965Z info: MCPify.Tools.LoginTool[0]
2026-01-06T21:02:48.8723278Z Login timed out or was cancelled for session 195e01704e564fc6a0b370337fd41186
...which makes sense, since it's hosted somewhere it cannot possibly open a browser for the client. But for the end user, this also means waiting 2 minutes. After that, the LLM does understand that it just has to give the client the URL so he/she can copy that into the browser to finalize the auth flow.
This library should either:
- have a configurable option to specify to not attempt this browser opening proces, or,
- recognize it cannot attempt it in the first place, by checking the capabilities of the runtime.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels