Output display truncation #3164
Replies: 2 comments
-
Hello @yuki-js! I'm Dosu, your friendly bot here to help you solve bugs, answer questions, and guide you on your journey to becoming a contributor. I'm here while you wait for a human maintainer. How can I assist you today? To address the issue of long output causing performance problems in Visual Studio Code, you can utilize the built-in feature of the MCP to truncate or limit the size of the output. Specifically, when dealing with large text files, the MCP automatically truncates the content if it exceeds a certain line limit (e.g., 500 lines), displaying only the initial lines along with a truncation notice. This can help prevent the VS Code window from freezing due to excessive output [1]. Additionally, the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
Thanks for the report; our command execution component uses https://virtuoso.dev/ to solve this problem and I think we can do the same for our MCP integration. |
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.
-
If MCP server gives extremely long output, the rendering (especially scrolling) consumes time, framerate drops significantly, and eventually the VS Code window freezes.
If the response string could be truncated, it would not happen.

Beta Was this translation helpful? Give feedback.
All reactions