Persistent memory for AI coding tools, in an open portable format. Sync Claude, Cursor, Gemini, Copilot, Windsurf + 6 more across machines via MCP. E2E-encrypted sync. MIT.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add memoir -- npx -y memoir-cli~/.codex/config.toml
[mcp_servers.memoir]
command = "npx"
args = ["-y", "memoir-cli"]
# codex mcp add memoir -- npx -y memoir-cli~/.cursor/mcp.json
{
"mcpServers": {
"memoir": {
"command": "npx",
"args": [
"-y",
"memoir-cli"
]
}
}
}.vscode/mcp.json
{
"servers": {
"memoir": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"memoir-cli"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"memoir": {
"command": "npx",
"args": [
"-y",
"memoir-cli"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"memoir": {
"command": "npx",
"args": [
"-y",
"memoir-cli"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"memoir": {
"command": "npx",
"args": [
"-y",
"memoir-cli"
]
}
}
}