MCP tool call (Kagi Summarizer) aborts after 1 minute when source extraction fails #7206
Unanswered
Dual-0
asked this question in
Troubleshooting
Replies: 1 comment
-
I reviewed timeout issues at length already in a separate thread. There is no fixed 60-second timeout, please read through the discussion and make sure you are up to date: |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Description:
When using a Model Context Protocol (MCP) server for the Kagi Summarizer (
kagimcp
), attempting to summarize a URL that the underlying Kagi Summarizer API cannot successfully extract content from results in a tool call failure with an "Operation aborted" error after exactly one minute.This issue occurs even when the
timeout
setting for the MCP server in the LibreChat configuration is increased well beyond 60 seconds.Context:
kagimcp
(Kagi MCP server).kagimcp
developer has reviewed the logs and suspects a timeout occurring on the LibreChat side, as increasing the timeout in the MCP Inspector forkagimcp
works for them, but increasing thetimeout
parameter in the LibreChat MCP config does not resolve the issue. (See related discussion on thekagimcp
GitHub: MCP server aborts when attempting to summarize URLs that Kagi web summarizer fails on kagisearch/kagimcp#8).Steps to Reproduce:
kagimcp
server with a valid Kagi API key.timeout: 120000
(or a similar value > 60000).https://kagi.com/summarizer/index.html
reports it cannot extract).Expected Behavior:
LibreChat should receive and display a more informative error message from the MCP server/tool, indicating that the source could not be extracted by the Kagi API, rather than a generic "Operation aborted" error after a fixed duration. The tool call should not necessarily time out if the MCP server itself handles the upstream API's extraction failure gracefully.
Observed Behavior:
The tool call fails after approximately 60 seconds with the error "Operation aborted".
LibreChat Logs:
(Note the consistent ~1-minute delay between the
CallToolRequest
INFO log and the subsequent ERROR logs).LibreChat MCP Config Part:
This behavior suggests there might be a fixed 60-second timeout hardcoded somewhere within LibreChat's MCP handling or tool execution logic, or potentially an issue with how LibreChat processes specific error responses from the MCP server that take longer than usual to return (even if not a formal timeout error from the server itself).
Thank you for investigating this.
Beta Was this translation helpful? Give feedback.
All reactions