Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Persistent workflow graph server tracking tasks, decisions, spatial entities, and blockers.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"state-memory": {
"command": "npx",
"args": [
"-y",
"@putervision/state-memory-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add state-memory -- npx -y @putervision/state-memory-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"state-memory": {
"command": "npx",
"args": [
"-y",
"@putervision/state-memory-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"state-memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@putervision/state-memory-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 putervision 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.4.1)于34天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
@putervision/state-memory-mcp is a zero-infrastructure, deterministic Model Context Protocol (MCP) server that provides AI coding assistants (such as Cursor, Claude Code, Gemini, or Copilot) with a structured, persistent SQLite graph for tracking workflow state—tasks, decisions, artifacts, plans, blockers, and their semantic relationships.
🌐 Official Documentation & Website: statememorymcp.com
Prerequisites: Node.js >= 18.18.0
# 1. Install globally
npm install -g @putervision/state-memory-mcp
cd your-project
state-memory-mcp init
# Run directly via binary (after global install)
state-memory-mcp run
state-memory-mcp init-global
TaskSlice extraction for System 1 fast path evaluation.state-memory-mcp view).@putervision/vision-memory-mcp for visual state caching, perceptual hashing, and cryptographic multimodal evidence packs..state-memory-mcp/ in your workspace.@putervision/state-memory-mcp provides 13 production-grade consolidated MCP tools organized across 5 core workflow domains:
manage_nodes (node CRUD, FTS5/TF-IDF vector search, atomic batch mutations, observation notes, thresholded fast decision logging), manage_edges (typed DAG links, multimodal visual state linking).manage_tasks (topological dependency queue, blocker detection, task completion with artifacts, auto-prune), manage_sessions (agent attribution, turn tracking, context bootstrap).manage_specs (PRD/RFC parsing, requirement-to-task decomposition, live acceptance criteria verification, compliance scoring).get_analytics (velocity, burndown, token ROI, cognitive load, critical path), get_events (SHA-256 tamper-evident event ledger), run_diagnostics (DAG validation, health checks, AST reference integrity).manage_snapshots (checkpoints, time-travel undo), manage_database (backups, checksum audits, VCS branch merge), manage_data (bulk import/export, ML trajectories with interleaved fast decision events), query_graph (subgraphs, dependency tracing, raw SQL, sub-1KB compact_slice), use_blackboard (multi-agent asynchronous topic board).👉 For complete parameter specifications, return schemas, and example payloads, see the [Tools Reference Guide](docs/tools-reference.md) and [Formal API Reference](docs/api-reference.md).
AI Agent Prompt / Task
│ ▼ ┌─────────────────────────────────┐ │ Agent Session Attribution │ ──▶ manage_sessions(action: "start") └────────────────┬────────────────┘ │ ▼ ┌─────────────────────────────────┐ │ Context & Task Prioritization │ ──▶ get_analytics(action: "summary") │ │ ──▶ manage_tasks(action: "next") └────────────────┬────────────────┘ │ ▼ ┌─────────────────────────────────┐ │ Deterministic Graph Mutation │ ──▶ manage_nodes(action: "create"|"update") │ (Tasks, Decisions, Blockers) │ ──▶ manage_edges(action: "add"|"link_visual") └────────────────┬────────────────┘ │ ▼ ┌─────────────────────────────────┐ │ Spec & Integrity Verification │ ──▶ manage_specs(action: "compliance"|"verify") │ │ ──▶ run_diagnostics(action: "validate") └────────────────┬────────────────┘ │ ▼ ┌─────────────────────────────────┐ │ Persistent SQLite Storage │ ──▶ .state-memory-mcp/graph.db (WAL mode) │ Append-Only Event Ledger │ ──▶ SHA-256 Cryptographic Audit Chain └─────────────────────────────────┘
Explore dedicated guides and deep dives in the docs/ directory:
| Guide | Description |
|---|---|
| 🏗️ [Architecture & Codebase Distillation](docs/codebase-distillation.md) | High-signal architectural overview, module inventory, data flows, and design decisions. |
| 🚀 [v0.10 → v1.0 Migration Guide](MIGRATION.md) | Step-by-step migration guide, legacy tool mapping table, and STATE_MEMORY_COMPAT mode. |
| 💡 [Value Proposition & Theory](docs/value-proposition.md) | Cognitive Externalization, FSM Formalism, First-Hop Determinism & Benchmark metrics. |
| 📋 [State Memory Concepts](docs/concepts.md) | Node Types (task, decision, blocker...), Status Values, Typed Edges & Seeding Guidelines. |
| ⚙️ [Configuration & IDE Setup](docs/configuration.md) | Auto-Initialization details, Environment Variables table, and Editor Configs (Cursor, VS Code, Claude, Antigravity, Windsurf). |
| 🛠️ [CLI Command Reference](docs/cli-usage.md) | CLI flags (init, run, view, inspect, metrics, audit, doctor, backup, restore, merge) & Git Scanner. |
| ⏱️ [Sessions, Snapshots & SDD](docs/session-management.md) | Session Lifecycle, Event Audit Trail, Snapshots, Trajectories, Sub-directory support & Spec-Driven Development. |
| 🧰 [Tools, Resources & Prompts](docs/tools-reference.md) | Complete reference for all 13 Consolidated MCP Tools, read-only state-memory:/// Resources, and Prompt templates. |
| 📘 [Formal API Reference](docs/api-reference.md) | Formal parameters, return schemas, and code signatures for all MCP endpoints. |
| 🎨 [3D Visualizer Guide](docs/visualizer.md) | Viewing and exporting the interactive WebGL 3D Force-Directed Graph visualizer. |
| 🗄️ [Database Schema](docs/database-schema.md) | SQLite tables, columns, indexes, and schema migration history. |
When an autonomous AI agent enters a repository with state-memory-mcp:
1. Orient & Bootstrap ──▶ manage_sessions(action: "start") + get_analytics(action: "summary")
# Run full unit, integration, and performance benchmark test suite across all 113 test files (418 tests)
npm run test
Developed and maintained by PuterVision. Released under the MIT License.