about mcp server restarts and sessions #7384
-
Hi, I'm developing a mcp server using fastmcp/python and connecting it to librechat. The first conenction works fine, I can use tools and so on, thanks! Now I have some questions about how to handle:
What is supposed to happen when the mcp server restarts while librechat is working? My tools stop working but I'm not really sure if this is a server or client issue. It seems like a client issue.. maybe it's not correctly restarting the session? What is supposed to happen when I click the "stop/interrupt" button while a tool is running? Right now I see errors on mcp server and then tools stop working in librechat. I tried to replicate with a python test client but I was not able to. Can you help me understand what's the supposed workflow on these two situations? mcp configuration:
I see this when I press the stop button:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
These errors are standard for what you are describing, aborting the tool call. You should still be able to continue tool calls, if not, the errors would be different. Is this the case for you? |
Beta Was this translation helpful? Give feedback.
-
Closed by #7400 |
Beta Was this translation helpful? Give feedback.
-
the "librechat not talking to tools after restart" is fixed. But I still have issues with the second usage:
I'm not sure if it's a server or librechat error.. I'm trying to replicate with a python client but I'm not able to do it right now. any idea? |
Beta Was this translation helpful? Give feedback.
Closed by #7400