Skip to content
Grok

state-trace for Grok

io.github.razroo/state-trace

Bounded working memory for coding agents — typed nodes, current-vs-stale state, MCP-mountable.

client:Grok transport:stdio runtime:pypi

Install state-trace 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": {
    "state-trace": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "state-trace"
      ],
      "env": {
        "STATE_TRACE_STORAGE_PATH": "<STATE_TRACE_STORAGE_PATH>",
        "STATE_TRACE_NAMESPACE": "<STATE_TRACE_NAMESPACE>",
        "STATE_TRACE_CAPACITY_LIMIT": "<STATE_TRACE_CAPACITY_LIMIT>"
      }
    }
  }
}

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

state-trace in other clients