Skip to content
Grok

DoboCache for Grok

io.github.dobo123123/dobocache

Stabilizes LLM prompt-cache prefixes so provider caching hits. One command setup, no baseURL edit.

client:Grok transport:stdio runtime:npm

Install DoboCache in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "dobocache": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dobocache"
      ],
      "env": {
        "DOBOCACHE_LOG_DIR": "<DOBOCACHE_LOG_DIR>",
        "DOBOCACHE_WHITEBOX": "<DOBOCACHE_WHITEBOX>",
        "DOBOCACHE_HIT_PRICE_PER_M": "<DOBOCACHE_HIT_PRICE_PER_M>",
        "DOBOCACHE_MISS_PRICE_PER_M": "<DOBOCACHE_MISS_PRICE_PER_M>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

DoboCache in other clients