CPersona
v2.5.3Persistent AI memory in one SQLite file: 3-layer hybrid search, confidence scoring, 29 tools.
Values you need
| Variable | What it is | |
|---|---|---|
CPERSONA_DB_PATH | optional | 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_MODE | optional | Embedding mode: 'http' to use an embedding server for vector search, 'none' for lexical layers only. Default: none |
CPERSONA_EMBEDDING_URL | optional | Embedding server endpoint, e.g. http://127.0.0.1:8401/embed. Required when CPERSONA_EMBEDDING_MODE=http. |
CPERSONA_RECALL_MODE | optional | 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.3Add 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: pause_persistence, resume_persistence, persistence_status, get_operating_context, store, recall, recall_with_context, get_contents, ….
- 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