Claude, Cursor and VS Code
Give your assistant a memory it keeps between conversations, through MCP.
Memnest speaks MCP, the protocol assistants use to reach outside tools. Connect it once and your assistant can recall what you told it weeks ago, record new facts, and correct what it got wrong — in any conversation, not just the one where you said it.
Set it up
As a plugin, which adds /memnest:memories, /memnest:remember and /memnest:forget alongside the tools:
/plugin marketplace add anidoesdev/MemNest /plugin install memnest@memnest
Or the server on its own:
claude mcp add memnest -- npx -y @memnest/cli mcp --container user:me
In claude_desktop_config.json (Settings → Developer → Edit Config), then quit Claude from the tray and reopen it:
{
"mcpServers": {
"memnest": {
"command": "npx",
"args": ["-y", "@memnest/cli", "mcp", "--container", "user:me"]
}
}
}On Windows, if the server does not appear, give the full path to Node instead of npx: "command": "C:\\Program Files\\nodejs\\node.exe" with the CLI's path as the first argument. Claude Desktop does not always inherit your PATH.
In .cursor/mcp.json for one project, or ~/.cursor/mcp.json for all of them:
{
"mcpServers": {
"memnest": {
"command": "npx",
"args": ["-y", "@memnest/cli", "mcp", "--container", "user:me"]
}
}
}The plugins page has a one-click install link.
In .vscode/mcp.json:
{
"servers": {
"memnest": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@memnest/cli", "mcp", "--container", "user:me"]
}
}
}The plugins page has a one-click install link.
What your assistant can do
| Tool | What it does |
|---|---|
recall | Searches for current facts about a question, inside a token budget. Says how many older facts it left out, and why. |
remember | Stores facts, one sentence each. Exact duplicates are skipped. To record a change it passes the outdated memory's id as supersedes, so the old one becomes history rather than a rival truth. |
ingest | Hands over raw notes or a transcript for Memnest to extract facts from itself. Needs a completion model. |
forget | Stops serving a memory that is wrong. It stays in history. |
history | Where a memory came from and how it changed. |
profile | A short summary of everything durable. Also offered as the resource memnest://profile. |
The server also sends instructions telling the assistant when to recall and how to record a change, so this mostly happens without you asking.
Try it
- Teach it something. "Remember that I deploy on Fridays only after 2pm, and that our staging database is Postgres 16."
- Start a new conversation and ask: "When can I deploy?" It should call
recalland answer from memory. - Change a fact. "We moved staging to MySQL." Ask what staging runs on: you get MySQL, and the Postgres fact is kept as history rather than deleted.
- Correct a mistake. "That's wrong, forget it." See Managing your memories.
Where your memories live
By default in ~/.memnest/memnest.db on your own machine, created on first use. Nothing is sent anywhere. Point several clients at the same container to share one memory between them, or give each its own:
| Setting | Environment | What it does |
|---|---|---|
--container <tag> | MEMNEST_CONTAINER | Whose memory this is. Required. |
--db <path> | MEMNEST_DB | Where the SQLite file lives. |
--database-url <url> | MEMNEST_DATABASE_URL | Use Postgres + pgvector instead, for semantic recall. |
--url <url> | MEMNEST_SERVER_URL | Use a Memnest server, with MEMNEST_KEY. The key's scope sets the container. |
--read-only | MEMNEST_MCP_READ_ONLY | Only recall, history and profile: the assistant can read memory but not change it. |
Share one memory across clients and people
Run a server, create a key scoped to a container, and point every client at it. Then Claude Desktop, Cursor and your own app all see the same memories, and a person can review them in the dashboard.
memnest keys create --name claude --container user:me # printed once{
"mcpServers": {
"memnest": {
"command": "npx",
"args": ["-y", "@memnest/cli", "mcp", "--url", "https://memnest.example.com"],
"env": { "MEMNEST_KEY": "mnk_…" }
}
}
}What the assistant cannot do
- Reach another container. The container comes from your configuration or the API key, never from a tool argument, so text the model reads cannot redirect it at someone else's memory.
- Store a secret. Credentials are redacted before anything is written, and a candidate carrying one is rejected.
- Quietly rewrite the past. Nothing is edited in place. A change writes a new version and keeps the old one; a deletion is recorded.