Reduce coding-agent context load with Token Savior
Connect coding agents to a Token Savior MCP server for structural code navigation, persistent recall, compact command output, and token-aware project context reuse.
Prerequisites
MCP-compatible coding agent, Python, pip or uv, token-savior-recall package, access to local project files and optional shell/test output hooks
Installation
Use the upstream install or setup path that matches your environment:
- git clone https://github.com/Mibayy/tsbench && cd tsbench
Requirements and caveats from upstream:
Basic usage or getting-started notes:
Fixed pytest regex: now matches python3 -m pytest, uv run pytest,
venv-prefixed forms, poetry/hatch/pdm/rye run pytest.
prints a unified diff, backs up settings.json, idempotent on re-run.
Extracted from upstream docs: https://raw.githubusercontent.com/Mibayy/token-savior/HEAD/README.md