memory for VS Code
io.github.sharedmemoryai/memory
Persistent memory for AI agents. Remember, recall, and explore a shared knowledge graph.
client:VS Code
transport:stdio
runtime:npm
Install memory in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "sharedmemory-api-key",
"description": "SHAREDMEMORY_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "sharedmemory-api-url",
"description": "SHAREDMEMORY_API_URL",
"password": true
},
{
"type": "promptString",
"id": "sharedmemory-volume-id",
"description": "SHAREDMEMORY_VOLUME_ID",
"password": true
}
],
"servers": {
"memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sharedmemory/mcp-server"
],
"env": {
"SHAREDMEMORY_API_KEY": "${input:sharedmemory-api-key}",
"SHAREDMEMORY_API_URL": "${input:sharedmemory-api-url}",
"SHAREDMEMORY_VOLUME_ID": "${input:sharedmemory-volume-id}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs