Statecore MCP logo

Statecore MCP

Auditable agent memory with evidence, supersession history, handoffs, and keyless embedded SQLite over MCP.

Install Statecore MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "statecore-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "statecore-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio statecore-mcp -- npx -y statecore-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y statecore-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

statecore-mcp gives coding agents auditable long-term memory through a local SQLite file, without a running service or model key. It records evidence, preserves superseded and retired facts, and exposes memory operations such as remember, recall, facts, why, forget, and handoff. Use it when an agent needs cross-session continuity and an inspectable record of why a fact is believed or discarded. Its MCP interface can be used by Claude Code, Codex, Cursor, and other MCP clients working on the same project.

Use cases

  • Remember coding decisions across agent sessions
  • Inspect why an agent believes a stored fact
  • Hand off unfinished work between MCP clients
  • Retire stale project memory without deleting its history

Key features

  • Embedded SQLite storage
  • Evidence and supersession history
  • Recorded discard reasons
  • Cross-session handoffs
  • Keyless stdio MCP deployment
  • Fact provenance inspection

Tools6

What Statecore MCP lets your agent do. Expand a tool for its parameters.

Verified live~972 tokens of context

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.

17/17 checks healthy over the last 82d

What it can do

From the 6 tools this server returned when we ran it.

Can delete or modify data · 1Read-only tools · 5
Network at startup3 connections
Files written at startup3
Install scriptsNone
npm provenanceNot published
Package age74 days
Maintainers1

Observed 2026-10-28 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 18d ago via OSV.dev · statecore-mcp (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads645Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed6Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Statecore MCP works

What statecore-mcp does

statecore-mcp provides an MCP front end for StateCore's governed memory runtime. It stores agent memory in an embedded SQLite database, keeping the deployment to one process and one local database file. The server is keyless by default and does not require a separately running StateCore service for the MCP use case.

The memory model is designed for auditability rather than plain transcript accumulation. Facts retain their supporting evidence and version history. When a fact is replaced, the earlier record remains as superseded or retired state instead of being deleted. Discarded information is recorded with a reason, allowing an agent or developer to inspect how the stored state changed.

How it works

An agent writes information through MCP operations such as remember. StateCore processes events through its memory pipeline before promoting information into stable state; an LLM proposal alone cannot directly establish protected state. Later sessions can use recall to retrieve stored context, while facts exposes grouped memory for a scope.

The why operation is intended for provenance checks. It returns the evidence associated with a fact and its version history. forget handles removal from active use while preserving the audit record. handoff records where one session stopped so a later session can receive that continuation point through recall. This supports handoffs between different MCP clients on the same project.

Setup and configuration

For Claude Code, install the package as a stdio MCP server with:

Terminal
claude mcp add statecore -- npx -y statecore-mcp

The MCP package runs the engine locally, using one SQLite file and no model key or hosted infrastructure. The repository also contains configuration guidance for Cursor and other MCP hosts. A full self-hosted StateCore deployment is a separate setup: it uses Postgres, Redis, an API process, and a background worker, with optional model configuration for digest and answer features. Those services are not required for the embedded MCP path.

Tools and capabilities

  • remember stores a decision or other memory for later sessions.
  • recall retrieves remembered context and can surface the latest handoff.
  • facts reads grouped memory facts for a scope.
  • why inspects evidence and the fact's version chain.
  • forget retires memory while keeping its history available for auditing.
  • handoff records a session stop-point for the next agent session.

The underlying runtime also supports deterministic digest processing, protected state, recorded discard reasons, and retrieval across events and digests. These mechanisms are intended to prevent stale or unsupported information from silently becoming stable memory.

Limitations and notes

StateCore's embedded MCP mode uses local SQLite, so its default storage model is local rather than a shared hosted database. The MCP quickstart is keyless, but the broader StateCore API has a separate service configuration and authentication model. Retrieval quality can depend on which processing stages ran; the runtime reports degraded processing and refused budget items rather than silently presenting an unaffected result.

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 Statecore MCP

statecore-mcp is an MCP server that connects coding agents to StateCore's embedded SQLite memory runtime. Its main tools include remember, recall, facts, why, forget, and handoff, letting agents preserve project context, inspect evidence and version history, retire stale facts, and continue work across sessions without a separate server or model key.

Install it for Claude Code with `claude mcp add statecore -- npx -y statecore-mcp`. The package runs as a local stdio MCP process, embeds the engine, and stores data in one SQLite file.

Yes, statecore-mcp can be used with Cursor through its MCP configuration. The same project can also pass session handoffs between Cursor, Claude Code, Codex, and other MCP clients.

No, the embedded MCP mode is keyless and does not require a separately running server or database service. It runs the engine in one process and uses a local SQLite file.

Use the `why` operation to inspect the fact's supporting evidence and complete version history. Superseded and retired records remain available, so earlier beliefs and their changes can be reviewed.

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 PreviewStatecore MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/statecore-mcp?style=directory)](https://allmcps.com/mcp/statecore-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/statecore-mcp"><img src="https://allmcps.com/api/badge/statecore-mcp?style=directory" alt="Statecore MCP on AllMCPs" /></a>