-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
What features would you like to see added?
LibreChat is a multi-user system and has great support for isolating users (OpenAI keys, artifacts, etc) but so far every user shares the same set of MCP tools. In our use case MCP tools provide access to data sources like DBs and have to be user-specific. Or rather MCP tools are common but each user should have their own configuration for each MCP tool.
More details
The MCP specification has a draft for OAuth 2.0 authentication (see a related #5676 feature request), but it is (a) complex and (b) requires MCP servers to be directly exposed to the user's browser.
In our setup, MCP servers are hidden in the internal (trusted) infrastructure, and exposing them to the user would be difficult.
Proposal
Add an ability for LibreChat to send a user name to MCP servers together with a request, so that the MCP server could pull the correct user profile for that specific user.
This has the following benefits:
- Allow for per-user profiles at MCP tools.
- Implementation is much simpler both on the LibreChat and MCP server sides.
- Works well when MCP tools run at the local trusted infrastructure.
Which components are impacted by your request?
General
Pictures
No response
Code of Conduct
- I agree to follow this project's Code of Conduct