state-trace MCP Server
by razrooio.github.razroo/state-tracev0.3.1
Bounded working memory for coding agents — typed nodes, current-vs-stale state, MCP-mountable.
context tax
queued
security
queued
cold start
queued
freshness
Slowing6mo ago
Install state-trace MCP server
Install in Claude Code
claude mcp add state-trace -- uvx state-traceInstall in Cursor
{
"mcpServers": {
"state-trace": {
"command": "uvx",
"args": [
"state-trace"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"state-trace": {
"command": "uvx",
"args": [
"state-trace"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"state-trace": {
"type": "stdio",
"command": "uvx",
"args": [
"state-trace"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"state-trace": {
"command": "uvx",
"args": [
"state-trace"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| STATE_TRACE_STORAGE_PATH | — | — | 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 | — | — | Namespace to scope reads and writes (e.g. the repo slug). Nodes without a namespace remain visible to all namespaces. |
| STATE_TRACE_CAPACITY_LIMIT | — | — | Working-memory budget in capacity units. Default 256. |
Freshness
Slowing — last maintenance signal 6mo ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-04-25 · 6mo ago · official registry · v0.3.1
FAQ
›How do I install the state-trace MCP server in Claude Code?
Run: claude mcp add state-trace -- uvx state-trace. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does state-trace require an API key?
No required environment variables are declared in its published metadata.
›Can I use state-trace as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is state-trace in the official MCP registry?
Yes, as io.github.razroo/state-trace.
Alternatives to state-trace
Other memory MCP servers.