Does my code leave my machine?
No. The proxy listens on 127.0.0.1 only. Compression and storage are local; the only outbound traffic is the request to the model endpoint you already configured.

@connorbless1990
基本信息
Cut your AI coding agent's token spend. Compresses large request blocks locally, keeps every original one tool call away, and never breaks the KV cache.


使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"tds": {
"command": "npx",
"args": [
"-y",
"@token-disrespector/mcp"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
Token Disrespector is a local-first context compressor for AI coding agents. It runs a proxy on 127.0.0.1 that sits between your agent and the model, and rewrites the huge parts of each request — file dumps, command output, search results — before they are sent.
Each large block is compressed with a compressor chosen for its content type and replaced with a short marker holding a 12-character handle. The original bytes stay on disk. When the model actually needs one back, it calls the bundled MCP tool with the handle and receives the exact original.
The design is deliberately conservative: it fails open (any error passes the request through untouched), it is loopback-only, and it is KV-cache aware — compressed output stays stable across turns so the model server's prompt cache keeps working. Naive rewriting invalidates that cache and quietly erases the savings.
Written in TypeScript, MIT licensed, zero runtime dependencies, Node.js 20 or newer.
Install the CLI and start the proxy:
npm i -g token-disrespector
tds proxy
Point your agent's API base URL at http://127.0.0.1:8788/v1, then check what you saved:
tds stats
To let the model retrieve compressed originals, add the MCP server to your client:
{
"mcpServers": {
"tds": {
"command": "npx",
"args": ["-y", "@token-disrespector/mcp"]
}
}
}
It exposes two tools: tds_retrieve returns the byte-exact original for a handle, and tds_stats reports cache size and per-day savings. Requires Node.js 20 or newer.
No. The proxy listens on 127.0.0.1 only. Compression and storage are local; the only outbound traffic is the request to the model endpoint you already configured.
The proxy alone reduces what is sent. The MCP server is what lets the model fetch an original back when it genuinely needs it, so you should run both.
Any client that lets you point its API base URL at a local endpoint (http://127.0.0.1:8788/v1). The CLI also ships `tds copilot` for the GitHub Copilot CLI.
No, that was a primary design constraint. Compressed output is stable across turns, so the upstream KV cache stays valid.
20 or newer. The packages ship compiled JavaScript, so no build step and no type-stripping flags.
~/.ctxroom by default; override with the TDS_HOME environment variable or tds proxy --home.
Yes. LICENSE is in the repository and inside every published package. The source code is linked from the repository URL on this page.
If the README contains a parseable MCP configuration block, it is shown in the Config tab.
Local MCP server and CLI that keeps a Git-versioned, model-written index of a codebase and its database schema, so coding agents start each task with the whole system in view.
The data control plane for AI agents: acquire, validate, and land data over MCP with scoped keys, approval gates, and an audit log. Self-hosted, open source.

Official Porkbun MCP server, maintained by Porkbun. Check domain availability and pricing, register, renew and transfer domains, and manage DNS records, nameservers, URL forwarding, glue records, DNSSEC and domain contac
CronWatch records every run of your scheduled jobs in your own database, and speaks up when one is missed, fails, gets stuck, runs slow or costs too much. CronWatch is free and open-source.

The system of record for AI-written software. A persistent graph of entities, relationships, changes, and provenance, so humans and AI agents see what a change touches before it merges. Beside Git today.
评论