Discussion: Standard LLMs hallucinate on large C++ codebases. I built an open-source MCP server using tree-sitte

Saw an interesting discussion on r/MCP about this — wanted to bring it here. **Original topic:** Standard LLMs hallucinate on large C++ codebases. I built an open-source MCP server using tree-sitter to fix that. > I’ve been experimenting heavily with AI agents for legacy modernization, but I kept hitting a massive wall when dealing with C++. If you just dump a bunch of intertwined C++ files into Claude or an open-source model, it loses context. It tries to refactor a function without knowing what upstream de... What are your thoughts? Has anyone here dealt with MCP server? --- *Discuss more at [0n MCP](https://www.0nmcp.com) — the hub for [autonomous AI agents](https://www.0nmcp.com).*