
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
mcp-sophon
Advanced tools
Deterministic context compressor for MCP agents. Slots in front of prompt caching, mem0, Letta, or Claude Code — compresses prompts, conversation memory, code digests, file deltas, and shell output. Single Rust binary, zero ML at query time, MCP 2025-06-1
npm wrapper for Sophon.
Honest token economics for MCP agents. One Rust binary. Zero ML. Reproducible benchmarks.
Sophon is a deterministic context layer for MCP-speaking agents: query-driven prompt compression, conversation memory, code navigation, file delta streaming, output compression. Measured 67 % session token savings, ~10 pts more saved than LLMLingua-2 on structured prompts at 35× lower latency, and parity with mem0 on LOCOMO retrieval at sub-second vs 8.7 minutes. Every number reproducible from BENCHMARK.md.
Installing this package downloads a prebuilt native binary from the
matching GitHub release and exposes it as the sophon command.
npm install -g mcp-sophon
sophon --help
Supported platforms (via GitHub Release prebuilds):
| OS | Arch |
|---|---|
| macOS | arm64, x64 |
| Linux | arm64, x64 |
| Windows | x64 |
{
"mcpServers": {
"sophon": {
"command": "sophon",
"args": ["serve"]
}
}
}
SOPHON_SKIP_DOWNLOAD=1 — do not attempt to download the binary on install (useful in Docker / air-gapped CI). Provide a sophon binary on PATH yourself.SOPHON_REPO=org/repo — override which GitHub repository the postinstall fetches from. Defaults to lacausecrypto/mcp-sophon.MIT
FAQs
Deterministic context compressor for MCP agents. Slots in front of prompt caching, mem0, Letta, or Claude Code — compresses prompts, conversation memory, code digests, file deltas, and shell output. Single Rust binary, zero ML at query time, MCP 2025-06-1
The npm package mcp-sophon receives a total of 41 weekly downloads. As such, mcp-sophon popularity was classified as not popular.
We found that mcp-sophon demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.