CPersona MCP
CPersona is an open-source MCP server that provides persistent memory for AI agents by storing data in a local SQLite file. It features a 3-layer hybrid search mechanism combining vector, full-text, and keyword search capabilities. The server operates without an LLM in the loop for recall and includes honest reporting when recall degrades. It supports 29 tools for managing agent memories across sessions.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Save project design decisions and reasons for later recall
- Reconstruct recalled items with quotes from stored records
- Maintain persistent memory for AI agents over MCP sessions
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
cpersona 2.5.3
{
"version": "2.5.3",
"transport": "stdio",
"identifier": "cpersona",
"runtimeHint": "uvx",
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"environmentVariables": [
{
"name": "CPERSONA_DB_PATH",
"default": "data/cpersona.db",
"description": "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."
},
{
"name": "CPERSONA_EMBEDDING_MODE",
"default": "none",
"description": "Embedding mode: 'http' to use an embedding server for vector search, 'none' for lexical layers only."
},
{
"name": "CPERSONA_EMBEDDING_URL",
"description": "Embedding server endpoint, e.g. http://127.0.0.1:8401/embed. Required when CPERSONA_EMBEDDING_MODE=http."
},
{
"name": "CPERSONA_RECALL_MODE",
"default": "rrf",
"description": "Recall fusion strategy: 'rrf' (default), 'rsf', or 'cascade'."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"cpersona-mcp": {
"command": "uvx",
"args": [
"cpersona==2.5.3"
],
"env": {
"CPERSONA_DB_PATH": "<YOUR_CPERSONA_DB_PATH>",
"CPERSONA_EMBEDDING_MODE": "<YOUR_CPERSONA_EMBEDDING_MODE>",
"CPERSONA_EMBEDDING_URL": "<YOUR_CPERSONA_EMBEDDING_URL>",
"CPERSONA_RECALL_MODE": "<YOUR_CPERSONA_RECALL_MODE>"
}
}
}
}Cline
{
"mcpServers": {
"cpersona-mcp": {
"command": "uvx",
"args": [
"cpersona==2.5.3"
],
"env": {
"CPERSONA_DB_PATH": "<YOUR_CPERSONA_DB_PATH>",
"CPERSONA_EMBEDDING_MODE": "<YOUR_CPERSONA_EMBEDDING_MODE>",
"CPERSONA_EMBEDDING_URL": "<YOUR_CPERSONA_EMBEDDING_URL>",
"CPERSONA_RECALL_MODE": "<YOUR_CPERSONA_RECALL_MODE>"
}
}
}
}VS Code
{
"servers": {
"cpersona-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"cpersona==2.5.3"
],
"env": {
"CPERSONA_DB_PATH": "<YOUR_CPERSONA_DB_PATH>",
"CPERSONA_EMBEDDING_MODE": "<YOUR_CPERSONA_EMBEDDING_MODE>",
"CPERSONA_EMBEDDING_URL": "<YOUR_CPERSONA_EMBEDDING_URL>",
"CPERSONA_RECALL_MODE": "<YOUR_CPERSONA_RECALL_MODE>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"cpersona-mcp": {
"command": "uvx",
"args": [
"cpersona==2.5.3"
],
"env": {
"CPERSONA_DB_PATH": "<YOUR_CPERSONA_DB_PATH>",
"CPERSONA_EMBEDDING_MODE": "<YOUR_CPERSONA_EMBEDDING_MODE>",
"CPERSONA_EMBEDDING_URL": "<YOUR_CPERSONA_EMBEDDING_URL>",
"CPERSONA_RECALL_MODE": "<YOUR_CPERSONA_RECALL_MODE>"
}
}
}
}Let your agent find its tools
Find servers like CPersona MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.