MCP Servers Context window issue #7847
Replies: 2 comments 6 replies
-
It's likely a context window issue, what provider and model are you using? You may get around it if you set an appropriate value for max context tokens: Potentially related: #7818 (comment) |
Beta Was this translation helpful? Give feedback.
-
I encountered the same error. The endpoint is a vLLM deployment of the Qwen3-8B model. If the MCP server is not enabled, the model responds normally. But once the MCP server is enabled, it immediately returns a 400 status code (no body). The vLLM server logs show:
Unlike the issue mentioned above, this has nothing to do with the size of the data returned by the MCP server — as long as the MCP server is enabled, even a simple input like "hello" will trigger the error. LibreChat version: v0.7.9-rc1 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
We found that when the amount of data returned by mcpServer is small, it works normally. However, when the data volume is large, it reports an error: Something went wrong. Here's the specific error message we encountered: An error occurred while processing the request: 400 status code (no body).
Version Information
Steps to Reproduce
If you directly use mcpServer to return a large amount of data, this error will occur. However, when mcpServer returns a small amount of data, it can be parsed and returned correctly.
What browsers are you seeing the problem on?
Chrome
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions