TokenSaver MCP Server

Token-efficient C#, Razor, and .NET file views for AI assistants. 50-95% token reduction via Roslyn.

Local serverstdioPython

What is the TokenSaver MCP Server?

Token-efficient C, Razor, and .NET file views for AI assistants. 50-95% token reduction via Roslyn.

What the server does

A structural warm start for AI coding agents in .NET. Instead of loading whole files into your assistant, TokenSaver hands it a cheap map of your code — every type and member as a signature, each tagged with its line range — so the model reads only the slice it needs instead of slurping the file. Built on the Roslyn compiler platform.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Example prompts to try

  • “Use TokenSaver to OutlineCSharpFile.”
  • “Use TokenSaver to MinifyFile.”
  • “Use TokenSaver to TraceDiRegistrations.”

Frequently asked questions

Token-efficient C#, Razor, and .NET file views for AI assistants. 50-95% token reduction via Roslyn. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.