MinifyFile
Lossless minify of an entire file — strips comments and whitespace, logic unchanged. Auto-dispatches by extension (C#, Razor, JS/TS, Python, HTML, CSS, JSON, YAML, XML, C, C++, X++, VB.NET).
How to use it
MinifyFile is exposed by the TokenSaver MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the MinifyFile tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL TOKENSAVER LISTINGOther tools in TokenSaver (2)
Signatures of every type and member — no bodies. Best for "what's in this file?"
Finds every Dependency-Injection registration referencing a type (interface or concrete) and returns a compact table of file:line, method, ServiceType -> ImplType, and key. Answers "where is IFoo wired, and to what?"