[Enhancement]: "Bring-your-own" Local MCP servers #7268
Replies: 2 comments 7 replies
-
Claude Desktop is actually running MCP servers very similar to LibreChat. The user runs Claude Desktop, and it runs the MCP processes on their machine. You can achieve the same local "capabilities" by running LC locally. I've renamed the title of your request to match more closely what you're asking as believe you are leaning more towards the local kind of MCP servers. However, there may not be much more work involved here, if you can use this project in conjunction with LibreChat: I will be adding a way to add MCP servers from the UI on a per-user/admin basis, which is a separate but related discussion. |
Beta Was this translation helpful? Give feedback.
-
So, I just recently got this working for our Shopify instance and we want to open source the parts that aren't LC related and hopefully incorporate it into LC core. VERY EARLY EXAMPLEThis is a VERY EARLY version of it working in our staging environment. This currently heavily relies on our custom auth we have in place and some other features that aren't fully compatible with upstream. It will also require another tunnel that we will hopefully open source. But this is an example of it talking to my local folders using the example Filesystem MCP server from the MPC repo. This does not require NGROK, it actually connects to the frontend through a "tunnel" which the frontend acts as a bridge to the backend using the frontend's auth. This way it can better use horizontal scaling in the future. The Tunnel and Web App are authenticated with each other too, so you don't have a random site looking for this on your machine and using it without your permission. Screen.Recording.2025-08-26.at.3.14.17.PM.1.mov |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What features would you like to see added?
I would like to see LibreChat provide a built-in mechanism for seamlessly connecting local MCP servers (or local companion apps) to a centrally deployed LibreChat instance. This feature is crucial for scenarios where a user needs personal, granular access to local resources (e.g., filesystem, Outlook calendar, email) that cannot be exposed to a shared backend server.
A browser-based approach alone can’t directly connect the remote server to localhost. Enabling local MCP servers or companion apps, similar in concept to tools like GetMCP (but free), would let each user securely handle local operations while still benefiting from LibreChat’s LLM capabilities. This mirrors how Claude Desktop manages local file access by running an MCP server on the user’s machine.
More details
Currently, users can only connect MCP servers via the centrally deployed LibreChat backend. There is no straightforward way for the backend to talk to a user’s localhost MCP server.
If we don't find a way to accomplish this we might fall behind dedicated local apps (vs. Web-App) like Claude Desktop.
Which components are impacted by your request?
No response
Pictures
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions