State Memory MCP logo

State Memory MCP

Stores tasks, decisions, blockers, and workflow relationships in a local persistent SQLite graph.

Install State Memory MCP

Run the project’s own setup commands, in order.

Setup steps from the project

State Memory MCP installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install -g @putervision/state-memory-mcp
    
  2. 2. Run
    state-memory-mcp init
    
  3. 3. Start the server
    state-memory-mcp run
    
  4. 4. Configure
    state-memory-mcp init-global
    

Overview

State Memory MCP MCP server provides a deterministic, local SQLite graph for recording workflow tasks, decisions, artifacts, plans, blockers, and their relationships. Agents interact through 13 consolidated MCP tools covering graph mutations, task queues, sessions, specifications, analytics, snapshots, diagnostics, imports, and multi-agent coordination. State is kept in the project’s `.state-memory-mcp/` directory, with an append-only SHA-256 event ledger and WAL-mode database. Reach for it when coding agents need persistent project context, dependency-aware task selection, audit history, or shared state without external infrastructure.

Use cases

  • Track coding tasks and dependency blockers across agent sessions
  • Record architectural decisions and related artifacts
  • Coordinate parallel agents through a shared project blackboard
  • Audit workflow changes and restore prior checkpoints
  • Verify implementation work against structured specifications

Key features

  • Persistent local SQLite workflow graph
  • Deterministic node, edge, and task operations
  • Dependency-aware queues and blocker detection
  • FTS5 and TF-IDF graph search
  • Snapshots, rollback, and tamper-evident event history
  • Multi-agent blackboard and specification verification

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 89d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars44Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.

How State Memory MCP works

What State Memory MCP MCP server does

State Memory MCP MCP server gives coding assistants a structured place to record and retrieve project workflow state. Its graph can represent tasks, decisions, artifacts, plans, blockers, and typed relationships between them. The data is persisted locally in SQLite rather than being reconstructed from files or kept only in an agent conversation.

The server is intended for repositories where agents need continuity across sessions or coordination across parallel workers. It supports task dependencies, blocker tracking, decision notes, specification requirements, acceptance checks, and project-level analytics. A browser-based 3D graph viewer is also available through the CLI.

How it works

The server stores its database under .state-memory-mcp/ in the workspace. The main graph uses SQLite with WAL mode, while state changes are recorded in an append-only event ledger with SHA-256 chaining for tamper-evident auditing. Operations are deterministic and do not place an LLM inside the memory path.

A typical workflow starts a session, checks project analytics or the next available task, mutates nodes and edges as work progresses, and validates the graph or specification state afterward. Task selection can follow topological dependencies and identify blockers. Search includes SQLite FTS5 and TF-IDF-based retrieval, while compact_slice can return a small graph context for an agent turn.

Snapshots support checkpoints and rollback. Database management includes backups, checksum audits, and version-control branch merging. The blackboard provides an asynchronous topic space for multiple agents to publish updates.

Setup and configuration

Node.js 18.18.0 or newer is required. Install the package globally with npm, change to the target project, and run state-memory-mcp init. Initialization creates the state directory, updates .gitignore, registers the project, and scaffolds instructions and MCP configuration for supported editors and agent environments. Restart the editor or agent manager after initialization.

The CLI also provides run for starting the server and init-global for reinitializing all registered workspace projects. Additional commands documented by the project include view, inspect, metrics, audit, doctor, backup, restore, and merge.

Tools and capabilities

State Memory MCP MCP server exposes 13 consolidated tools across these areas:

  • manage_nodes handles node CRUD, notes, batch mutations, search, and decision logging.
  • manage_edges creates typed DAG links and visual-state links.
  • manage_tasks manages dependency queues, blockers, completion, and pruning.
  • manage_sessions tracks agent identity, turns, and context bootstrap.
  • manage_specs parses PRDs or RFCs, decomposes requirements, and checks compliance.
  • get_analytics, get_events, and run_diagnostics provide metrics, audit access, and integrity checks.
  • manage_snapshots, manage_database, and manage_data cover rollback, backups, audits, imports, exports, and trajectories.
  • query_graph supports subgraphs, dependency tracing, raw SQL, and compact slices.
  • use_blackboard supports asynchronous multi-agent coordination.

Limitations and notes

It requires Node.js 18.18.0 or newer. Detailed parameter schemas, return formats, environment settings, and editor-specific configuration are maintained in the project’s reference documentation.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about State Memory MCP

State Memory MCP is an MCP server that connects AI coding assistants to a local persistent SQLite graph. Its main tools manage workflow nodes and relationships, task queues, sessions, specifications, analytics, snapshots, database operations, graph queries, diagnostics, and a multi-agent blackboard.

Install it with `npm install -g @putervision/state-memory-mcp`, then run `state-memory-mcp init` from the project directory. Node.js 18.18.0 or newer is required. Initialization creates the local state directory and scaffolds MCP configuration for supported environments.

It stores project state in the `.state-memory-mcp/` directory. The graph is held in a WAL-mode SQLite database, and changes are recorded in an append-only SHA-256 event ledger.

Yes, Cursor is explicitly supported. Running `state-memory-mcp init` scaffolds the project setup and MCP configuration, after which Cursor should be restarted to activate the server.

Yes, it can track dependencies and blockers through `manage_tasks` and graph relationships. The task tool provides a topological dependency queue, blocker detection, completion with artifacts, and auto-pruning.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewState Memory MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/state-memory-mcp?style=directory)](https://allmcps.com/mcp/state-memory-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/state-memory-mcp"><img src="https://allmcps.com/api/badge/state-memory-mcp?style=directory" alt="State Memory MCP on AllMCPs" /></a>