Deterministic context compressor for MCP agents. Slots in front of prompt caching, mem0, Letta, or Claude Code. Single Rust binary, zero ML at query time.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add sophon -- npx -y mcp-sophon~/.codex/config.toml
[mcp_servers.sophon]
command = "npx"
args = ["-y", "mcp-sophon"]
# codex mcp add sophon -- npx -y mcp-sophon~/.cursor/mcp.json
{
"mcpServers": {
"sophon": {
"command": "npx",
"args": [
"-y",
"mcp-sophon"
]
}
}
}.vscode/mcp.json
{
"servers": {
"sophon": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-sophon"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sophon": {
"command": "npx",
"args": [
"-y",
"mcp-sophon"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sophon": {
"command": "npx",
"args": [
"-y",
"mcp-sophon"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"sophon": {
"command": "npx",
"args": [
"-y",
"mcp-sophon"
]
}
}
}