Re:Stop Burning Your Context Window – How We Cut MCP Output ...
by wonnage on Sunday March 01, 2026 @01:01AM
(#47204125)
I think telling it to run those in a subagent should accomplish the same thing and ensure only the answer makes it to the main context. Otherwise you will still have some bloat from reading the exact output, although in some cases that could be good if you’re debugging or something
Re:Stop Burning Your Context Window – How We Cut MCP Output ...
by esperent on Sunday March 01, 2026 @06:32AM
(#47205791)
Not really because it reliably greps or searches the file for relevant info. So far I haven't seen it ever load the whole file. It might be more efficient for the main thread to have a subagent do it but probably at a significant slowdown penalty when all I'm doing is linting or running tests. So this is probably a judgement call depending on the situation.
I've set up a hook that blocks directly running certain common tools and instead tells Claude to pipe the output to a temporary file and search that for relevant info. There's still some noise where it tries to run the tool once, gets blocked, then runs it the right way. But it's better than before.