-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Cc: @calumjs @ricksu978 @adamcogan
Hi YakShaver team
Describe the Bug
When connecting to an MCP server, completing the external authorization flow can show âauthorization successfulâ, but YakShaver remains disconnected and the health check fails if the user clicks Cancel (instead of Open YakShaver) on the authorization completion screen.
To Reproduce
Steps to reproduce the behavior:
- In YakShaver Desktop App, initiate Connect to an MCP server.
- Complete the authorization and accept/approve.
- When prompted, click Cancel (do not click Open YakShaver).
- Return to YakShaver.
- Observe the connection status is not connected.
- Observe the MCP server health check does not work.
- Repeat the flow.
- Click Open YakShaver.
- Observe the MCP server connects successfully.
Expected Behavior
After the user approves authorization, YakShaver should become connected to the MCP server and the health check should work, regardless of whether the user clicks Open YakShaver or Cancel on the post-authorization screen.
Tasks
- Investigate why the âCancelâ path does not finalize the MCP connection state
- Fix the authorization callback handling so connection state is persisted without requiring âOpen YakShaverâ
More Information
This appears to be specific to the âCancel/back to YakShaverâ path after a successful authorization.
Environment
- Device: Windows PC
- Browser: (used in auth flow; unknown)
- OS: Windows
Screenshots
Thanks!
Reactions are currently unavailable
