Skip to main content

state-trace

io.github.razroo/state-trace

v0.3.1Updated Apr 25, 2026stdio · PyPI

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add state-trace -- uvx state-trace==0.3.1

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

4 settings.

  • STATE_TRACE_STORAGE_PATH
    Env var· optional
    Path to the SQLite or JSON file backing the working-memory graph. .db/.sqlite/.sqlite3 = SQLite (recommended); other = JSON. Defaults to ~/.state-trace/memory.db.
  • STATE_TRACE_NAMESPACE
    Env var· optional
    Namespace to scope reads and writes (e.g. the repo slug). Nodes without a namespace remain visible to all namespaces.
  • STATE_TRACE_CAPACITY_LIMIT
    Env var· optional
    Working-memory budget in capacity units. Default 256.
  • extras
    Argument· optional
    Install with the [mcp] extra to pull the mcp SDK alongside state-trace.

Listed in the official MCP Registry since Apr 25, 2026. Mirrored daily; last checked Nov 26, 2026.