UI Flickering on MCP Selection Menu #9203
Replies: 6 comments 10 replies
-
Update to the latest dev image, and let us know if you're still seeing the same behaviors. Updating Instructions (docker): |
Beta Was this translation helpful? Give feedback.
-
even as one MCP server is still initializing (paypal, since it uses OAuth discovery and is in-progress), I'm not experiencing the same issues: |
Beta Was this translation helpful? Give feedback.
-
@danny-avila , updated to rc3, and the problem is even more consistent now. Recorded this short loom demonstrating: https://www.loom.com/share/c6daba52ba124171bd6c51c021adae87 |
Beta Was this translation helpful? Give feedback.
-
Just merged PR #9324 which hopefully addresses the MCP UI flickering and selection persistence issues you described. The changes fix:
Since these were race conditions that couldn't be reliably reproduced, I can't guarantee 100% resolution, but the logic is much cleaner now and I feel much better about it. The root of these issues were caused by rapid development with different contributors working on related MCP areas in isolation, leading to conflicting logic patterns. The updates should be live on |
Beta Was this translation helpful? Give feedback.
-
I am encountering the same issue. Cleaning the storage and cache in the browser doesnt make it go away, not sure where it is stored. And its not returning any errors. But opening a private window or using another browser will make it go away. |
Beta Was this translation helpful? Give feedback.
-
After managing to reproduce this, I figured out it was due to having multiple tabs/windows open, as the app will always try to sync with local storage, and there is a race condition between multiple instances. I will patch this soon and should still allow for individual selections between tabs |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
So basically what is happening is that when in the MCP selection menu for some of the MCP servers, we cannot activate it. When you click it, it does not stay marked. And that's not for all MCP servers, but for some of them. And what we also realize is that generally it might go away if you completely kill Google Chrome and get it back. But in some cases, even like opening incognito window and logging the same account, the same issue happens.
It is not something that happens all the time. It happens after a while and then you just can't select anything anymore. So it's a little bit hard to reproduce. But I have multiple users in my organization facing it frequently.
Kayako MCP server is one that has no user variables, Gmail and Google Drive are OAuth, GitHub is customUserVariable (PAT), so not much related to the authentication mechanism.
Issue persists also after reinitializing the MCP servers. No error on the logs (both librechat and MCP server logs).
The expectation was that the MCP Servers would stay selected.
Version Information
Running 0.8.0-rc2
ghcr.io/danny-avila/librechat latest f84d5bdccc27 9 days ago 1.16GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite latest aa903ee07b4f 2 weeks ago 1.45GB
ghcr.io/danny-avila/librechat ec025d2f48db 2 weeks ago 1.16GB
ghcr.io/danny-avila/librechat 8f85fa0e8ad6 4 weeks ago 1.12GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite 833a22bcf14c 6 weeks ago 1.45GB
ghcr.io/danny-avila/librechat 4b245c18cc8e 7 weeks ago 1.11GB
Steps to Reproduce
What browsers are you seeing the problem on?
Chrome
Relevant log output
No errors in browser console and nothing on debug and error logs
Screenshots
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions