Skip to main content

One post tagged with "token-optimization"

View All Tags

@ttsc/graph: An MCP Server That Gives AI Agents a Map of Your TypeScript Codebase

ยท 5 min read
Gergely Sipos
Frontend Architect

AI coding agents waste a remarkable number of tokens just figuring out how your code connects. They open file after file, read imports, chase type definitions, and slowly build a mental model of architecture โ€” burning through context windows and money in the process. @ttsc/graph takes a different approach: it hands the agent a compiler-resolved architecture graph upfront, so it can navigate by structure instead of reading source. It's early (v0.16), requires TypeScript v7 rc, and the benchmarks are vendor-supplied โ€” but the idea is sharp enough to be worth knowing about. The author is Jeongho Nam (samchon), known for typia and nestia, which adds some credibility to the execution.