Local-first MCP memory server for AI coding agents with compact retrieval and project/global scopes.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add turbo-quant-memory --env TQMEMORY_SECRETS_PASSPHRASE='<TQMEMORY_SECRETS_PASSPHRASE>' -- uvx turbo-quant-memory serve~/.codex/config.toml
[mcp_servers.turbo-quant-memory]
command = "uvx"
args = ["turbo-quant-memory", "serve"]
env = { TQMEMORY_SECRETS_PASSPHRASE = "<TQMEMORY_SECRETS_PASSPHRASE>" }
# codex mcp add turbo-quant-memory --env TQMEMORY_SECRETS_PASSPHRASE='<TQMEMORY_SECRETS_PASSPHRASE>' -- uvx turbo-quant-memory serve~/.cursor/mcp.json
{
"mcpServers": {
"turbo-quant-memory": {
"command": "uvx",
"args": [
"turbo-quant-memory",
"serve"
],
"env": {
"TQMEMORY_SECRETS_PASSPHRASE": "<TQMEMORY_SECRETS_PASSPHRASE>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"turbo-quant-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"turbo-quant-memory",
"serve"
],
"env": {
"TQMEMORY_SECRETS_PASSPHRASE": "<TQMEMORY_SECRETS_PASSPHRASE>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"turbo-quant-memory": {
"command": "uvx",
"args": [
"turbo-quant-memory",
"serve"
],
"env": {
"TQMEMORY_SECRETS_PASSPHRASE": "<TQMEMORY_SECRETS_PASSPHRASE>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"turbo-quant-memory": {
"command": "uvx",
"args": [
"turbo-quant-memory",
"serve"
],
"env": {
"TQMEMORY_SECRETS_PASSPHRASE": "<TQMEMORY_SECRETS_PASSPHRASE>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"turbo-quant-memory": {
"command": "uvx",
"args": [
"turbo-quant-memory",
"serve"
],
"env": {
"TQMEMORY_SECRETS_PASSPHRASE": "<TQMEMORY_SECRETS_PASSPHRASE>"
}
}
}
}Environment variables
TQMEMORY_SECRETS_PASSPHRASE
Replace the placeholders with your own credentials and keep them out of version control.