CPersona

v2.5.3
io.github.Cloto-dev/cpersona Checked 2 hours ago Published 4 months ago

Persistent AI memory in one SQLite file: 3-layer hybrid search, confidence scoring, 29 tools.

Values you need

VariableWhat it is
CPERSONA_DB_PATHoptional SQLite database path. Defaults to data/cpersona.db, which follows the client's working directory — set it to an absolute path to keep one memory across sessions. Default: data/cpersona.db
CPERSONA_EMBEDDING_MODEoptional Embedding mode: 'http' to use an embedding server for vector search, 'none' for lexical layers only. Default: none
CPERSONA_EMBEDDING_URLoptional Embedding server endpoint, e.g. http://127.0.0.1:8401/embed. Required when CPERSONA_EMBEDDING_MODE=http.
CPERSONA_RECALL_MODEoptional Recall fusion strategy: 'rrf' (default), 'rsf', or 'cascade'. Default: rrf

PyPI (uvx) verified

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add cpersona -- uvx cpersona==2.5.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "cpersona": {
      "args": [
        "cpersona==2.5.3"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "cpersona": {
      "args": [
        "cpersona==2.5.3"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "cpersona": {
      "args": [
        "cpersona==2.5.3"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.cpersona]
command = "uvx"
args = ["cpersona==2.5.3"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: pause_persistence, resume_persistence, persistence_status, get_operating_context, store, recall, recall_with_context, get_contents, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json