State Memory MCP Server
Persistent workflow graph server tracking tasks, decisions, spatial entities, and blockers.
State Memory MCP scores 69 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under AI and memory. GitHub shows 44 stars. Package registries report about 128 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
69 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 69 comes from
22 + 15 + 11 + 10 + 4 + 7 = 69. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 11 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "putervision-state-memory-mcp": { "command": "npx", "args": [ "-y", "@putervision/state-memory-mcp@1.4.1" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
@putervision/state-memory-mcp
@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
β‘ Quick Start & Installation
Prerequisites: Node.js >= 18.18.0
# 1. Install globally
npm install -g @putervision/state-memory-mcp
# 2. Navigate to your project directory
cd your-project
# 3. Initialize state-memory-mcp
# Creates .state-memory-mcp/, updates .gitignore, registers project,
# and scaffolds IDE instructions and MCP configs for Cursor, Claude, VS Code, Windsurf, etc.
state-memory-mcp init
# Done! Restart your IDE or Agent Manager to activate.
Alternative Options
# Run directly via binary (after global install)
state-memory-mcp run
# Re-initialize across all registered workspace projects
state-memory-mcp init-global
π Key Highlights
- π§ Deterministic State Memory & Compact TaskSlices: Zero LLM in the loop for memory operations; fast, deterministic SQLite graph traversals, and sub-1KB
TaskSliceextraction for System 1 fast path evaluation. - β‘ 13 Production-Grade Consolidated MCP Tools: Full CRUD, relationship linking, DAG cycle checks, FTS5 search, TF-IDF RAG, time-travel history rollback, Spec-Driven Development, and auto-healing validation.
- π Efficient Context Management & Decision Thresholding: Offloads context to a local SQLite database, filters sub-0.70 routine decisions to append-only event logs to prevent graph bloat, and preserves high-significance turns.
- π 67%β74% Latency Reduction: Eliminates multi-step file scanning loops; agents retrieve unblocked tasks and blockers in milliseconds.
- π€ Multi-Agent Blackboard: Shared Context Store allowing parallel subagents to publish decisions, tasks, and blocker updates safely.
- π¨ Interactive 3D Visualizer: Browser-based dark-mode 3D WebGL force-directed graph visualizer (
state-memory-mcp view). - π Dual-MCP Synergy: Pair with
@putervision/vision-memory-mcpfor visual state caching, perceptual hashing, and cryptographic multimodal evidence packs. - π‘οΈ 100% Local & Private: Local-first architecture; all state stays inside
.state-memory-mcp/in your workspace.
π οΈ MCP Tool Suite
@putervision/state-memory-mcp provides 13 production-grade consolidated MCP tools organized across 5 core workflow domains:
- Graph & Relationships:
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). - Task Execution & Work Queue:
manage_tasks(topological dependency queue, blocker detection, task completion with artifacts, auto-prune),manage_sessions(agent attribution, turn tracking, context bootstrap). - Spec-Driven Development (SDD):
manage_specs(PRD/RFC parsing, requirement-to-task decomposition, live acceptance criteria verification, compliance scoring). - Analytics, Audit & Diagnostics:
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). - Data, Snapshots & Multi-Agent:
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-1KBcompact_slice),use_blackboard(multi-agent asynchronous topic board).
π For complete parameter specifications, return schemas, and example payloads, see the Tools Reference Guide and Formal API Reference.
π Architecture & State Graph Lifecycle
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
βββββββββββββββββββββββββββββββββββ
π Documentation Directory
Explore dedicated guides and deep dives in the docs/ directory:
| Guide | Description |
|---|---|
| ποΈ Architecture & Codebase Distillation | High-signal architectural overview, module inventory, data flows, and design decisions. |
| π v0.10 β v1.0 Migration Guide | Step-by-step migration guide, legacy tool mapping table, and STATE_MEMORY_COMPAT mode. |
| π‘ Value Proposition & Theory | Cognitive Externalization, FSM Formalism, First-Hop Determinism & Benchmark metrics. |
| π State Memory Concepts | Node Types (task, decision, blocker...), Status Values, Typed Edges & Seeding Guidelines. |
| βοΈ Configuration & IDE Setup | Auto-Initialization details, Environment Variables table, and Editor Configs (Cursor, VS Code, Claude, Antigravity, Windsurf). |
| π οΈ CLI Command Reference | CLI flags (init, run, view, inspect, metrics, audit, doctor, backup, restore, merge) & Git Scanner. |
| β±οΈ Sessions, Snapshots & SDD | Session Lifecycle, Event Audit Trail, Snapshots, Trajectories, Sub-directory support & Spec-Driven Development. |
| π§° Tools, Resources & Prompts | Complete reference for all 13 Consolidated MCP Tools, read-only state-memory:/// Resources, and Prompt templates. |
| π Formal API Reference | Formal parameters, return schemas, and code signatures for all MCP endpoints. |
| π¨ 3D Visualizer Guide | Viewing and exporting the interactive WebGL 3D Force-Directed Graph visualizer. |
| ποΈ Database Schema | SQLite tables, columns, indexes, and schema migration history. |
π Agent Playbook: 5-Step Canonical Workflow
When an autonomous AI agent enters a repository with state-memory-mcp:
1. Orient & Bootstrap βββΆ manage_sessions(action: "start") + get_analytics(action: "summary")
2. Task Selection βββΆ manage_tasks(action: "next") + manage_tasks(action: "find_blockers")
3. Trace Context βββΆ query_graph(action: "trace") + manage_specs(action: "compliance")
4. Execute & Record βββΆ manage_nodes(action: "create", type: "decision") + manage_edges(action: "link_visual")
5. Validate & Close βββΆ run_diagnostics(action: "validate") + manage_tasks(action: "complete") + manage_sessions(action: "end")
π§ͺ Testing
# Run full unit, integration, and performance benchmark test suite across all 113 test files (418 tests)
npm run test
βοΈ License & Disclaimers
Developed and maintained by PuterVision. Released under the MIT License.
- Local Storage Guarantee: All graph data, decision records, and event logs remain 100% local in your workspace. No telemetry or project data is ever transmitted.
- Trademarks & Non-Affiliation: Product names (Cursor, Claude Code, Gemini, Windsurf, VS Code, GitHub, SQLite) are property of their respective owners and used solely for compatibility identification.
Frequently asked questions
What is State Memory MCP Server?
Persistent workflow graph server tracking tasks, decisions, spatial entities, and blockers.
How do I install State Memory MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. State Memory MCP Server runs locally from the npm package @putervision/state-memory-mcp with the command npx -y @putervision/state-memory-mcp@1.4.1.
Is State Memory MCP Server free and open source?
Yes. State Memory MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does State Memory MCP Server support remote (HTTP) connections?
No remote endpoint is listed for State Memory MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is State Memory MCP Server's trust score calculated?
State Memory MCP Server scores 69 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetβBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.