Agentโ™ฅ๏ธŽAge
Catalog

TokenSaver

Official

by Byggarepop ยท C#

Structural warm start for AI coding agents in .NET: cheap Roslyn signature maps of C#/.NET files.

TokenSaver (io.github.Byggarepop/tokensaver) โ€” MCP Server

TokenSaver provides a structural warm start for AI coding agents in .NET. Instead of loading whole files, it supplies a cheap Roslyn-based signature map of C#/.NET code, listing every type and member with tagged line ranges so an agent reads only the needed slice.

๐Ÿ› ๏ธ Key Features

  • Structural warm start for AI coding agents in .NET
  • Roslyn compiler platform integration
  • Signature map of code: every type and member
  • Each signature includes line range metadata

๐Ÿš€ Use Cases

  • Outlining a file by reading only the relevant slices
  • Reducing overhead when operating across large codebases
  • Optimizing workflows for smaller or cheaper models that over-read

โšก Developer Benefits

  • 70โ€“95% fewer tokens compared to reading whole files
  • Up to 90% token reduction on large files
  • Largest end-to-end token savings for smaller/cheaper models and large codebases

โš ๏ธ Limitations

  • Source material only specifies token savings and Roslyn signature mapping; other MCP capabilities and tool coverage are not provided.