Memory v2

v2.1.0-alpha.4
io.github.DonParalon85/memory-v2 Checked 2 days ago Published 3 days ago

Local-first memory for AI agents: projects, branches and durable facts in one SQLite file.

Values you need

VariableWhat it is
MEMORY_APIoptional Base URL of the Memory v2 HTTP API Default: http://127.0.0.1:8002
MEMORY_API_TOKENoptional 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.0a4
Add 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

  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: memory_health, memory_list_projects, memory_create_project, memory_project_context, memory_search, memory_archive_conversation, memory_upsert, memory_get, ….
  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