r3 for VS Code
io.github.n3wth/r3
Local Redis memory MCP for AI apps with hybrid caching and optional Mem0 cloud backup.
client:VS Code
transport:stdio
runtime:npm
Install r3 in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mem0-api-key",
"description": "MEM0_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "redis-url",
"description": "REDIS_URL",
"password": true
}
],
"servers": {
"r3": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@n3wth/r3"
],
"env": {
"MEM0_API_KEY": "${input:mem0-api-key}",
"REDIS_URL": "${input:redis-url}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs