DoboCache
v0.9.2Stabilizes LLM prompt-cache prefixes so provider caching hits.
Values you need
| Variable | What it is | |
|---|---|---|
DOBOCACHE_LOG_DIR | optional | Directory for the local white-box JSONL log. Absolute path recommended. Optional; defaults to the platform log directory: %LOCALAPPDATA%\DoboCache\logs on Windows, ~/Library/Logs/DoboCache on macOS, $XDG_STATE_HOME/dobocache (fallback ~/.local/state/dobocache) on Linux. |
DOBOCACHE_WHITEBOX | optional | White-box report card mode: quiet (default, no card in tool output, log only), once (one card next call, then back to quiet), always (card on every call, ~300+ tokens each). Unrecognized values fall back to quiet with a warning. Cumulative stats are always available via cf_report at no token cost. |
DOBOCACHE_HIT_PRICE_PER_M | optional | Optional price per million tokens for cache-hit tokens used in savings estimates. |
DOBOCACHE_MISS_PRICE_PER_M | optional | Optional price per million tokens for cache-miss tokens used in savings estimates. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add dobocache -- npx -y dobocache@0.9.2Add to
claude_desktop_config.json{
"mcpServers": {
"dobocache": {
"args": [
"-y",
"dobocache@0.9.2"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"dobocache": {
"args": [
"-y",
"dobocache@0.9.2"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"dobocache": {
"args": [
"-y",
"dobocache@0.9.2"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.dobocache]
command = "npx"
args = ["-y", "dobocache@0.9.2"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: cf_ping, cf_judge, cf_tier, cf_inject, cf_meter, cf_warmup, cf_report, cf_prune, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json