Cursor
~/.cursor/mcp.json + hooks + always-on rule.
Coding agent plugin · v0.5.40
Run supercompress setup once. It links your account, detects coding agents, and installs a clean MCP + hooks plugin across your coding agents: Cursor, Claude Code, Codex, Goose, Zed, OpenCode, fx, Hermes, OpenClaw, and more. Keep your normal login. Check health anytime with supercompress doctor.
npm install -g supercompress-proxy
supercompress setup
supercompress doctor
setup links your account and wires MCP + hooks on every detected host. Re-run supercompress plugin anytime. doctor prints a clean per-agent health matrix.
Get SuperCompress running with your coding agents in 4 quick copy-paste steps:
Install the CLI globally and run one-time setup to connect your account and auto-configure detected agents:
npm install -g supercompress-proxy
supercompress setup
Confirm which coding agents on your machine were detected and hooked:
supercompress agents
Verify that the SuperCompress MCP server is responsive locally:
supercompress mcp-check
Restart Cursor, Claude Code, Codex, Roo Code, or Cline so the MCP server initializes. Your agent will now automatically call compress_context on bulky context dumps!
Two layers, installed together by setup:
compress_context for big dumps (subscription / login safe).# After `supercompress setup` (subscription / login safe)
Coding agent ──→ hooks / compress_context ──→ SuperCompress API
setup uses browser device-link (Google). Hosted MCP at /api/mcp accepts an sc_ API key header. OAuth 2.1 + PKCE is how a keyless Google sign-in path is designed; it is not the recommended install today. Context is compressed on the SuperCompress API; provider keys never leave your agent.
npm install -g supercompress-proxy
supercompress --version
# → 0.5.40
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.
Works across most coding-agent harnesses. The popular ones get a first-class auto MCP plugin from setup / plugin, native config shape per host, not a clunky one-size paste:
~/.cursor/mcp.json + hooks + always-on rule.
~/.claude.json + hooks + CLAUDE.md.
~/.codex/config.toml MCP + hooks.
YAML extensions.supercompress stdio MCP.
mcp.supercompress in opencode.json(c).
context_servers.supercompress (native).
Host-native MCP + instructions / skills.
MCPAuto-written into each host’s MCP schema.
MCPAlso catalogued, supercompress agents connect or OpenAI/Anthropic base URL
Run supercompress agents for the full list on your machine. Health: supercompress doctor.
| 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.