Memory Vault
v1.7.0Local-first AI memory layer with hybrid search.
Values you need
| Variable | What it is | |
|---|---|---|
DB_HOST | required | Hostname of the Postgres+pgvector instance Memory Vault connects to (e.g. 'host.docker.internal' when Postgres runs on the host, 'localhost' when running natively, or the service name when both run in compose) |
DB_PORT | required | Postgres port Default: 5432 |
DB_NAME | required | Postgres database name Default: memory_vault |
DB_USER | required | Postgres user with read/write access to the memory vault database Default: memory_vault |
DB_PASSWORD | required secret | Postgres password for DB_USER |
Docker discovery passed
Requires Docker
Run in a terminal
claude mcp add memory-vault -e 'DB_HOST=<DB_HOST>' -e DB_NAME=memory_vault -e 'DB_PASSWORD=<DB_PASSWORD>' -e DB_PORT=5432 -e DB_USER=memory_vault -- docker run -i --rm -e DB_HOST -e DB_NAME -e DB_PASSWORD -e DB_PORT -e DB_USER ghcr.io/mihaibuilds/memory-vault-mcp:1.7.0Add to
claude_desktop_config.json{
"mcpServers": {
"memory-vault": {
"args": [
"run",
"-i",
"--rm",
"-e",
"DB_HOST",
"-e",
"DB_NAME",
"-e",
"DB_PASSWORD",
"-e",
"DB_PORT",
"-e",
"DB_USER",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.7.0"
],
"command": "docker",
"env": {
"DB_HOST": "<DB_HOST>",
"DB_NAME": "memory_vault",
"DB_PASSWORD": "<DB_PASSWORD>",
"DB_PORT": "5432",
"DB_USER": "memory_vault"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"memory-vault": {
"args": [
"run",
"-i",
"--rm",
"-e",
"DB_HOST",
"-e",
"DB_NAME",
"-e",
"DB_PASSWORD",
"-e",
"DB_PORT",
"-e",
"DB_USER",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.7.0"
],
"command": "docker",
"env": {
"DB_HOST": "<DB_HOST>",
"DB_NAME": "memory_vault",
"DB_PASSWORD": "<DB_PASSWORD>",
"DB_PORT": "5432",
"DB_USER": "memory_vault"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "DB_HOST",
"id": "db-host",
"password": true,
"type": "promptString"
},
{
"description": "DB_NAME",
"id": "db-name",
"password": true,
"type": "promptString"
},
{
"description": "DB_PASSWORD",
"id": "db-password",
"password": true,
"type": "promptString"
},
{
"description": "DB_PORT",
"id": "db-port",
"password": true,
"type": "promptString"
},
{
"description": "DB_USER",
"id": "db-user",
"password": true,
"type": "promptString"
}
],
"servers": {
"memory-vault": {
"args": [
"run",
"-i",
"--rm",
"-e",
"DB_HOST",
"-e",
"DB_NAME",
"-e",
"DB_PASSWORD",
"-e",
"DB_PORT",
"-e",
"DB_USER",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.7.0"
],
"command": "docker",
"env": {
"DB_HOST": "${input:db-host}",
"DB_NAME": "${input:db-name}",
"DB_PASSWORD": "${input:db-password}",
"DB_PORT": "${input:db-port}",
"DB_USER": "${input:db-user}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.memory-vault]
command = "docker"
args = ["run", "-i", "--rm", "-e", "DB_HOST", "-e", "DB_NAME", "-e", "DB_PASSWORD", "-e", "DB_PORT", "-e", "DB_USER", "ghcr.io/mihaibuilds/memory-vault-mcp:1.7.0"]
env = { "DB_HOST" = "<DB_HOST>", "DB_NAME" = "memory_vault", "DB_PASSWORD" = "<DB_PASSWORD>", "DB_PORT" = "5432", "DB_USER" = "memory_vault" }For AI agents
- Ask the user for: DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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: recall, remember, forget, purge_forgotten, move_memory, memory_status.
- If it fails, check that the required runtime is installed (Docker) and that the values above are set.
Machine-readable: install.md · manifest.json