llmtrim for Zed
io.github.fkiene/llmtrim
MCP server and proxy that compresses LLM prompts, tool output, and replies to cut token cost.
client:Zed
transport:stdio
runtime:npm
Install llmtrim in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"llmtrim": {
"command": "npx",
"args": [
"-y",
"@llmtrim/cli"
]
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs