memoir
About
Structured session journals for AI agents. Persistent memory across sessions.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
MEMOIR_MAX_CONTENT MEMOIR_MAX_OUTCOME MEMOIR_MAX_ENTRIES MEMOIR_MAX_SESSIONSClaude Code
claude mcp add --env MEMOIR_MAX_CONTENT= --env MEMOIR_MAX_OUTCOME= --env MEMOIR_MAX_ENTRIES= --env MEMOIR_MAX_SESSIONS= memoir -- npx memoir-mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"memoir","command":"npx","args":["memoir-mcp"],"env":{"MEMOIR_MAX_CONTENT":"","MEMOIR_MAX_OUTCOME":"","MEMOIR_MAX_ENTRIES":"","MEMOIR_MAX_SESSIONS":""}}'
JSON
{
"mcpServers": {
"memoir": {
"command": "npx",
"args": [
"memoir-mcp"
],
"env": {
"MEMOIR_MAX_CONTENT": "",
"MEMOIR_MAX_OUTCOME": "",
"MEMOIR_MAX_ENTRIES": "",
"MEMOIR_MAX_SESSIONS": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.