Lians Agent Memory logo

Lians Agent Memory

Local MCP memory for recovering agent context, correcting records, and deleting stored project facts.

Install Lians Agent Memory

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

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lians-agent-memory": {
      "command": "uvx",
      "args": [
        "--from",
        "lians-sdk[mcp]",
        "lians-mcp"
      ],
      "env": {
        "LIANS_MCP_ENABLED_TOOLS": "YOUR_VALUE_HERE"
      }
    }
  }
}

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

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env LIANS_MCP_ENABLED_TOOLS=YOUR_VALUE_HERE --transport stdio lians-agent-memory -- uvx --from 'lians-sdk[mcp]' lians-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.

uvx --from lians-sdk[mcp] lians-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

Lians Agent Memory MCP server stores local agent memory and supports recall across coding sessions. It exposes tools for remembering, recalling, listing, correcting, and forgetting memories through MCP, with data stored in a local SQLite database by default. Reach for it when an agent needs project context after an interrupted session without relying on transcript replay. Its broader Guard features add checkpoint and evidence workflows, but those capabilities are identified as preview or in development.

Use cases

  • Save safe project facts for later sessions
  • Recover interrupted coding work
  • Correct outdated agent memories
  • List stored project memories
  • Delete memories permanently

Key features

  • Local SQLite memory storage
  • Point-in-time memory recall
  • Memory correction and deletion
  • MCP tools for coding agents
  • Bounded project handoffs
  • Evidence-aware Guard workflows

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.

15/15 checks healthy over the last 72d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · lians-mcp (PyPI)

Adoption & maintenance

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

GitHub stars17Stargazers on the source repository.
Last commit26d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Lians Agent Memory works

What Lians Agent Memory MCP server does

Lians Agent Memory MCP server gives coding agents a local memory store that can survive separate chats and sessions. It is intended for retaining safe project facts, recovering context after interrupted work, and keeping corrections or deletions under the developer's control. The memory layer does not replace the model, Git, CI, repository instructions, or human review.

The repository also describes Lians Guard, a broader workflow for current task state and completion readiness. Guard can distinguish measured evidence from agent claims and produce states such as recovered, stale, blocked, or ready for human review. Those Guard capabilities are separate from the available local MCP memory path; several are marked developer preview, beta, or in development.

How it works

The MCP server runs locally and uses a SQLite database at ~/.lians/mcp.db by default. An MCP-compatible client connects the agent to that store, allowing memory operations to be requested from the agent loop. The README presents this as a recovery path that can work across supported Codex, Claude Code, and Cursor setups.

Lians also maintains state related to task continuity. Its documented trust model treats measured local evidence, matching CI evidence, and interactive human confirmation differently from agent-attested or inferred activity. Agent-reported work can remain visible as context, but it cannot by itself open the review gate. This distinction matters if you are evaluating Lians for completion checks rather than simple memory storage.

A fresh coding agent can receive a bounded handoff derived from current stored state. That handoff may identify reported work that still needs verification, open tasks, decisions, changed paths, and the next action instead of replaying a full conversation.

Setup and configuration

The Lians Agent Memory MCP server can be added to Codex with uvx after installing uv:

bash
codex mcp add lians --env LIANS_MCP_ENABLED_TOOLS=remember,recall,list_memories,correct_memory,forget_memory -- uvx --from "lians-sdk[mcp]" lians-mcp

Restart the client after adding the server, then save a project fact and retrieve it from a new chat. The example explicitly limits the enabled tool set to remembering, recalling, listing, correcting, and forgetting memories. The repository also documents setup paths for Claude Code, Cursor, and other MCP clients, including a one-click Cursor option and a minimal generic MCP configuration.

The free local recovery path does not require a Lians account, an AI password, or a provider API key. Local memory is available through MCP and Python. The README identifies the full Guard workflow as a developer preview, so teams should distinguish the stable local-memory use case from the broader preview features.

Tools and capabilities

The documented MCP tool names are:

  • remember — save a memory.
  • recall — retrieve relevant stored memory.
  • list_memories — inspect stored memories.
  • correct_memory — amend an existing memory.
  • forget_memory — delete a memory.

The project describes inspection, correction, and confirmed permanent deletion as available recovery features. It also documents bounded context and signed selection receipts, while automatic stale-evidence invalidation remains in development. These additional Guard and continuity capabilities should not be assumed to be part of the five memory tools above.

Lians is a fit when local, cross-session project context is more useful than replaying transcripts or manually maintaining a handoff. It is less suitable if you need a shared team queue or a production-ready, fully automatic stale-evidence workflow, since those areas are listed as planned or still under development.

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 Lians Agent Memory

Lians Agent Memory is an MCP server that connects coding agents to a local SQLite memory store. Its main tools are remember, recall, list_memories, correct_memory, and forget_memory. It supports cross-session project recovery, memory correction, inspection, and deletion without requiring a Lians account or provider API key for local recovery.

Install it with an MCP client using the documented `uvx` command after installing `uv`. The Codex example runs `lians-mcp` from `lians-sdk[mcp]` and enables the five memory tools through `LIANS_MCP_ENABLED_TOOLS`; restart the client, then save and retrieve a test fact.

Yes, Lians provides a Cursor setup path. The local memory database is stored at `~/.lians/mcp.db` by default.

It stores local memory in `~/.lians/mcp.db` by default. The README identifies this as the available free recovery path and says the memory capability is provided through MCP and Python.

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 PreviewLians Agent Memory AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lians-agent-memory?style=directory)](https://allmcps.com/mcp/lians-agent-memory)
HTML Embed
<a href="https://allmcps.com/mcp/lians-agent-memory"><img src="https://allmcps.com/api/badge/lians-agent-memory?style=directory" alt="Lians Agent Memory on AllMCPs" /></a>