Passing cookie to the MCP server as header #7633
Closed
AvanishCodes
started this conversation in
Help Wanted
Replies: 1 comment 1 reply
-
Thanks anyway, I was able to find a solution to this one. One can pass on the received headers and set the connection store time to 0 seconds while creating the MCP connection for a particular user. |
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.
-
I have an MCP server which needs to receive a particular request header.
My LibreChat is hosted on chat.example.com
My original website is example.com
I can access the cookies from example.com on chat.example.com
Now, I want the MCP server to receive requests with header
X-User-ID
as one of the cookies. I can still make my way if I get a dump of the cookie.What changes can I make in client/server/MCP config to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions