Skip to content

Agent Token Forensics for Grok

io.github.blackbadhope/agent-token-forensics

Read-only JSONL token, prompt-cache, compaction, and retry-loop forensics for AI coding agents.

client:Grok transport:stdio runtime:pypi

Install Agent Token Forensics in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "agent-token-forensics": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-token-forensics"
      ]
    }
  }
}

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

Agent Token Forensics in other clients