v0.8.2: Chat MCP dropdown cannot select external/LAN SSE server (checkbox toggles off, no request sent) #11767
Unanswered
paulomac1000
asked this question in
Troubleshooting
Replies: 1 comment 1 reply
-
|
Thanks for the detailed report! The The root cause is a timing-sensitive staleness check on the backend that can report an actively-connected server as |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
What happened
In LibreChat v0.8.2 (Docker), an external/LAN MCP server (SSE transport) shows up in the chat MCP dropdown but cannot be selected: the checkbox checks and immediately unchecks.
Key observation: selecting the internal Docker MCP server works, but selecting the external LAN server results in no HTTP requests in the browser network tab (it gets reverted purely in the frontend state).
Backend logs show that LibreChat successfully initializes both MCP servers and lists tools.
What I expected
I expected the external MCP server checkbox selection to persist (be added to
mcpValues) and allow tool calls from the chat UI, similar to the internal Docker MCP server.Version Information
WARNING: This output is designed for human readability. For machine-readable output, please use --format.
ghcr.io/danny-avila/librechat-dev:latest d6cb4dfdf1ab 2.8GB 599MB U
ghcr.io/danny-avila/librechat:latest 0683d43fb723 2.72GB 595MB
LibreChat reported version (from container logs)
LibreChat backend reports:
LibreChat@v0.8.2 backend(seen indocker logs librechat)Steps to Reproduce
librechat.yaml:http://mcp-server:8000/ssehttp://192.168.0.101:9092/sse(also ensure the host/IP is included in
mcpSettings.allowedDomainsandMCP_ALLOWED_HOSTS).What browsers are you seeing the problem on?
Firefox
Relevant log output
Screenshots
Suspected frontend gating (v0.8.2)
In
client/src/hooks/MCP/useMCPServerManager.ts(toggleServerSelection), selection only persists whenconnectionState === "connected":External/LAN server often ends up
disconnected/stale(viagetServerConnectionStatus()+isStale()), so the UI never callssetMCPValues()for it and the checkbox “bounces”.Workaround verified on my setup
ghcr.io/danny-avila/librechat-dev:latestmade the external server selectable in the chat UI.and using MCP URL:
http://mcp-tunnel:9092/sse.Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions