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.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}