nan forget for VS Code
io.github.nanmesh/nan-forget
AI that remembers. Local-first cross-session, cross-project long-term memory for coding tools.
client:VS Code
transport:stdio
runtime:npm
Install nan forget in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "openai-api-key",
"description": "OPENAI_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "nan-forget-embedding-provider",
"description": "NAN_FORGET_EMBEDDING_PROVIDER",
"password": true
},
{
"type": "promptString",
"id": "nan-forget-user-id",
"description": "NAN_FORGET_USER_ID",
"password": true
},
{
"type": "promptString",
"id": "nan-forget-project-root",
"description": "NAN_FORGET_PROJECT_ROOT",
"password": true
}
],
"servers": {
"nan-forget": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nan-forget"
],
"env": {
"OPENAI_API_KEY": "${input:openai-api-key}",
"NAN_FORGET_EMBEDDING_PROVIDER": "${input:nan-forget-embedding-provider}",
"NAN_FORGET_USER_ID": "${input:nan-forget-user-id}",
"NAN_FORGET_PROJECT_ROOT": "${input:nan-forget-project-root}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs