AgentHubAgentHub

state-trace

MCP ServerMCP Registry官方收录

io.github.razroo/state-trace · v0.3.1

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

概览

state-trace 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "state-trace": {
      "command": "uvx",
      "args": [
        "state-trace"
      ]
    }
  }
}

环境变量

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.

相关资源

统一 Manifest

{
  "id": "io.github.razroo/state-trace",
  "type": "mcp-server",
  "version": "0.3.1",
  "displayName": "state-trace",
  "description": "Bounded working memory for coding agents — typed nodes, current-vs-stale state, MCP-mountable.",
  "repository": {
    "url": "https://github.com/razroo/state-trace",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "state-trace",
        "version": "0.3.1",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "STATE_TRACE_STORAGE_PATH",
            "description": "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."
          },
          {
            "name": "STATE_TRACE_NAMESPACE",
            "description": "Namespace to scope reads and writes (e.g. the repo slug). Nodes without a namespace remain visible to all namespaces."
          },
          {
            "name": "STATE_TRACE_CAPACITY_LIMIT",
            "description": "Working-memory budget in capacity units. Default 256."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.razroo/state-trace",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.razroo%2Fstate-trace/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
state-trace — MCP Server 安装与配置 · AgentHub