Memory v2
v2.1.0-alpha.4Local-first memory for AI agents: projects, branches and durable facts in one SQLite file.
Values you need
| Variable | What it is | |
|---|---|---|
MEMORY_API | optional | Base URL of the Memory v2 HTTP API Default: http://127.0.0.1:8002 |
MEMORY_API_TOKEN | optional secret | Bearer token, only needed when the API is not bound to loopback |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add memory-v2 -- uvx memory-v2-mcp==2.1.0a4Add to
claude_desktop_config.json{
"mcpServers": {
"memory-v2": {
"args": [
"memory-v2-mcp==2.1.0a4"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"memory-v2": {
"args": [
"memory-v2-mcp==2.1.0a4"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"memory-v2": {
"args": [
"memory-v2-mcp==2.1.0a4"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.memory-v2]
command = "uvx"
args = ["memory-v2-mcp==2.1.0a4"]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: memory_health, memory_list_projects, memory_create_project, memory_project_context, memory_search, memory_archive_conversation, memory_upsert, memory_get, ….
- 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