Back to MCP Servers
πŸ”Œ

Lians Agent Memory MCP Server

API key required

Durable, time-correct memory for Claude and any MCP client. Remember facts, recall current or point-in-time state, inspect conflicts and lineage, and run locally for free with SQLiteβ€”no API key or Docker required.

To add Lians Agent Memory to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 5 environment variables, listed below.

AIDevTools

Install

uvx lians-sdk@0.5.0

Environment variables

LIANS_URLSet in your MCP config
LIANS_API_KEYSet in your MCP config
LIANS_AGENT_IDSet in your MCP config
LIANS_LOCAL_DBSet in your MCP config
LIANS_NAMESPACESet in your MCP config

Install with your client

Terminal
claude mcp add lians-agent-memory --env LIANS_URL=<YOUR_LIANS_URL> --env LIANS_API_KEY=<YOUR_LIANS_API_KEY> --env LIANS_AGENT_ID=<YOUR_LIANS_AGENT_ID> --env LIANS_LOCAL_DB=<YOUR_LIANS_LOCAL_DB> --env LIANS_NAMESPACE=<YOUR_LIANS_NAMESPACE> -- uvx lians-sdk@0.5.0

Run this in a terminal to add the server to Claude Code.

What this does

Lians Agent Memory exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

LIANS_URL
LIANS_API_KEY
LIANS_AGENT_ID
LIANS_LOCAL_DB
LIANS_NAMESPACE

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install Lians Agent Memory?

Run the Claude Code command in the install section to add Lians Agent Memory to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with Lians Agent Memory?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to Lians Agent Memory as well.

Does Lians Agent Memory need an API key?

Yes. Before it can run, set these environment variables: LIANS_URL, LIANS_API_KEY, LIANS_AGENT_ID, LIANS_LOCAL_DB, LIANS_NAMESPACE. They go in the env block of your MCP config.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/lians-xila)](https://clauderules.net/mcp/lians-xila)
HTML
<a href="https://clauderules.net/mcp/lians-xila" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/lians-xila" alt="Listed on clauderules.net" /></a>