Cursor
Writes ~/.cursor/mcp.json + always-on rule.
Coding agent plugin · v0.5.2
Run supercompress setup to connect your account, detect coding agents, and install an MCP plugin that compresses large dumps before they burn tokens — Cursor, Claude Code, Codex, FreeBuff, OpenCode, and more. Keep your normal login. No provider API-key mode required.
npm install -g supercompress-proxy
supercompress setup
npm install alone does not rewrite agent configs. setup links your SuperCompress account, detects agents, and installs the MCP plugin. Re-run anytime with supercompress plugin.
Default path is MCP-first. Your agent keeps its normal Cursor / Claude / Codex / FreeBuff / OpenCode login. When context gets huge — file dumps, search results, logs, diffs — the agent calls compress_context. SuperCompress returns a smaller, evidence-preserving version metered to your plan.
# Default — subscription / login safe
Coding agent ──→ compress_context ──→ SuperCompress API
MCP tool ~65% fewer tokens
# Optional — only if you want localhost base-URL proxy mode
Coding agent ──→ localhost:8080/v1 ──→ provider API
npm install -g supercompress-proxy
supercompress --version
# → 0.5.2
Or one-shot without a global install:
npm install supercompress-proxy
npm exec supercompress setup
setup links your account and installs the MCP plugin. Prefer plugin anytime you add a new agent:
supercompress setup
supercompress plugin
$ supercompress plugin
✓ Detected Cursor, Claude Code, Codex, FreeBuff, OpenCode, …
✓ MCP plugin installed for: Cursor, FreeBuff, OpenCode, Codex MCP, …
✓ Cursor rule written
→ Works with login — no provider API-key mode
→ Restart your coding agent so MCP reloads
Add supercompress-proxy with npm.
supercompress setup opens the dashboard and connects your account.
Reload Cursor / Claude / Codex / FreeBuff / OpenCode so MCP servers load.
Ask the agent to compress large context — tool: compress_context.
The detector catalog covers 49 integrations. These get first-class MCP auto-plugin today:
Writes ~/.cursor/mcp.json + always-on rule.
Registers in ~/.claude.json.
Updates ~/.codex/config.toml MCP block.
Global Codebuff/FreeBuff MCP via ~/.agents/mcp.json.
Writes mcp.supercompress into opencode.jsonc.
Registers in Gemini settings MCP servers.
MCPAlso detected (manual endpoint / MCP where available)
Run supercompress agents to see what is installed on your machine.
| Tool | What it does |
|---|---|
compress_context | Compress bulky coding context for a query. Returns compressed text + savings. |
connect_account | Open the dashboard to link this install if you skipped setup. |
usage_summary | Per-agent token savings for the connected SuperCompress account. |
After agents start compressing, your dashboard shows per-agent requests, tokens in/out/saved, and last-used time. Only usage metadata is sent — never prompt contents.
If you want the older base-URL rewrite path (provider API-key mode), opt in explicitly:
supercompress setup --proxy
supercompress start
That wires http://localhost:8080/v1 for compatible OpenAI/Anthropic endpoints. Most subscription/login agents should stay on the default MCP plugin path instead.
supercompress uninstall
npm uninstall -g supercompress-proxy
Uninstall removes MCP registrations, restores backed-up configs, and cleans ~/.supercompress.